$ timeahead.in
mcp/andezdevtokenlite-mysql-mcp/install/vscode

install @andezdev/tokenlite-mysql-mcp on VS Code

Requires Node 18+ on your system so npx can fetch the package on first run. VS Code (Copilot) uses a `servers` root key with an explicit `type` field — different from the `mcpServers` shape used by Claude Desktop and Cursor. Paste the config below, then follow the reload step to register @andezdev/tokenlite-mysql-mcp.

paste into
workspace: .vscode/mcp.json (project root — committed with the repo)
user: ~/.vscode/mcp.json
{
  "servers": {
    "tokenlite-mysql": {
      "type": "stdio",
      "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: VS Code picks up the change. Run 'MCP: List Servers' from the command palette to verify.
other clients
Claude DesktopCursorWindsurfClaude Code
← back to @andezdev/tokenlite-mysql-mcp