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.

#ServerSecurity scoreStarsLanguageConfig
1

Use the TypeScript-based server to generate index-aware code and configurations for your project.

6371TypeScript
2

Query, inspect, and manage MongoDB database collections via natural language commands.

601,127TypeScript
3

SQL databases and schema exploration accessible to MCP-compatible AI clients.

583,503TypeScript
4

Sync project files and execute commands on remote servers through an AI-powered connection.

58478JavaScript
5

Leverage a TypeScript-based architecture that simplifies complex Admin API queries into single, readable calls.

5857TypeScript
6

Access PostgreSQL manuals and curated best practices for enhanced AI-generated schemas.

551,835Python
7

Next.js and Nuxt API routes for Model Context Protocol communication.

55668TypeScript
8

Identify duplicates and manage photo keywords directly within your development environment using simple text queries.

5520JavaScript
9

Manage Coolify infrastructure and deployments through natural language commands.

53590TypeScript
10

GraphQL API schema introspection and query execution for your LLM assistant.

53406TypeScript
11

Manage and query SQL databases from your IDE by installing the specific language package for your engine.

535Python
12

Implements a modular architecture with an error handler interceptor for stable operations.

531TypeScript
13

Manage Render.com services, deployments, and logs directly from your AI assistant.

5017TypeScript
14

Use TypeScript-based server tools for database introspection during your development cycle.

485TypeScript
15

Leverage connection pooling and schema caching to optimize database queries within your development environment.

482TypeScript
16

Access database statistics and performance metrics to debug your application's data layer.

450TypeScript
17

Apple Health data querying via SQL using DuckDB for local analysis.

40567TypeScript
18

Access simplified SAP HANA developer workflows specifically designed for non-SAP integrated environments.

36111JavaScript
19

Local git repository analysis and semantic search using Ollama embedding models.

3426TypeScript
20

PostgreSQL database schemas and read-only query execution for AI assistants.

31296JavaScript

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.