Requires Node 18+ on your system so npx can fetch the package on first run. Claude Code persists MCP servers via its CLI — no config file to edit, just run the command below once. Paste the config below, then follow the reload step to register @andezdev/tokenlite-mysql-mcp.
Run the command below in your terminal — Claude Code persists it for you.claude mcp add tokenlite-mysql --env DB_HOST=localhost --env DB_PORT=3306 --env DB_USER=your_db_user --env DB_PASSWORD=your_password --env DB_NAME=your_database --env MCP_EXPLAIN_MAX_SCAN_ROWS=1000 --env MCP_QUERY_ROW_LIMIT=500 --env MCP_SAFE_QUERY_ENABLE_BLOCKING=true -- npx -y @andezdev/tokenlite-mysql-mcp