Database Administrator Stack for Continue
Configuration
mcpServers:
- name: postgres-mcp
command: npx
args:
- -y
- @modelcontextprotocol/server-postgres
- postgresql://localhost/mydb
env:
POSTGRES_CONNECTION_STRING: YOUR_POSTGRES_CONNECTION_STRING
- name: mongodb-mcp
command: npx
args:
- -y
- mongodb-mcp
env:
MONGODB_URI: YOUR_MONGODB_URI
- name: mysql-mcp
command: npx
args:
- -y
- mysql-mcp
env:
MYSQL_HOST: YOUR_MYSQL_HOST
MYSQL_USER: YOUR_MYSQL_USER
MYSQL_PASSWORD: YOUR_MYSQL_PASSWORD
MYSQL_DATABASE: YOUR_MYSQL_DATABASE
- name: redis-mcp
command: npx
args:
- -y
- redis-mcp
env:
REDIS_URL: YOUR_REDIS_URL
- name: sqlite-mcp
command: npx
args:
- -y
- sqlite-mcp
- name: neon-mcp
command: npx
args:
- -y
- @neondatabase/mcp-server-neon
env:
NEON_API_KEY: YOUR_NEON_API_KEYWhere to save
Paste the config above into:
~/.continue/config.yamlEnvironment Variables
Replace the YOUR_ placeholders with your actual values.
POSTGRES_CONNECTION_STRINGrequiredPostgreSQL connection string (e.g. postgresql://user:pass@localhost:5432/mydb)
Used by: PostgreSQL MCP
MONGODB_URIrequiredMongoDB connection URI
Used by: MongoDB MCP
MYSQL_HOSTrequiredMySQL host
Used by: MySQL MCP
MYSQL_USERrequiredMySQL username
Used by: MySQL MCP
MYSQL_PASSWORDrequiredMySQL password
Used by: MySQL MCP
MYSQL_DATABASErequiredMySQL database name
Used by: MySQL MCP
REDIS_URLrequiredRedis connection URL
Used by: Redis MCP
NEON_API_KEYrequiredNeon API key for authentication
Used by: Neon MCP
What’s in this stack
Query and interact with PostgreSQL databases, inspect schemas, and run SQL directly from your AI editor.
Manages your primary relational database with query optimization, schema migrations, and performance tuning.
Query MongoDB databases, inspect collections, and analyze documents directly from your AI editor.
Administers document collections, indexes, and aggregation pipelines for your NoSQL workloads.
Execute SQL queries against MySQL databases. Inspect schemas, run queries, and analyze data from your AI editor.
Maintains legacy and enterprise MySQL instances that power critical business applications.
Interact with Redis databases. Get, set, and manage keys, run commands, and monitor your Redis instances from your AI editor.
Configures caching layers, session stores, and pub/sub channels for low-latency data access.
Query and manage SQLite databases. Create tables, run queries, and inspect data directly from your AI editor.
Handles embedded databases for local development, testing, and lightweight application storage.
Manage Neon serverless Postgres projects, branches, databases, and run SQL queries and migrations directly from your AI editor.
Provisions serverless Postgres branches for safe schema testing without touching production data.