Best Databases MCP Servers for VS Code

Top 18 of 18 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

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

601,087TypeScript
2

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

583,231TypeScript
3

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

54403TypeScript
4

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

53431JavaScript
5

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

501,797Python
6

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

50629TypeScript
7

Manage Coolify infrastructure and deployments through natural language commands.

48524TypeScript
8

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

4517TypeScript
9

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

35555TypeScript
10

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

3425TypeScript
11

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

31293JavaScript
12

Execute SELECT queries and inspect database schemas directly from Claude Desktop.

250TypeScript
13

Build and run the server locally using pnpm for direct environment integration.

231,030TypeScript
14

Airtable records and schema access for LLMs using read and write operations.

18455TypeScript
15

Firestore, Storage, and Auth management for AI assistants via service accounts.

9247TypeScript
16

Vector-based documentation search and indexing for AI-driven knowledge retrieval.

3265TypeScript
17

Redis key-value store interactions for LLMs using set, get, delete, and list operations.

0293JavaScript
18

PostgreSQL database operations for AI models including querying and schema inspection.

016JavaScript

Databases + VS Code: frequently asked questions

What's the best Databases MCP server for VS Code?

MongoDB MCP Server currently ranks highest among Databases MCP servers, with a security score of 60/100. DBHub MCP Server (58/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 MongoDB MCP Server, the top-ranked Databases server below.

Are Databases MCP servers safe to use with VS Code?

2 of the 18 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?

18 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 MongoDB MCP Server or any other Databases server.