---
title: "MongoDB MCP server vs PostgreSQL MCP server"
url: "https://agentconnectors.dev/compare/mongodb-vs-postgresql"
updated: "2026-10-14"
source_url: "https://agentconnectors.dev/about"
---

# MongoDB MCP server vs PostgreSQL MCP server

MongoDB MCP server and PostgreSQL MCP server are MCP implementations in Data and databases. Publisher class, status, transport, auth, tool coverage, hosting, and last checked appear only with a source. A field without one says Not documented upstream. This page is not a ranking. PostgreSQL is an archived reference server in this directory.

Each listing's source URL is in its section. source_url above is the about page, which explains how this directory chooses listings.

Paid placements are labelled Featured or Sponsored. An Enriched badge means we applied the owner-supplied description and links after a link check on those URLs. Ownership confirmation is optional. It does not mean functionality testing, a security audit, an endorsement, a ranking, or guaranteed traffic, leads, citations, or revenue.

## MongoDB

- Name: MongoDB
- Category: [Data and databases](https://agentconnectors.dev/categories/data)
- Description: The MCP servers README says both MongoDB Community Server and MongoDB Atlas are supported.
- Source: https://github.com/modelcontextprotocol/servers/blob/e6b0b0f5d355530ebdd09bc547240e556fbc6c19/README.md
- Listing: https://github.com/mongodb-js/mongodb-mcp-server
- Repository: https://github.com/mongodb-js/mongodb-mcp-server
- Homepage: Not listed
- Publisher class: Vendor. Repository owner mongodb-js is the company that publishes this listing. Source: https://github.com/mongodb-js/mongodb-mcp-server
- Status: Listed in the MCP servers README integrations, outside the Archived section. Source: https://github.com/modelcontextprotocol/servers/blob/e6b0b0f5d355530ebdd09bc547240e556fbc6c19/README.md
- Transport: Local stdio via npx mongodb-mcp-server. The mongodb-atlas plugin connects to the MongoDB-hosted Atlas MCP server over OAuth and does not run locally. A separate stdio server, mongodb-atlas-mcp-remote, is also documented. Source: https://github.com/mongodb-js/mongodb-mcp-server/blob/main/README.md
- Auth: Local setup uses the environment variable MDB_MCP_CONNECTION_STRING. The Atlas plugin uses OAuth. The mongodb-atlas-mcp-remote stdio server uses MDB_MCP_API_CLIENT_ID and MDB_MCP_API_CLIENT_SECRET. Source: https://github.com/mongodb-js/mongodb-mcp-server/blob/main/README.md
- Tool coverage: The Supported Tools section lists MongoDB Database Tools, MongoDB Atlas Tools, and MongoDB Assistant Tools. Source: https://github.com/mongodb-js/mongodb-mcp-server/blob/main/README.md
- Hosting: The README calls the Atlas plugin path a MongoDB-hosted Atlas MCP server. The npx path runs locally. Source: https://github.com/mongodb-js/mongodb-mcp-server/blob/main/README.md
- Last checked: 2026-10-19 Source: https://github.com/mongodb-js/mongodb-mcp-server/blob/main/README.md
- Labels: none.
- Page: https://agentconnectors.dev/tools/mongodb

## PostgreSQL

- Name: PostgreSQL
- Category: [Data and databases](https://agentconnectors.dev/categories/data)
- Description: Archived reference server for read-only SQL against PostgreSQL, including schema inspection.
- Source: https://github.com/modelcontextprotocol/servers/blob/main/README.md
- Listing: https://github.com/modelcontextprotocol/servers-archived/tree/main/src/postgres
- Repository: https://github.com/modelcontextprotocol/servers-archived
- Homepage: Not listed
- Publisher class: Reference. Repository owner is modelcontextprotocol. This is a reference or example server. Archived status is a separate field on the listing. Source: https://github.com/modelcontextprotocol/servers-archived
- Status: Archived reference server. The MCP servers README lists PostgreSQL under Archived, at servers-archived. Source: https://github.com/modelcontextprotocol/servers/blob/main/README.md
- Transport: Local stdio. NPX runs npx -y @modelcontextprotocol/server-postgres with a postgresql:// URL argument. Docker is also documented. No remote endpoint is shown. Source: https://github.com/modelcontextprotocol/servers-archived/blob/main/src/postgres/README.md
- Auth: The README passes the PostgreSQL URL as a command argument, including an optional user and password in that URL. It does not name an environment variable. Source: https://github.com/modelcontextprotocol/servers-archived/blob/main/src/postgres/README.md
- Tool coverage: One tool, query, runs read-only SQL. Resources expose each table schema. Source: https://github.com/modelcontextprotocol/servers-archived/blob/main/src/postgres/README.md
- Hosting: The README shows local npx and Docker commands. Source: https://github.com/modelcontextprotocol/servers-archived/blob/main/src/postgres/README.md
- Last checked: 2026-10-19 Source: https://github.com/modelcontextprotocol/servers-archived/blob/main/src/postgres/README.md
- Labels: none.
- Page: https://agentconnectors.dev/tools/postgresql
