Database Gateway
Universal MCP-Server for your Databases optimized for LLMs and AI-Agents.
Overview
CentralMind Gateway is an open-source tool designed to generate secure, AI-optimized APIs from your structured databases, ensuring compliance with data protection regulations.
To use CentralMind Gateway, connect it to your structured database, configure the connection settings, and run the discovery command to generate the API configuration. You can then deploy the API using various options like Docker or standalone binaries.
- Automatic API generation based on database schema and data samples. - Support for multiple databases including PostgreSQL, MySQL, and Snowflake. - Built-in PII protection and compliance features. - Auto-generated API documentation with Swagger and OpenAPI specifications. - Flexible deployment options including Docker and Kubernetes.
- Enabling secure access to customer data for AI-driven applications.
- Generating APIs for analytics tools without exposing direct database access.
- Supporting AI models in customer support scenarios with optimized data access.
Add to your AI client
Use these steps to connect Database Gateway in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"gateway-centralmind": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gateway-centralmind"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"gateway-centralmind": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gateway-centralmind"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"gateway-centralmind": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gateway-centralmind"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"gateway-centralmind": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gateway-centralmind"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gateway-centralmind": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gateway-centralmind"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"gateway-centralmind": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-gateway-centralmind"
]
}
}
}FAQ
Can CentralMind Gateway handle all types of databases?
Currently, it supports PostgreSQL, MySQL, ClickHouse, and Snowflake, with plans for more integrations.
Is there a cost associated with using CentralMind Gateway?
No, CentralMind Gateway is open-source and free to use.
How does CentralMind Gateway ensure data security?
It filters out PII and sensitive data, ensuring compliance with GDPR and other regulations.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2352,"uuid":"380cec64-ed0c-456c-925e-d7d65460b851","name":"gateway","title":"Database Gateway ","description":"Universal MCP-Server for your Databases optimized for LLMs and AI-Agents.","avatar_url":"https://avatars.githubusercontent.com/u/167236369?v=4","created_at":"2025-03-12T10:48:00.066Z","updated_at":"2025-06-13T20:15:40.611Z","status":"created","author_name":"centralmind","author_avatar_url":"https://avatars.githubusercontent.com/u/167236369?v=4","tags":"api,golang,elasticsearch,rest-api,clickhouse,mcp,postgresql,snowflake,openai,mysql-database,oracle-database,automatic-api,duckdb,supabase,llm,anthropic-claude,google-vertex-ai,amazon-bedrock","category":null,"is_featured":false,"sort":1,"url":"https://github.com/centralmind/gateway","target":"_self","content":"$29","summary":"$2a","img_url":"https://github.com/centralmind/gateway/actions/workflows/build-binaries.yml/badge.svg","type":"server","metadata":"{\"star\":\"368\",\"license\":\"Apache-2.0 license\",\"language\":\"Go\",\"is_official\":false,\"latest_commit_time\":\"2025-05-31 20:39:48\"}","user_uuid":"52c15864-190a-4f3a-8f92-743d31f905ea","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":"","allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]