Best Databases MCP Servers for Cursor
Connect databases tools to Cursor using MCP servers. These servers let Cursor interact with databases resources, enabling powerful AI-assisted workflows for developers.
7 Databases Servers for Cursor
SQLite
Embedded SQL database operations
5,410 starsnpm
PostgreSQL
PostgreSQL database integration
5,410 starsnpm
MongoDB Official
Official MongoDB integration with Atlas and database operations
380 starsnpm
Redis
In-memory data structure store
340 starspip
Elasticsearch
Full-text search and analytics engine
420 starspip
Supabase MCP
Postgres database, auth, and storage management via Supabase
2,700 starsnpm
MindsDB MCP
Unified data access and AI model management via MindsDB
39,000 starspip
Cursor Configuration
Add databases MCP servers to your Cursor configuration at .cursor/mcp.json:
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "."]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "ghp_your_token_here"
}
},
"postgres": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-postgres", "postgresql://localhost:5432/mydb"]
},
"brave-search": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-brave-search"],
"env": {
"BRAVE_API_KEY": "your_brave_api_key_here"
}
},
"memory": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-memory"]
}
}
}