加载中…
A secure, efficient, and intelligent MySQL server for the Model Context Protocol
io.github.andezdev/tokenlite-mysql-mcp 是 ChatHome Skills 收录的 MCP 条目,来源为 Official MCP Registry,质量分 67/100。 作为 Model Context Protocol 服务器,它向 Claude、Cursor、Copilot 等兼容 MCP 的 LLM 客户端暴露可直接调用的工具,让 agent 的能力超出模型内置范围。 该条目由 ChatHome Skills 的每日抓取从官方 registry 和 GitHub 发现查询中收录,每次运行都会重新核验仓库事实、新鲜度信号和安装元数据。 质量分综合了官方 registry 收录情况、可用安装命令、许可证完整性、仓库活跃度和 GitHub star 趋势,完整算法说明见来源页。安装命令已列于上方,可直接复制使用。 在将 io.github.andezdev/tokenlite-mysql-mcp 加入生产 agent 工作流前,请核对上方的最近更新日期和仓库状态——下方事实快照是最近一次抓取的时点值。
npx -y @andezdev/tokenlite-mysql-mcp@4.1.0运行此命令前,请先核对上游源码。
{
"_meta": {
"io.modelcontextprotocol.registry/official": {
"status": "active",
"isLatest": true,
"updatedAt": "2026-06-07T13:33:19.085252Z",
"publishedAt": "2026-06-07T13:33:19.085252Z",
"statusChangedAt": "2026-06-07T13:33:19.085252Z"
}
},
"server": {
"name": "io.github.andezdev/tokenlite-mysql-mcp",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "4.1.0",
"packages": [
{
"version": "4.1.0",
"transport": {
"type": "stdio"
},
"identifier": "@andezdev/tokenlite-mysql-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "DB_HOST",
"format": "string",
"description": "MySQL Host address (defaults to localhost)"
},
{
"name": "DB_PORT",
"format": "string",
"description": "MySQL Port (defaults to 3306)"
},
{
"name": "DB_USER",
"format": "string",
"description": "MySQL Username (defaults to root)"
},
{
"name": "DB_PASSWORD",
"format": "string",
"isSecret": true,
"description": "MySQL Password (defaults to empty string)"
},
{
"name": "DB_NAME",
"format": "string",
"isRequired": true,
"description": "MySQL Database name"
},
{
"name": "MCP_EXPLAIN_MAX_SCAN_ROWS",
"format": "string",
"description": "EXPLAIN guardrail: max estimated rows for unindexed full table scans before blocking (defaults to 1000). MCP_SAFE_QUERY_MAX_ROWS is a deprecated alias."
},
{
"name": "MCP_QUERY_ROW_LIMIT",
"format": "string",
"description": "Max rows returned per SELECT; injected as LIMIT at the AST level (defaults to 500)"
},
{
"name": "MCP_SAFE_QUERY_MAX_ROWS",
"format": "string",
"description": "Deprecated alias for MCP_EXPLAIN_MAX_SCAN_ROWS"
},
{
"name": "MCP_SAFE_QUERY_ENABLE_BLOCKING",
"format": "string",
"description": "Enable or disable the EXPLAIN guardrail (defaults to true)"
},
{
"name": "MCP_METADATA_PATH",
"format": "string",
"description": "Absolute path to your custom metadata.json dictionary"
},
{
"name": "MCP_TEMPLATES_PATH",
"format": "string",
"description": "Absolute path to your custom templates.json pre-approved queries"
},
{
"name": "TOOL_PREFIX",
"format": "string",
"description": "Prefix for tool names, e.g., to run multiple instances (defaults to DB_NAME, e.g. mydb_). Only set to override."
},
{
"name": "MCP_RATE_LIMIT_RPM",
"format": "string",
"description": "Max tool invocations per minute, sliding window (defaults to 60). Set to 0 to disable."
},
{
"name": "MYSQL_QUERY_TIMEOUT",
"format": "string",
"description": "Max execution time for a query in milliseconds to protect against DoS (defaults to 15000)"
},
{
"name": "MYSQL_CONNECTION_LIMIT",
"format": "string",
"description": "Max concurrent pool connections (defaults to 10)"
},
{
"name": "MYSQL_CONNECT_TIMEOUT",
"format": "string",
"description": "Max time to wait for a connection socket to establish in milliseconds (defaults to 10000)"
},
{
"name": "MYSQL_RETRY_ATTEMPTS",
"format": "string",
"description": "Max retries on transient connection errors (defaults to 3)"
},
{
"name": "MYSQL_RETRY_DELAY_MS",
"format": "string",
"description": "Base delay in milliseconds for exponential backoff between retries (defaults to 1000)"
},
{
"name": "MYSQL_QUEUE_LIMIT",
"format": "string",
"description": "Max queued requests when all pool connections are busy to prevent memory leak (defaults to 50)"
},
{
"name": "MCP_DDL_CACHE_TTL",
"format": "string",
"description": "Time-to-live in seconds for cached DDL statements (defaults to 60)"
},
{
"name": "MCP_LOG_LEVEL",
"format": "string",
"description": "Minimum severity level for MCP log notifications (defaults to info). Levels: debug, info, notice, warning, error, critical, alert, emergency"
},
{
"name": "ALLOW_INSERT_OPERATION",
"format": "string",
"description": "Enable INSERT and REPLACE queries (defaults to false)"
},
{
"name": "ALLOW_UPDATE_OPERATION",
"format": "string",
"description": "Enable UPDATE queries (defaults to false)"
},
{
"name": "ALLOW_DELETE_OPERATION",
"format": "string",
"description": "Enable DELETE and TRUNCATE queries (defaults to false)"
},
{
"name": "ALLOW_DDL_OPERATION",
"format": "string",
"description": "Enable Data Definition Language queries like CREATE, ALTER, DROP, RENAME (defaults to false)"
},
{
"name": "DB_SSL",
"format": "string",
"description": "Enable TLS for the MySQL connection (defaults to false)"
},
{
"name": "DB_SSL_REJECT_UNAUTHORIZED",
"format": "string",
"description": "Reject self-signed or untrusted TLS certificates when DB_SSL is true (defaults to true)"
}
]
}
],
"repository": {
"url": "https://github.com/andezdev/tokenlite-mysql-mcp",
"source": "github"
},
"description": "A secure, efficient, and intelligent MySQL server for the Model Context Protocol"
}
}