Can VS Code & GitHub Copilot use MongoDB?
Updated October 27, 2026 · from live checks of 50,180 MCP servers · Methodology
Official MongoDB route
MongoDB runs its own MCP server.
- In the official MCP Registry: Yes,
io.github.mongodb-js/mongodb-mcp-server.
Spotted something out of date? Tell us → Live status and tools →
Built a third-party MongoDB MCP server? Get the Verified vendor label so buyers can tell yours from the other 18 ($49/mo) Get Verified →
Remote MongoDB servers
| Server | Publisher | Status | Sign-in | Tools | Trust |
|---|---|---|---|---|---|
| Rabbitmq Elasticsearch Mongodb Stack Generator Yours? Claim it | Registry domain | Live | No auth | 2 | B |
| Rabbitmq Postgres Mongodb Stack Generator Yours? Claim it | Registry domain | Live | No auth | 2 | B |
| Elasticsearch Mongodb Redis Stack Generator Elasticsearch Elasticsearch Yours? Claim it | Registry domain | Live | No auth | 2 | B |
| Memcached Mongodb Redis Compose Generator Yours? Claim it | Registry domain | Live | No auth | 2 | B |
| Tenantsdb Yours? Claim it | Registry domain | Live · sign-in | OAuth sign-in | — | C |
| Mongo URL Shape Yours? Claim it | Community | Live | No auth | 31 | C |
Local MongoDB servers
| Server | Publisher | Status | Sign-in | Tools | Trust |
|---|---|---|---|---|---|
| Mongodb MCP Server Yours? Claim it | Official | Local install | API key | — | B |
| Argon Yours? Claim it | Community | Local install | No auth | — | B |
| Mcpolyglot Yours? Claim it | Community | Local install | No auth | — | C |
| SafeSelect MCP Yours? Claim it | Community | Local install | No auth | — | C |
| Db Gateway Yours? Claim it | Community | Local install | API key | — | C |
| MCP DB Connect Yours? Claim it | Community | Local install | API key | — | C |
| Custom MCP Database Yours? Claim it | Community | Local install | No auth | — | C |
| Databases (read-only, switchable) Yours? Claim it | Community | Local install | API key | — | C |
How to add MongoDB to VS Code & GitHub Copilot
- Open the Command Palette and run MCP: Add Server. Choose HTTP for a server URL or Command (stdio) for a local install command.
- Or edit
.vscode/mcp.jsonin your workspace: VS Code’s format puts servers under a top-level"servers"object (remote:"type": "http"+"url"; local:"type": "stdio"+"command"). Portable Copilot files (.mcp.json,~/.copilot/mcp-config.json) use"mcpServers"instead, so don’t copy between them unchecked. - Sign in if the server asks, then use its tools in Copilot agent chat.
Example for Rabbitmq Elasticsearch Mongodb Stack Generator (from the table above), in .vscode/mcp.json:
{
"servers": {
"mongodb": {
"type": "http",
"url": "https://rabbitmq-elasticsearch-mongodb-stack-generator.getvda.ai/mcp"
}
}
}Menus change, so check the VS Code MCP configuration reference. Every server page has a copy-paste config for VS Code & GitHub Copilot.
Is it safe to connect MongoDB to VS Code & GitHub Copilot?
Use the official server run by MongoDB. Anything a tool returns is sent to the AI vendor, so use a business plan that doesn't train on your data.
Can ChatGPT or Claude connect to MongoDB?
See https://canmyaiuse.pages.dev/can/chatgpt/mongodb/ and https://canmyaiuse.pages.dev/can/claude/mongodb/
Does MongoDB have an official MCP server?
Yes: Mongodb MCP Server (io.github.mongodb-js/mongodb-mcp-server), published by MongoDB in the official MCP Registry. Full list: https://canmyaiuse.pages.dev/apps/mongodb/
Put your server here
Featured placement on MongoDB and other Databases & Data pages, where people check whether their AI can connect.
Featured placements are paid and labelled. They never change rank. How we rank · How to get discovered (free guide)
Built a third-party MongoDB MCP server? Get the “Verified vendor ✓” label so buyers can tell yours from the other 18. Get Verified — $49/mo
All MongoDB servers: MongoDB MCP servers · ChatGPT · Claude · Best MCP servers for VS Code & GitHub Copilot