Tokenlite MCP Server

A secure, efficient, and intelligent MySQL server for the Model Context Protocol

Local serverstdio

What is the Tokenlite MCP Server?

A secure, efficient, and intelligent MySQL server for the Model Context Protocol

The short version

A robust and secure MySQL database server implemented under Anthropic's Model Context Protocol (MCP). Designed specifically to solve the shortcomings of current generic MCP servers through Graceful Degradation, Active Performance Protection, and Aggressive Token Optimization.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Tokenlite MCP Server

{
  "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"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
DB_HOSTEndpoint or connection string the server talks to.Optional
DB_PORTConfiguration value read at startup.Optional
DB_USERConfiguration value read at startup.Optional
DB_PASSWORDConfiguration value read at startup.Optional
DB_NAMEConfiguration value read at startup.Optional
MCP_EXPLAIN_MAX_SCAN_ROWSConfiguration value read at startup.Optional
MCP_QUERY_ROW_LIMITConfiguration value read at startup.Optional
MCP_SAFE_QUERY_ENABLE_BLOCKINGConfiguration value read at startup.Optional

Frequently asked questions

A secure, efficient, and intelligent MySQL server for the Model Context Protocol Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.