chat-sql (Umair444/chat-sql-mcp) is an MCP server listed on the M8ven Trust Index. It scores 73 out of 100, grade C. It declares 32 tools. No publisher has claimed this listing.
MCP server that enables natural-language SQL queries across multiple databases (ClickHouse, Teradata, PostgreSQL, MySQL, SQL Server, DB2, Oracle, MongoDB) with dialect-correct SQL generation, PII masking, and security-by-construction controls.
Caution. Specific findings reduced this grade. They are listed on the page. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.
How we verified
Verified is a snapshot. Live keeps it current, and builds your track record.
⚡ Connect GitHub → continuous verification on every pushwhy connect →Who stands behind it
Umair444
Source: Glama
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →
Install from
The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.
These names and descriptions are the publisher's own, read from the source code. We print them as written. Our assessment is the findings above, not this list.
run_queryExecute SQL on a configured database and return a PII-masked markdown table.
run_query_fileExecute SQL read from a .sql file. Same governance as run_query.
export_to_csvStream a SELECT's results to a CSV file. The raw values are written to the file but NEVER returned to you — you receive only the row count and path. This is the sanctioned path for identifier-level exports (e.g. lead lists).
load_fileBulk-load a local file (CSV/Excel/Parquet/ODS/JSON/XML) into a tmp_ scratch table. The table is recorded as assistant-owned, so you may later query, write to, or drop it. Call drop_table when done.
drop_tableDrop a tmp_ scratch table you created. Refused for any other table.
list_databasesList configured databases (short code, alias, service). No credentials shown.
explain_queryReturn the database's query plan (EXPLAIN) without executing the query.
search_schemaSearch the documented schema files (schemas/*.md) for a keyword — table or column names, business notes. Reads local docs only, never the database.
table_infoShow a documented table's section from schemas/*.md (columns, notes).
long_running_queriesList active PostgreSQL queries running longer than min_seconds (read-only).
kill_queryCancel (or with force=True, terminate) a PostgreSQL backend by pid.
find_similar_queriesRetrieve past NL→SQL examples similar to `question` for style/reuse.
save_query_exampleSave a verified, reusable NL→SQL example to the RAG store.
delete_query_exampleDelete a RAG example by id.
run_pythonExecute Python for LOCAL data transformation (pandas/openpyxl/pyarrow/…).
whatsapp_send_textSend a WhatsApp text to a JID (person or group).
whatsapp_presenceSet chat presence ('typing' or 'paused').
whatsapp_send_fileSend a local file to a WhatsApp JID.
whatsapp_read_messagesRead recent messages from a chat/group JID.
whatsapp_search_contactsSearch WhatsApp contacts and groups by name; returns JIDs.
whatsapp_forward_messageForward an existing WhatsApp message (reuses uploaded media).
whatsapp_download_mediaDownload a message's media; returns the local file path.
transcribe_audioDownload a WhatsApp voice note and transcribe it locally with Whisper.
send_emailSend an email via the configured SMTP relay (config.py / .env).
notifyAppend a line to logs/notify.log (a simple local notification sink).
wiki_readRead a wiki/memory markdown page by name from CHATSQL_WIKI_DIR.
wiki_searchGrep wiki pages for a query string.
wiki_writeWrite (or append to) a wiki/memory markdown page.
jupyter_runRun Python on a remote Jupyter kernel (persistent across calls).
jupyter_run_fileRun a local .py file's contents on the remote Jupyter kernel.
jupyter_kernel_statusReport the remote Jupyter kernel status.
jupyter_restart_kernelRestart the remote Jupyter kernel (clears in-memory state).
CHATSQL_PII_SALTCHATSQL_RAG_DBKEYdelete_query_example (needs a pgvector DB; set ).CHATSQL_HOMECHATSQL_WHATSAPP_ENABLEDCHATSQL_EMAIL_ENABLEDCHATSQL_JUPYTER_ENABLEDCHATSQL_WIKI_ENABLEDCHATSQL_DB_CREDSCHATSQL_GATEWAY_SOCKETCHATSQL_PII_POLICYCHATSQL_LEDGERCHATSQL_AUDIT_LOGCHATSQL_BROKER_TOKENCHATSQL_TD_SCRATCHCHATSQL_CONNECTOR_TOKENTool annotations
No tools have read-only/destructive annotations
Add readOnlyHint or destructiveHint annotations to every tool so hosts can warn users before invoking.
All four hints declared on every tool
32/32 tools missing one or more hints — run_query (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); run_query_file (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint); export_to_csv (missing: readOnlyHint, destructiveHint, idempotentHint, openWorldHint), +29 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.
For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.
Destructive tools are labelled
1 tool perform destructive updates without destructiveHint — run_python deletes at line 439 (shutil.rmtree(workdir, ignore_errors=True))
Add destructiveHint:true to any tool whose handler calls .delete(), .upsert(), .update(), unlink, rm, DELETE, DROP, REPLACE INTO, or any operation that overwrites existing data.
Tool test coverage
Only 1/32 tools referenced in tests (3%)
Write tests that reference each tool by name so every tool has at least one test.
Secrets never reach shell commands
1 secret value passed to a subprocess as an argument — no shell is invoked, so there is nothing to inject into
Never pass secrets through shell commands. Use library APIs that accept credentials as arguments.
Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.
[](https://m8ven.ai/mcp/umair444/chat-sql-mcp)?variant=verified from the URL.Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.
https://m8ven.ai/api/mcp/tool-check