Best Databases MCP Servers for VS Code
Top 20 of 26 Databases MCP servers that work with VS Code, ranked by security score — every entry below is human-reviewed, not just scraped. Every row has a one-click config for VS Code — no need to open each page.
Setting up MCP servers in VS Code
VS Code's MCP support is native (via GitHub Copilot's agent mode), configured in .vscode/mcp.json per workspace or through the "MCP: Open User Configuration" command for a config that applies everywhere. One thing that trips people up moving a config from Claude Desktop or Cursor: VS Code's top-level key is "servers", not "mcpServers" — the two aren't interchangeable.
Because .vscode/mcp.json is a normal workspace file, it can be committed alongside project code the same way project-scoped Cursor configs can — a team opening the repo in VS Code gets the same MCP servers without extra setup.
| # | Server | Security score | Stars | Language | Config |
|---|---|---|---|---|---|
| 1 | Pinecone MCP ServerOfficial Use the TypeScript-based server to generate index-aware code and configurations for your project. | 63 | 71 | TypeScript | |
| 2 | Query, inspect, and manage MongoDB database collections via natural language commands. | 60 | 1,127 | TypeScript | |
| 3 | SQL databases and schema exploration accessible to MCP-compatible AI clients. | 58 | 3,503 | TypeScript | |
| 4 | Sync project files and execute commands on remote servers through an AI-powered connection. | 58 | 478 | JavaScript | |
| 5 | Leverage a TypeScript-based architecture that simplifies complex Admin API queries into single, readable calls. | 58 | 57 | TypeScript | |
| 6 | Access PostgreSQL manuals and curated best practices for enhanced AI-generated schemas. | 55 | 1,835 | Python | |
| 7 | Next.js and Nuxt API routes for Model Context Protocol communication. | 55 | 668 | TypeScript | |
| 8 | Identify duplicates and manage photo keywords directly within your development environment using simple text queries. | 55 | 20 | JavaScript | |
| 9 | Manage Coolify infrastructure and deployments through natural language commands. | 53 | 590 | TypeScript | |
| 10 | GraphQL API schema introspection and query execution for your LLM assistant. | 53 | 406 | TypeScript | |
| 11 | Manage and query SQL databases from your IDE by installing the specific language package for your engine. | 53 | 5 | Python | |
| 12 | Implements a modular architecture with an error handler interceptor for stable operations. | 53 | 1 | TypeScript | |
| 13 | Manage Render.com services, deployments, and logs directly from your AI assistant. | 50 | 17 | TypeScript | |
| 14 | Use TypeScript-based server tools for database introspection during your development cycle. | 48 | 5 | TypeScript | |
| 15 | Leverage connection pooling and schema caching to optimize database queries within your development environment. | 48 | 2 | TypeScript | |
| 16 | Access database statistics and performance metrics to debug your application's data layer. | 45 | 0 | TypeScript | |
| 17 | Apple Health data querying via SQL using DuckDB for local analysis. | 40 | 567 | TypeScript | |
| 18 | Access simplified SAP HANA developer workflows specifically designed for non-SAP integrated environments. | 36 | 111 | JavaScript | |
| 19 | Local git repository analysis and semantic search using Ollama embedding models. | 34 | 26 | TypeScript | |
| 20 | PostgreSQL MCP ServerOfficial PostgreSQL database schemas and read-only query execution for AI assistants. | 31 | 296 | JavaScript |
Databases + VS Code: frequently asked questions
›What's the best Databases MCP server for VS Code?
Pinecone MCP Server currently ranks highest among Databases MCP servers, with a security score of 63/100, officially maintained by the vendor. MongoDB MCP Server (60/100) is the next best option. Every server below has a one-click VS Code config.
›How do I add a Databases MCP server to VS Code?
Add an entry under "servers" in .vscode/mcp.json in your workspace, or run "MCP: Open User Configuration" from the command palette for a global config. The same steps apply to Pinecone MCP Server, the top-ranked Databases server below.
›Are Databases MCP servers safe to use with VS Code?
4 of the 26 Databases MCP servers below are officially maintained by its vendor; the rest are independently reviewed. Every score comes from real signals — permissions requested, authentication, maintenance activity — not a marketing claim. All of them are compatible with VS Code.
›How many Databases MCP servers work with VS Code?
26 Databases MCP servers have a ready-to-use VS Code config right now, ranked by security score below.
›Where do I put the Databases MCP server config for VS Code?
It's simply VS Code's own schema — Claude Desktop, Cursor, and Windsurf all use "mcpServers", but a config copied between them and VS Code needs that one key renamed. A Databases server goes in the exact same place as any other VS Code MCP server — there's no category-specific config location.
›Do I need to restart VS Code after adding a Databases MCP server?
Yes — run "MCP: Open User Configuration" from the command palette to edit a config that applies across all your workspaces. That's true whether you're adding Pinecone MCP Server or any other Databases server.