Database Gateway
@centralmind
About Database Gateway
Universal MCP-Server for your Databases optimized for LLMs and AI-Agents.
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"gateway": {
"command": "docker",
"args": [
"run",
"--platform",
"linux/amd64",
"-p",
"9090:9090",
"\\"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Database Gateway?
Database Gateway (CentralMind Gateway) is a tool that exposes your database to AI agents via the Model Context Protocol (MCP) or OpenAPI 3.1 protocols. It automatically generates secure, LLM-optimized APIs for structured data, making it easy for AI applications to query and interact with databases.
How to use Database Gateway?
Use Docker to run the gateway with a database connection string, or download the binary and run gateway start --config gateway.yaml. For initial API generation, run gateway discover with an AI provider (e.g., Gemini) and a connection string, then use the generated YAML configuration to start the server.
Key features of Database Gateway
- Automatic API generation using LLMs based on table schema and sampled data
- Supports PostgreSQL, MySQL, ClickHouse, Snowflake, MSSQL, BigQuery, Oracle, SQLite, ElasticSearch
- Provides APIs as REST or MCP Server including SSE mode
- Built-in authentication with API keys and OAuth
- PII protection via regex or Microsoft Presidio plugin
- Comprehensive monitoring with OpenTelemetry integration
- Supports self-hosted LLMs and multiple AI providers (OpenAI, Anthropic, Bedrock, Gemini, VertexAI)
- Row-level security via Lua scripts and LRU/time-based caching
Use cases of Database Gateway
- Enable AI agents to query, create, or adjust data in your database during development
- Chat with your database or data warehouse for analytical scenarios
- Enrich AI applications like LangChain, OpenAI, Claude Desktop, and Cursor with live database data
FAQ from Database Gateway
What databases does Database Gateway support?
It supports PostgreSQL, MySQL, ClickHouse, Snowflake, Microsoft SQL Server, BigQuery, Oracle Database, SQLite, and ElasticSearch.
How do I get started with Database Gateway?
Install via Docker or binary, connect to your database, run the discover command with an AI provider and your connection string, then start the server with the generated YAML configuration.
Does Database Gateway support authentication and security?
Yes. It has built-in API key and OAuth authentication, PII redaction plugins, row-level security via Lua scripts, and monitoring through OpenTelemetry for audit trails.
Can I run Database Gateway locally or on-premises?
Yes. It supports local and on-premises deployment via standalone binary, Docker, or Kubernetes, and works with self-hosted LLMs through configurable AI endpoints.
Does Database Gateway provide API documentation?
Yes. It automatically generates Swagger UI documentation and an OpenAPI 3.1.0 specification for all created endpoints.
More Databases MCP servers
MongoDB Lens
fureyππ MongoDB Lens: Full Featured MCP Server for MongoDB Databases
Sail MCP Server for Spark SQL
lakehqDrop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.
Elasticsearch MCP Server
elasticMongoDB MCP Server
mongodb-jsA Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
Chroma MCP Server
chroma-coreA Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma
Comments