SQL Cortex

•

Empower AI agents with direct, policy-enforced access to SQL databases, featuring schema tools and an administrative interface.

SQL Cortex is a Model Context Protocol (MCP) server designed to securely bridge the gap between AI agents and SQL databases. It functions as an intermediary, providing AI agents like Claude, OpenAI, and Gemini with a rich set of database interaction tools. Beyond simple querying, it offers robust policy enforcement, including read-only modes, query allowlists, and row limits, ensuring data integrity and security. Developers and administrators benefit from an intuitive web-based Admin UI for query sandboxing, schema browsing, and managing LLM settings, making it an indispensable tool for integrating AI-driven database interactions into any workflow.

주요 기능

01Persistent configuration settings and encrypted API keys
029 MCP tools for querying, schema introspection, migrations, and more
030 GitHub stars
04Support for multiple LLM providers: OpenAI, Anthropic, DeepSeek, Ollama, Gemini, Groq, Mistral
05Comprehensive policy enforcement including read-only mode, query allowlists, and timeouts
06Admin UI with SQL sandbox, schema browser, chat assistant, and configuration settings
07Support for SQLite and PostgreSQL databases

사용 사례

01Monitoring and auditing AI-generated database queries via a centralized admin interface and logs.
02Automating database schema design and migration planning through natural language interactions with LLMs.
03Providing AI agents with governed and secure access to SQL databases for data retrieval and manipulation.