This is a production-hardened MySQL MCP server that won't let Claude accidentally wreck your database. It blocks full table scans over configurable row thresholds using EXPLAIN analysis, enforces read-only mode at both AST and session level by default, and requires explicit environment flags to enable writes. You get safe query execution with automatic LIMIT injection, semantic schema context that infers relationships instead of dumping entire table lists, and CSV output formatting that cuts token usage in half. The optional metadata.json and templates.json files let you teach Claude your business logic and pre-approved analytics queries. Useful when you need LLM database access with actual guardrails, connection pooling, query timeouts, and rate limiting built in.
claude mcp add --transport stdio andezdev-tokenlite-mysql-mcp -- npx -y @andezdev/tokenlite-mysql-mcp