ChatQL MCP Server
JSON →Query SQL Server databases using natural language with OpenAI GPT models.
Install
pip install -r Tools · 7
- execute_natural_language_query Transform natural language into SQL and execute queries.
- execute_direct_sql_query Execute SQL queries directly with safety validation.
- get_table_information Get detailed schema information for any table.
- list_database_tables Explore all available tables in your database.
- get_table_sample_data Preview sample data from any table.
- toggle_select_only_mode Toggle between SELECT-only (read-only) and full database access modes.
- get_security_mode_status Check current security mode and available permissions.
Environment variables
OPENAI_API_KEY