$ timeahead.in
mcp/andezdevtokenlite-mysql-mcp/install/claude-desktop

install @andezdev/tokenlite-mysql-mcp on Claude Desktop

Requires Node 18+ on your system so npx can fetch the package on first run. Claude Desktop only speaks stdio locally; HTTP servers are wrapped via npx mcp-remote automatically. Paste the config below, then follow the reload step to register @andezdev/tokenlite-mysql-mcp.

paste into
macos: ~/Library/Application Support/Claude/claude_desktop_config.json
windows: %APPDATA%\Claude\claude_desktop_config.json
linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "tokenlite-mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@andezdev/tokenlite-mysql-mcp"
      ],
      "env": {
        "DB_HOST": "localhost",
        "DB_PORT": "3306",
        "DB_USER": "your_db_user",
        "DB_PASSWORD": "your_password",
        "DB_NAME": "your_database",
        "MCP_EXPLAIN_MAX_SCAN_ROWS": "1000",
        "MCP_QUERY_ROW_LIMIT": "500",
        "MCP_SAFE_QUERY_ENABLE_BLOCKING": "true"
      }
    }
  }
}
then: Quit Claude Desktop completely (Cmd/Ctrl+Q) and reopen it.
other clients
CursorWindsurfVS Code (Copilot)Claude Code
← back to @andezdev/tokenlite-mysql-mcp