74
/ 100
1 month ago
glama

tokenlite-mysql-mcp

Secure and token-efficient MySQL MCP server built specifically for AI agents. Prevents hallucinations, optimizes context windows and blocks dangerous queries.

Is this your MCP?

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.

Install from

M8ven verifies MCPs across every public registry — install directly from whichever one you prefer.

// key findings
⚠️
Known vulnerabilities in dependencies: 2 high
Affects packages this MCP installs at runtime. Upgrade or remove the affected dependency.
No credential exfiltration, no sensitive file access, no obfuscation
Static analysis found nothing flowing your secrets to unexpected places.
Open source with a license and README
Anyone can audit the code, the license is declared, and the publisher documents what it does.
🔐
You'll be asked for 1 credential: DB_PASSWORD
These are read from process.env at runtime. Make sure you trust where they’ll be sent.
// known CVEs in dependencies2 high

Disclosed vulnerabilities in this server's declared npm dependencies (via OSV). Whether each is reachable depends on the installed versions.

high@modelcontextprotocol/sdk@1.6.0GHSA-8r9q-7v3j-jr4g

Anthropic's MCP TypeScript SDK has a ReDoS vulnerability

high@modelcontextprotocol/sdk@1.6.0GHSA-w48q-cv73-mx4w

Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default

Depend on this server? Get alerted when its CVEs change.Watch this server free →
// required environment variables
This server reads these from process.env. You'll be asked to provide them before it can run.
configALLOW_DDL_OPERATIONEnable Data Definition Language (CREATE, ALTER, DROP, RENAME). false No
configALLOW_DELETE_OPERATIONEnable DELETE and TRUNCATE queries. false No
configALLOW_INSERT_OPERATIONEnable INSERT and REPLACE queries. false No
configALLOW_UPDATE_OPERATIONEnable UPDATE queries. false No
configDB_HOST"": "localhost",
configDB_NAME"": "your_database",
🔐 secretDB_PASSWORD"": "your_password",
configDB_PORT"": "3306",
configDB_SSLEnable TLS for the MySQL connection (recommended for managed/cloud databases). false No
configDB_SSL_REJECT_UNAUTHORIZEDReject self-signed or untrusted TLS certificates when DB_SSL=true. true No
configDB_USER"": "your_db_user",
configMCP_DDL_CACHE_TTLTime-to-live (in seconds) for cached DDL statements. Reduces latency on repeated search_schema calls. Invalidated by refresh_schema. 60 No
configMCP_EXPLAIN_MAX_SCAN_ROWS"": "1000",
configMCP_LOG_LEVELMinimum severity for MCP log notifications: debug, info, notice, warning, error, critical, alert, emergency. info No
configMCP_METADATA_PATHAbsolute path to your custom metadata.json dictionary. (Disabled) No
configMCP_QUERY_ROW_LIMIT"": "500",
configMCP_RATE_LIMIT_RPMMax tool invocations per minute (sliding window). Set to 0 to disable. 60 No
configMCP_SAFE_QUERY_ENABLE_BLOCKING"": "true"
configMCP_SAFE_QUERY_MAX_ROWSDeprecated alias: still works as a fallback for MCP_EXPLAIN_MAX_SCAN_ROWS only. It does not control the result LIMIT.
configMCP_TEMPLATES_PATHAbsolute path to your custom templates.json queries. (Disabled) No
configMYSQL_CONNECTION_LIMITMax concurrent pool connections. 10 No
configMYSQL_CONNECT_TIMEOUTMax time to wait for a socket to establish (in ms). 10000 No
configMYSQL_QUERY_TIMEOUTMax execution time for a query (in ms). Aborts heavy queries to protect against DoS. 15000 No
configMYSQL_QUEUE_LIMITMax queued requests when all pool connections are busy. Prevents unbounded growth if MySQL is down. 50 No
configMYSQL_RETRY_ATTEMPTSMax retries on transient connection errors (ECONNREFUSED, PROTOCOL_CONNECTION_LOST, etc.). 3 No
configMYSQL_RETRY_DELAY_MSBase delay (ms) for exponential backoff between retries (1s, 2s, 4s...). 1000 No
configTOOL_PREFIXPrefix for tool names (useful when running multiple instances). Derived from DB_NAME (e.g., mydb_). Random fallback only if DB_NAME is unset. No
// full audit trail
The full breakdown of what we checked, the deductions that landed, the network hosts, the dependency advisories, and concrete fix guidance is available to verified publishers.
// improvement guidance — verified publishers only
We have 1 concrete improvement we can share with the publisher of this MCP. Each comes with specific guidance to raise the trust score.
// embed badge in your README
[![M8ven Score](https://m8ven.ai/badge/mcp/andezdev-tokenlite-mysql-mcp-r8uzy0)](https://m8ven.ai/mcp/andezdev-tokenlite-mysql-mcp-r8uzy0)
commit: f1b56ff4f528e4964c41e7a17e68a85c81c13f0a
code hash: bce58444653851ec378268626d89eda927b6c2a1defc7310b37dd51f11bdff0b
verified: 6/12/2026, 10:47:13 AM
view raw JSON →