mcpbeat Sign in

Tokenlite Mysql MCP Server

local only

Tokenlite Mysql MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 79 installs a week from npm. Last commit 7 Jun 2026.

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

Installs per day peak 32 · avg 5 · +464% w/w
a month agotoday
79
Installs / week
npm · @andezdev/tokenlite-mysql-mcp
0
Stars
0 open issues
7 Jun 2026
Last commit
no releases in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check Tokenlite Mysql MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add tokenlite-mysql-mcp -e 'DB_NAME=<DB_NAME>' -- npx -y @andezdev/tokenlite-mysql-mcp
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "tokenlite-mysql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@andezdev/tokenlite-mysql-mcp"
      ],
      "env": {
        "DB_NAME": "<DB_NAME>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.tokenlite-mysql-mcp]
command = "npx"
args = ["-y", "@andezdev/tokenlite-mysql-mcp"]
env = { DB_NAME = "<DB_NAME>" }
.cursor/mcp.json
{
  "mcpServers": {
    "tokenlite-mysql-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@andezdev/tokenlite-mysql-mcp"
      ],
      "env": {
        "DB_NAME": "<DB_NAME>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "tokenlite-mysql-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@andezdev/tokenlite-mysql-mcp"
      ],
      "env": {
        "DB_NAME": "<DB_NAME>"
      }
    }
  }
}

Put your own value in place of <DB_NAME> (MySQL Database name). The author’s registry entry marks it as required.

Optional settings from the registry entry, left out of the block above: DB_HOST (MySQL Host address (defaults to localhost)), DB_PORT (MySQL Port (defaults to 3306)), DB_USER (MySQL Username (defaults to root)), DB_PASSWORD (MySQL Password (defaults to empty string)), MCP_EXPLAIN_MAX_SCAN_ROWS (EXPLAIN guardrail: max estimated rows for unindexed full table scans before blocking (defaults to 1000). MCP_SAFE_QUERY_MAX_ROWS is a deprecated alias), MCP_QUERY_ROW_LIMIT (Max rows returned per SELECT; injected as LIMIT at the AST level (defaults to 500)), MCP_SAFE_QUERY_MAX_ROWS (Deprecated alias for MCP_EXPLAIN_MAX_SCAN_ROWS), MCP_SAFE_QUERY_ENABLE_BLOCKING (Enable or disable the EXPLAIN guardrail (defaults to true)), MCP_METADATA_PATH (Absolute path to your custom metadata.json dictionary), MCP_TEMPLATES_PATH (Absolute path to your custom templates.json pre-approved queries), TOOL_PREFIX (Prefix for tool names, e.g., to run multiple instances (defaults to DB_NAME, e.g. mydb_). Only set to override), MCP_RATE_LIMIT_RPM (Max tool invocations per minute, sliding window (defaults to 60). Set to 0 to disable), MYSQL_QUERY_TIMEOUT (Max execution time for a query in milliseconds to protect against DoS (defaults to 15000)), MYSQL_CONNECTION_LIMIT (Max concurrent pool connections (defaults to 10)), MYSQL_CONNECT_TIMEOUT (Max time to wait for a connection socket to establish in milliseconds (defaults to 10000)), MYSQL_RETRY_ATTEMPTS (Max retries on transient connection errors (defaults to 3)), MYSQL_RETRY_DELAY_MS (Base delay in milliseconds for exponential backoff between retries (defaults to 1000)), MYSQL_QUEUE_LIMIT (Max queued requests when all pool connections are busy to prevent memory leak (defaults to 50)), MCP_DDL_CACHE_TTL (Time-to-live in seconds for cached DDL statements (defaults to 60)), MCP_LOG_LEVEL (Minimum severity level for MCP log notifications (defaults to info). Levels: debug, info, notice, warning, error, critical, alert, emergency), ALLOW_INSERT_OPERATION (Enable INSERT and REPLACE queries (defaults to false)), ALLOW_UPDATE_OPERATION (Enable UPDATE queries (defaults to false)), ALLOW_DELETE_OPERATION (Enable DELETE and TRUNCATE queries (defaults to false)), ALLOW_DDL_OPERATION (Enable Data Definition Language queries like CREATE, ALTER, DROP, RENAME (defaults to false)), DB_SSL (Enable TLS for the MySQL connection (defaults to false)), DB_SSL_REJECT_UNAUTHORIZED (Reject self-signed or untrusted TLS certificates when DB_SSL is true (defaults to true)).

Alternatives to Tokenlite Mysql MCP

same job, measured the same way
Mongodb MCP Server
by mongodb-js

MongoDB Model Context Protocol Server

170 471 installs/wk local only
MCP SQL Rust
by rzlco666

Token-efficient MCP server for MySQL, PostgreSQL, and SQLite

local only
Strut Stack SQL
by rzlco666

Token-efficient MCP server for MySQL, PostgreSQL, and SQLite

local only
Postgres (read-only, safe)
by poudel0

Drop-in replacement for @modelcontextprotocol/server-postgres that is actually read-only.

local only
datamcp — Hosted Model Context Protocol for Databases, APIs, and Agent Memory
by mironovisa

PostgreSQL, MySQL, OpenAPI/Swagger, and shared Agent Memory with scoped access.

answering
DBHub
by bytebase

Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite

34 901 installs/wk local only
Postgres (read-only)
by contextflo

Read-only Postgres: drop-in for the archived server-postgres, with schema context.

285 installs/wk local only
B
Bollard MCP
by imdeepaksingh

An AI-powered, safe database access gateway built on the Model Context Protocol (MCP).

98 installs/wk local only

Tokenlite Mysql MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Tokenlite Mysql MCP?
Tokenlite Mysql MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @andezdev/tokenlite-mysql-mcp was installed 79 times last week.
How do I connect Tokenlite Mysql MCP?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @andezdev/tokenlite-mysql-mcp straight from npm; nothing to host, nothing to sign up for.
How many people use Tokenlite Mysql MCP?
The npm package @andezdev/tokenlite-mysql-mcp was installed 79 times in the last week. Week over week that is +464%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Tokenlite Mysql MCP open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.