centralmind/gateway logo

centralmind/gateway

Free

MCP 和 MCP SSE 服务器,根据数据库模式和数据自动生成 API。支持 PG, Clickhouse, MySQL, Snowflake, BigQuery, Supabase。

FreeFree tier
Type
Open Source
Company
CentralMind

About centralmind/gateway

CentralMind Gateway is an open-source tool that provides a simple way to expose your database to AI agents via Model Context Protocol (MCP) or OpenAPI 3.1. It automatically generates secure, LLM-optimized APIs based on table schema and sampled data. The tool supports a wide range of databases including PostgreSQL, MySQL, ClickHouse, Snowflake, MSSQL, BigQuery, Oracle, SQLite, and ElasticSearch. It offers multiple protocol support (REST and MCP with SSE), built-in authentication (API keys, OAuth), PII protection (regex or Microsoft Presidio), monitoring via OpenTelemetry, and the ability to self-host LLMs. Ideal for AI agents, LLM-powered apps, development environments, and analytical scenarios where you need to chat with your database.

Key Features

Automatic API generation using LLM 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 plugin or Microsoft Presidio plugin
Comprehensive monitoring with OpenTelemetry for request tracking and audit trails
Support for self-hosted LLMs through configurable AI endpoints and models
Local on-premises deployment

Pros & Cons

Pros
  • Open source and free to use
  • Automatic API generation reduces development time
  • Broad database compatibility (8+ databases)
  • Built-in PII redaction ensures compliance with GDPR, CPRA, SOC 2
  • Integrated monitoring and audit trails for security teams
  • Supports self-hosted LLMs for data privacy
  • Easy Docker-based deployment

Best For

Expose databases to AI agents via remote function/tool callingEnable LLM-powered applications to create, adjust, or query data during developmentChat with your database or data warehouse in analytical scenariosEnrich AI agents with real-time data from structured databases