gateway

gateway

4.1

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"]
    }
  }
}