Generates REST and MCP interfaces from database schemas and sampled data for AI-assisted data access.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Gateway.
The centralmind/gateway MCP server exposes structured database data to AI agents through Model Context Protocol or generated REST APIs. It can also publish an OpenAPI 3.1 specification and Swagger documentation for the generated interface. The project is intended for development workflows where an LLM needs to query or modify database data, analytical use cases such as chatting with a warehouse, and agent applications that call database-backed functions.
Supported database connectors listed by the project include PostgreSQL, MySQL, ClickHouse, Snowflake, BigQuery, MSSQL, Oracle Database, SQLite, and Elasticsearch. The generated interface can be served through MCP, MCP over SSE, REST, or direct and raw SQL API modes.
At startup, the gateway connects to a database, reads its schema, and examines sampled data. A configured LLM provider uses that information and a supplied prompt to create an API configuration designed for the available data. According to the project documentation, the LLM is used during discovery rather than for every database request.
The resulting service can run locally, in Docker, or in Kubernetes. A typical Docker deployment listens on port 9090, exposes an MCP SSE endpoint at /sse, and provides a REST interface with Swagger UI at the root URL. Clients can then connect through MCP or call the generated HTTP API.
The repository can be built from source with Go by cloning the project, downloading its modules, and running go build .. The README also demonstrates a Docker image hosted at ghcr.io/centralmind/gateway, started with the start subcommand and a database connection string.
API generation requires configuration for one of the documented AI providers: OpenAI-compatible services, Anthropic, Amazon Bedrock, Google Vertex AI through Anthropic, or Google Gemini. Provider authorization is configured separately; the README shows a Gemini API key as one example. Database connection details are supplied through the gateway configuration or startup arguments.
YAML configuration and plugins control customization. Deployment documentation covers standalone binaries, Docker, and Kubernetes. The project also documents integrations with Claude Desktop, Cursor, LangChain, and OpenAI-based applications.
The centralmind/gateway MCP server depends on access to a supported database and an AI provider for API discovery. The README describes a free Gemini tier, but other provider configurations may involve their own credentials or costs. Security controls such as PII filtering, authentication, row-level security, and telemetry are available as configuration features; they still need to be configured for the deployment.
The generated API reflects the schema and sampled data available during discovery. Changes to database structure or desired access rules may require regenerating or updating the configuration. The project documentation should be consulted for connector-specific options and deployment details.
Always refer to the official documentation for the most accurate and up-to-date information.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/centralmind-gateway)<a href="https://allmcps.com/mcp/centralmind-gateway"><img src="https://allmcps.com/api/badge/centralmind-gateway?style=directory" alt="Gateway on AllMCPs" /></a>