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.
| Field | MongoDB | PostgreSQL |
|---|---|---|
| Description | The MCP servers README says both MongoDB Community Server and MongoDB Atlas are supported. | Archived reference server for read-only SQL against PostgreSQL, including schema inspection. |
| Category | Data and databases | Data and databases |
| Publisher class | Vendor. Repository owner mongodb-js is the company that publishes this listing. source | Reference. Repository owner is modelcontextprotocol. This is a reference or example server. Archived status is a separate field on the listing. source |
| Status | Listed in the MCP servers README integrations, outside the Archived section. source | Archived reference server. The MCP servers README lists PostgreSQL under Archived, at servers-archived. source |
| 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 | Local stdio. NPX runs npx -y @modelcontextprotocol/server-postgres with a postgresql:// URL argument. Docker is also documented. No remote endpoint is shown. source |
| 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 | 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 |
| Tool coverage | The Supported Tools section lists MongoDB Database Tools, MongoDB Atlas Tools, and MongoDB Assistant Tools. source | One tool, query, runs read-only SQL. Resources expose each table schema. source |
| Hosting | The README calls the Atlas plugin path a MongoDB-hosted Atlas MCP server. The npx path runs locally. source | The README shows local npx and Docker commands. source |
| Last checked | 2026-10-19 source | 2026-10-19 source |
| Listing link | https://github.com/mongodb-js/mongodb-mcp-server | https://github.com/modelcontextprotocol/servers-archived/tree/main/src/postgres |
| Repository | https://github.com/mongodb-js/mongodb-mcp-server | https://github.com/modelcontextprotocol/servers-archived |
| Homepage | Not listed | Not listed |
| Source | https://github.com/modelcontextprotocol/servers/blob/e6b0b0f5d355530ebdd09bc547240e556fbc6c19/README.md | https://github.com/modelcontextprotocol/servers/blob/main/README.md |
Connect it: MongoDB
Not listed
Connect it: PostgreSQL
Not listed