gateway
CentralMind Gateway is a tool designed to expose databases to AI agents via MCP or OpenAPI 3.1 protocols, providing secure, LLM-optimized APIs.
CentralMind Gateway is a powerful tool that allows developers to create an API or MCP server in minutes, providing a seamless way to expose databases to AI agents. It supports multiple database types and protocols, ensuring fast and secure access to data. The gateway automatically generates APIs optimized for AI workloads, filtering out sensitive data to comply with regulations like GDPR and SOC 2. It also offers traceability and auditing capabilities, making it easier for security teams to maintain control. With support for various AI providers and deployment options, CentralMind Gateway is a versatile solution for integrating AI with structured data.
Features
- ⚡ Automatic API Generation – Creates APIs automatically using LLM based on table schema and sampled data
- 🗄️ Structured Database Support – Supports PostgreSQL, MySQL, ClickHouse, Snowflake, MSSQL, BigQuery, Oracle Database, SQLite, ElasticSearch
- 🌍 Multiple Protocol Support – Provides APIs as REST or MCP Server including SSE mode
- 🔒 PII Protection – Implements regex or Microsoft Presidio plugin for PII and sensitive data redaction
- 🔑 Row-Level Security (RLS) – Fine-grained data access control using Lua scripts
Usage with Different Platforms
docker
bash
docker run --platform linux/amd64 -p 9090:9090 \
ghcr.io/centralmind/gateway:v0.2.14 start \
--connection-string "postgres://db-user:db-password@db-host/db-name?sslmode=require"
local
shell
./gateway start --config gateway.yaml
docker_compose
shell
docker compose -f ./example/simple/docker-compose.yml up
mcp_protocol_integration
{
"mcpServers": {
"gateway": {
"command": "PATH_TO_GATEWAY_BINARY",
"args": ["start", "--config", "PATH_TO_GATEWAY_YAML_CONFIG", "mcp-stdio"]
}
}
}
Related MCP Servers
View all databases servers →prisma
by prisma
Prisma is a next-generation ORM for Node.js and TypeScript, providing tools for data modeling, migrations, and querying databases.
mindsdb
by mindsdb
MindsDB has an MCP server built in that enables your MCP applications to connect, unify and respond to questions over large-scale federated data.
supabase-mcp
by supabase-community
The Supabase MCP Server connects Supabase projects to AI assistants like Cursor, Claude, and Windsurf, enabling them to manage tables, fetch configurations, and query data using the Model Context Protocol.
mariadb-mcp-server
by rjsalgado
This MCP server provides access to MariaDB / MySQL databases, allowing users to list databases, tables, describe table schemas, and execute SQL queries with security features.
postgres-mcp
by crystaldba
Postgres MCP Pro is an open-source Model Context Protocol server designed to enhance database performance and management through advanced tools and features.
mcp-notion-server
by suekou
MCP Server for the Notion API, enabling LLM to interact with Notion workspaces. Additionally, it employs Markdown conversion to reduce context size when communicating with LLMs, optimizing token usage and making interactions more efficient.
genai-toolbox
by googleapis
MCP Toolbox for Databases is an open source MCP server for databases, designed to simplify the development of tools by managing complexities like connection pooling and authentication.