MCP and MCP SSE Server that automatically generate API based on database schema and data. Supports PostgreSQL, Clickhouse, MySQL, Snowflake, BigQuery, Supabase
CentralMind Gateway is a revolutionary solution designed to bridge the gap between your structured data and the world of AI agents and LLM-powered applications. It provides a streamlined, secure, and optimized pathway for AI to access and leverage your valuable data assets. Forget complex API configurations and potential security vulnerabilities – CentralMind Gateway empowers you to create robust API or Model Context Protocol (MCP) servers in minutes.
🚀 Interactive Demo: Experience the power firsthand with our GitHub Codespaces demo:
AI agents thrive on data, but traditional APIs and direct database access pose significant challenges:
CentralMind Gateway addresses these challenges head-on by providing an intelligent API layer that automates the creation of secure, LLM-optimized APIs for your structured data.
Key Benefits:
Deploy CentralMind Gateway with a single Docker command:
docker run --platform linux/amd64 -p 9090:9090 \ ghcr.io/centralmind/gateway:v0.2.6 start \ --connection-string "postgres://db-user:db-password@db-host/db-name?sslmode=require"
This command instantly creates an API endpoint and an MCP server, ready for integration with your AI agents:
INFO Gateway server started successfully! INFO MCP SSE server for AI agents is running at: http://localhost:9090/sse INFO REST API with Swagger UI is available at: http://localhost:9090/
CentralMind Gateway is packed with features designed to empower your AI initiatives:
CentralMind Gateway leverages the power of LLMs to automate API configuration. Here's how:
Choose an AI Provider: Select from supported providers like OpenAI, Anthropic, Amazon Bedrock, Google Gemini, or Google Vertex AI. Google Gemini offers a generous free tier for development and testing.
Configure Authentication: Set up the necessary API keys or credentials for your chosen provider.
Run the Discovery Command: Execute the gateway discover
command, specifying the AI provider, connection string, and a prompt describing the desired API.
./gateway discover \ --ai-provider gemini \ --connection-string "postgresql://neondb_owner:MY_PASSWORD@MY_HOST.neon.tech/neondb?sslmode=require" \ --prompt "Generate for me awesome readonly API"
Review the Generated Configuration: Examine the gateway.yaml
file to understand the generated API endpoints, parameters, and queries.
Locally:
./gateway start --config gateway.yaml rest
Docker Compose:
docker compose -f ./example/simple/docker-compose.yml up
CentralMind Gateway fully supports the Model Context Protocol (MCP) for seamless integration with AI agents like Claude.
Build the Gateway Binary:
go build .
Configure Claude Desktop:
{ "mcpServers": { "gateway": { "command": "PATH_TO_GATEWAY_BINARY", "args": ["start", "--config", "PATH_TO_GATEWAY_YAML_CONFIG", "mcp-stdio"] } } }
CentralMind Gateway is constantly evolving. Planned features include:
CentralMind Gateway is your key to unlocking the power of your data for AI. Start building intelligent applications today!
🐍 – An MCP stdio to SSE transport gateawy.
Solana MCP SDK
☕ 🌱 Java SDK and Spring Framework integration for building MCP client and MCP servers with various, plugable, transport options.
📇 ☁️ Access MIRO whiteboards, bulk create and read items. Requires OAUTH key for REST API.