프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Tokenlite Mysql MCP

제작자: andezdev버전 4.1.0i★ 0i내 컴퓨터에서 실행
레지스트리 이름io.github.andezdev/tokenlite-mysql-mcp

설치 방법

What it does

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

  • Connects 내 컴퓨터에서 실행
  • Account or key No key needed · 1 setting to fill in (DB_NAME)
  • Category 데이터베이스 및 데이터셋

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

검사 3/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 14일

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있지만 먼저 준비가 필요해요

설정 1개 입력 필요 (DB_NAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요

  1. Node.js 설치

    한 번만 하면 Node.js가 필요한 모든 서버에 쓸 수 있어요

    Node.js 다운로드 페이지 열기 ↗

  2. 설정 1개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • DB_NAME MySQL Database name

    설명은 아직 영어 원문입니다.

  3. 컴퓨터용 Claude 앱 설정 파일 열기

    SettingsDeveloperEdit Config

  4. 이 설정을 붙여 넣고 저장

    {
      "mcpServers": {
        "tokenlite-mysql": {
          "command": "npx",
          "args": [
            "-y",
            "@andezdev/tokenlite-mysql-mcp"
          ],
          "env": {
            "DB_NAME": "your-value"
          }
        }
      }
    }
  5. Claude를 끄고 다시 열기

  6. 해 보기

    Tokenlite Mysql MCP을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 Tokenlite Mysql MCP을 쓰고 있다고 하거나 답에 Tokenlite Mysql MCP 도구 이름이 나오면 연결된 거예요

추가 설정 26개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • 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)

설명은 아직 영어 원문입니다.

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 Tokenlite Mysql MCP에 연결할 수 없어요

Tokenlite Mysql MCP는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요

대신 이렇게 할 수 있어요

A · Tokenlite Mysql MCP에 연결되는 앱 쓰기

  • 설정 1개 입력 필요 (DB_NAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
  • 설정 1개 입력 필요 (DB_NAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
  • 설정 1개 입력 필요 (DB_NAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)
  • 설정 1개 입력 필요 (DB_NAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

B · 데이터베이스 및 데이터셋에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있지만 먼저 준비가 필요해요

설정 1개 입력 필요 (DB_NAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

  1. Node.js 설치

    한 번만 하면 Node.js가 필요한 모든 서버에 쓸 수 있어요

    Node.js 다운로드 페이지 열기 ↗

  2. 설정 1개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • DB_NAME MySQL Database name

    설명은 아직 영어 원문입니다.

  3. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  4. 이 명령을 붙여 넣고 Enter

    claude mcp add --scope user tokenlite-mysql --env DB_NAME=your-value -- npx -y @andezdev/tokenlite-mysql-mcp
  5. Claude Code에서 /mcp 입력

    Tokenlite Mysql MCP이 목록에 있고 연결됨으로 보이면 돼요

  6. 해 보기

    Tokenlite Mysql MCP을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 Tokenlite Mysql MCP을 쓰고 있다고 하거나 답에 Tokenlite Mysql MCP 도구 이름이 나오면 연결된 거예요

추가 설정 26개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • 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)

설명은 아직 영어 원문입니다.

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있지만 먼저 준비가 필요해요

설정 1개 입력 필요 (DB_NAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

  1. Node.js 설치

    한 번만 하면 Node.js가 필요한 모든 서버에 쓸 수 있어요

    Node.js 다운로드 페이지 열기 ↗

  2. 설정 1개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • DB_NAME MySQL Database name

    설명은 아직 영어 원문입니다.

  3. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  4. 키 입력

    Tokenlite Mysql MCP 설정에서 DB_NAME가 비어 있어요. 내 키를 넣고 저장하세요

  5. Cursor에서 AI 채팅을 Agent 모드로 열기

  6. 해 보기

    Tokenlite Mysql MCP을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 Tokenlite Mysql MCP을 쓰고 있다고 하거나 답에 Tokenlite Mysql MCP 도구 이름이 나오면 연결된 거예요

추가 설정 26개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • 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)

설명은 아직 영어 원문입니다.

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있지만 먼저 준비가 필요해요

설정 1개 입력 필요 (DB_NAME) · 먼저 컴퓨터에 Node.js를 설치하세요 (한 번만)

  1. Node.js 설치

    한 번만 하면 Node.js가 필요한 모든 서버에 쓸 수 있어요

    Node.js 다운로드 페이지 열기 ↗

  2. 설정 1개 입력

    이것은 프로그램 설정이며 키가 아닙니다. 가입할 필요 없이 제작자 설명대로 입력하세요.

    • DB_NAME MySQL Database name

    설명은 아직 영어 원문입니다.

  3. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  4. 키 입력

    Tokenlite Mysql MCP 설정에서 DB_NAME가 비어 있어요. 내 키를 넣고 저장하세요

  5. VS Code에서 AI 채팅을 Agent 모드로 열기

  6. 해 보기

    Tokenlite Mysql MCP을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 Tokenlite Mysql MCP을 쓰고 있다고 하거나 답에 Tokenlite Mysql MCP 도구 이름이 나오면 연결된 거예요

추가 설정 26개 (입력하지 않아도 사용 가능)

위 명령은 이 값들 없이도 동작합니다. 바꾸고 싶을 때만 제작자 설명대로 추가하세요.

  • 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)

설명은 아직 영어 원문입니다.

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? Tokenlite Mysql MCP을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

컴퓨터에 설치

Claude Code

claude mcp add --scope user tokenlite-mysql --env DB_NAME=your-value -- npx -y @andezdev/tokenlite-mysql-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "tokenlite-mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@andezdev/tokenlite-mysql-mcp"
      ],
      "env": {
        "DB_NAME": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "tokenlite-mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@andezdev/tokenlite-mysql-mcp"
      ],
      "env": {
        "DB_NAME": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "tokenlite-mysql": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@andezdev/tokenlite-mysql-mcp"
      ],
      "env": {
        "DB_NAME": "your-value"
      }
    }
  }
}

직접 입력할 값

  • DB_HOST env
    MySQL Host address (defaults to localhost)
  • DB_PORT env
    MySQL Port (defaults to 3306)
  • DB_USER env
    MySQL Username (defaults to root)
  • DB_PASSWORD 비밀 env
    MySQL Password (defaults to empty string)
  • DB_NAME 필수 env
    MySQL Database name
  • MCP_EXPLAIN_MAX_SCAN_ROWS env
    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 env
    Max rows returned per SELECT; injected as LIMIT at the AST level (defaults to 500)
  • MCP_SAFE_QUERY_MAX_ROWS env
    Deprecated alias for MCP_EXPLAIN_MAX_SCAN_ROWS
  • MCP_SAFE_QUERY_ENABLE_BLOCKING env
    Enable or disable the EXPLAIN guardrail (defaults to true)
  • MCP_METADATA_PATH env
    Absolute path to your custom metadata.json dictionary
  • MCP_TEMPLATES_PATH env
    Absolute path to your custom templates.json pre-approved queries
  • TOOL_PREFIX env
    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 env
    Max tool invocations per minute, sliding window (defaults to 60). Set to 0 to disable.
  • MYSQL_QUERY_TIMEOUT env
    Max execution time for a query in milliseconds to protect against DoS (defaults to 15000)
  • MYSQL_CONNECTION_LIMIT env
    Max concurrent pool connections (defaults to 10)
  • MYSQL_CONNECT_TIMEOUT env
    Max time to wait for a connection socket to establish in milliseconds (defaults to 10000)
  • MYSQL_RETRY_ATTEMPTS env
    Max retries on transient connection errors (defaults to 3)
  • MYSQL_RETRY_DELAY_MS env
    Base delay in milliseconds for exponential backoff between retries (defaults to 1000)
  • MYSQL_QUEUE_LIMIT env
    Max queued requests when all pool connections are busy to prevent memory leak (defaults to 50)
  • MCP_DDL_CACHE_TTL env
    Time-to-live in seconds for cached DDL statements (defaults to 60)
  • MCP_LOG_LEVEL env
    Minimum severity level for MCP log notifications (defaults to info). Levels: debug, info, notice, warning, error, critical, alert, emergency
  • ALLOW_INSERT_OPERATION env
    Enable INSERT and REPLACE queries (defaults to false)
  • ALLOW_UPDATE_OPERATION env
    Enable UPDATE queries (defaults to false)
  • ALLOW_DELETE_OPERATION env
    Enable DELETE and TRUNCATE queries (defaults to false)
  • ALLOW_DDL_OPERATION env
    Enable Data Definition Language queries like CREATE, ALTER, DROP, RENAME (defaults to false)
  • DB_SSL env
    Enable TLS for the MySQL connection (defaults to false)
  • DB_SSL_REJECT_UNAUTHORIZED env
    Reject self-signed or untrusted TLS certificates when DB_SSL is true (defaults to true)

설명은 아직 영어 원문입니다.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
52/주
연결 방식
내 컴퓨터에서 실행
최신 버전i
4.1.0
레지스트리 공개i
2026년 6월 7일
코드 마지막 변경i
2026년 9월 11일
제작자
andezdev
패키지
npm: @andezdev/tokenlite-mysql-mcp
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

내 컴퓨터에서 실행하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

모든 앱과 장단점 →

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 15일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 andezdev 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 2개월 전

  • ✓ 통과

    라이선스 있음

    MIT 사용

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

Google로 로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

Google로 로그인하고 리뷰 쓰기

데이터베이스 및 데이터셋 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 1195개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 1195개 중 12%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 1195개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Tokenlite Mysql MCP, 안전한가요?

해당하는 기본 점검 3개 중 3개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 2개월 전 변경됐고, 최신 버전(4.1.0)은 5개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Dbx, MCP Toolbox for Databases, MCP Toolbox for Databases

같은 카테고리의 다른 것

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Dbx

Query databases from AI agents using connections configured in DBX.

제작자: t8y2널리 사용됨↓ 9.4천/주★ 3만7개월 전 업데이트

내 컴퓨터에서 실행

MCP Toolbox for Databases

MCP Toolbox for Databases enables your agent to connect to your database.

제작자: googleapis널리 사용됨★ 1.7만그저께 업데이트

내 컴퓨터에서 실행

MCP Toolbox for Databases

MCP Toolbox for Databases enables your agent to connect to your database.

제작자: googleapis널리 사용됨★ 1.7만8개월 전 업데이트

내 컴퓨터에서 실행

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

TokenLite MySQL MCP

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.


🌟 Core Pillars

  1. Safe-Query Optimizer (AST & EXPLAIN): Protects production databases by pre-analyzing queries. Blocks unindexed Full Table Scans that exceed configurable thresholds and injects strict LIMIT clauses automatically at the AST level.
  2. Granular AST-Based Write Permissions: By default, TokenLite is 100% Read-Only. You can surgically enable specific write operations (INSERT, UPDATE, DELETE, DDL) via environment variables. The firewall uses strict AST parsing to prevent SQL injection and comment-bypass attacks, and strictly prohibits privilege escalation commands (like GRANT or CALL).
  3. Session-Level Defense in Depth: If the server is configured in strict Read-Only mode (all write variables disabled), TokenLite injects SET SESSION TRANSACTION READ ONLY directly into the connection pool sockets. This guarantees that even if a theoretical bypass exists in the AST parser, the MySQL engine itself will physically reject any data modification.
  4. Business Intelligence Injection: Bridges the gap between raw data and company logic. Automatically attaches semantic dictionaries (metadata.json) to database schema exploration, and exposes Semantic Templates via the official MCP Prompts API (templates.json) so the LLM uses pre-approved analytical queries instead of hallucinating them.
  5. Graph-Based Semantic Schema: Avoids sending giant schemas to the LLM that saturate the context window. When a table is searched, the engine uses heuristics to deduce implicit relationships and packages the exact "Auto-Join Context".
  6. CSV Token Compression: Database results are efficiently transformed into tabular CSV markdown with unambiguous NULL representation (∅), saving up to 50% of Output Tokens compared to verbose JSON. When results hit the applied LIMIT, a -- rows: N (truncated at LIMIT X) footer is appended so the LLM does not assume a complete dataset.
  7. MCP Completions: Table names and template keywords support the official completions/complete capability for resource templates (mysql://tables/{name}) and the query_templates prompt.

📋 Requirements

  • Node.js v20 or higher
  • MySQL 5.7 or higher (MySQL 8.0+ recommended)
  • A MySQL user with SELECT and SHOW VIEW privileges.

🚀 Installation & Usage

You can use this MCP server with any compatible client. Below are the configurations for the most popular ones.

1. Claude Desktop

Edit your claude_desktop_config.json (usually located at %APPDATA%\Claude\claude_desktop_config.json on Windows or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS) and add the following:

Using NPX (Recommended)

{

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

2. Claude Code (CLI)

You can easily integrate this server globally into Claude Code:

claude mcp add tokenlite_mysql \

-e DB_HOST="127.0.0.1" \ -e DB_PORT="3306" \ -e DB_USER="root" \ -e DB_PASSWORD="your_password" \ -e DB_NAME="your_database" \ -- npx -y @andezdev/tokenlite-mysql-mcp

3. Cursor IDE

To use within Cursor IDE:

  1. Open Cursor Settings > Features > MCP.
  2. Click + Add New MCP Server.
  3. Set the Type to command.
  4. Name it tokenlite-mysql.
  5. Set the command to:
   npx -y @andezdev/tokenlite-mysql-mcp

*(Note: Cursor handles environment variables directly in the IDE UI, make sure to add your DB credentials there).*


⚙️ Environment Variables Reference

Understanding Query Limits (two independent knobs)

execute_safe_query applies two separate limits. Do not confuse them:

VariableWhat it controlsDefaultExample
MCP_EXPLAIN_MAX_SCAN_ROWSSecurity gate: blocks queries whose EXPLAIN plan shows a full table scan (type: ALL) with more estimated rows than this threshold. The query is rejected *before* execution.10005000 allows scanning tables up to ~5000 rows without an index
MCP_QUERY_ROW_LIMITResult cap: max rows returned to the LLM. Injected as LIMIT at the AST level. When reached, CSV includes -- rows: N (truncated at LIMIT X).5001000 returns up to 1000 rows per SELECT

Deprecated alias: MCP_SAFE_QUERY_MAX_ROWS still works as a fallback for MCP_EXPLAIN_MAX_SCAN_ROWS only. It does not control the result LIMIT.

Worked example with MCP_EXPLAIN_MAX_SCAN_ROWS=5000 and MCP_QUERY_ROW_LIMIT=500 on a customers table (~1502 rows):

  1. SELECT * FROM customers → passes EXPLAIN (1502 < 5000), executes with LIMIT 500, returns 500 rows + truncation footer.
  2. Same config but table has 8000 rows → blocked by EXPLAIN before execution.
VariableDescriptionDefaultRequired
DB_HOSTMySQL Host addresslocalhostNo
DB_PORTMySQL Port3306No
DB_USERMySQL UsernamerootNo
DB_PASSWORDMySQL Password''No
DB_NAMEMySQL Database nametestYes
MCP_EXPLAIN_MAX_SCAN_ROWSEXPLAIN guardrail: max estimated rows for unindexed full table scans before blocking.1000No
MCP_QUERY_ROW_LIMITMax rows returned per SELECT (AST-injected LIMIT + truncation footer).500No
MCP_SAFE_QUERY_ENABLE_BLOCKINGEnable or disable the EXPLAIN guardrail.trueNo
MCP_METADATA_PATHAbsolute path to your custom metadata.json dictionary.(Disabled)No
MCP_TEMPLATES_PATHAbsolute path to your custom templates.json queries.(Disabled)No
TOOL_PREFIXPrefix for tool names (useful when running multiple instances).Derived from DB_NAME (e.g., mydb_). Random fallback only if DB_NAME is unset.No
MCP_RATE_LIMIT_RPMMax tool invocations per minute (sliding window). Set to 0 to disable.60No
MYSQL_QUERY_TIMEOUTMax execution time for a query (in ms). Aborts heavy queries to protect against DoS.15000No
MYSQL_CONNECTION_LIMITMax concurrent pool connections.10No
MYSQL_CONNECT_TIMEOUTMax time to wait for a socket to establish (in ms).10000No
MYSQL_RETRY_ATTEMPTSMax retries on transient connection errors (ECONNREFUSED, PROTOCOL_CONNECTION_LOST, etc.).3No
MYSQL_RETRY_DELAY_MSBase delay (ms) for exponential backoff between retries (1s, 2s, 4s...).1000No
MYSQL_QUEUE_LIMITMax queued requests when all pool connections are busy. Prevents unbounded growth if MySQL is down.50No
MCP_DDL_CACHE_TTLTime-to-live (in seconds) for cached DDL statements. Reduces latency on repeated search_schema calls. Invalidated by refresh_schema.60No
MCP_LOG_LEVELMinimum severity for MCP log notifications: debug, info, notice, warning, error, critical, alert, emergency.infoNo
ALLOW_INSERT_OPERATIONEnable INSERT and REPLACE queries.falseNo
ALLOW_UPDATE_OPERATIONEnable UPDATE queries.falseNo
ALLOW_DELETE_OPERATIONEnable DELETE and TRUNCATE queries.falseNo
ALLOW_DDL_OPERATIONEnable Data Definition Language (CREATE, ALTER, DROP, RENAME).falseNo
DB_SSLEnable TLS for the MySQL connection (recommended for managed/cloud databases).falseNo
DB_SSL_REJECT_UNAUTHORIZEDReject self-signed or untrusted TLS certificates when DB_SSL=true.trueNo

🛡️ Business Intelligence Features (Opt-in)

TokenLite can teach the LLM about your company's business rules. To enable this, map the absolute paths of two JSON files via .env or your MCP client config:

metadata.json (Semantic Dictionary)

Translate integer statuses or internal jargon so the LLM understands the data.

{

"orders.status": { "pending": "The order is waiting for payment validation", "shipped": "The order has left the warehouse" } }

Custom Relationships

Define FK mappings the heuristic engine can't auto-detect (e.g., created_by → users). Add a _relationships key to your metadata.json:

{

"orders.status": { "pending": "...", "shipped": "..." }, "_relationships": { "orders.created_by": "users.id", "categories.parent_id": "categories.id" } }

These are treated as authoritative (not heuristic) and take priority over automatic detection.

The heuristic engine also assigns a confidence score (0–100) to each inferred FK based on name matching (+40), data type validation (+30), primary key verification (+20), and index presence (+10). Only FKs scoring ≥70 are accepted.

templates.json (Pre-approved SQL)

Stop the LLM from hallucinating complex metrics by providing vetted templates.

[

{ "name": "Customer Lifetime Value (LTV)", "description": "Calculates total revenue generated by delivered orders per customer.", "sql": "SELECT c.id, SUM(oi.price) FROM customers c JOIN orders o... WHERE o.status='delivered'" } ]


📈 Benchmarks & Token Savings

TokenLite includes an automated benchmark suite using o200k_base tokenization (GPT-4o/GPT-5 standard) to measure efficiency improvements. Token counts are approximate — Claude 4.x uses a proprietary tokenizer; actual counts may vary slightly.

To run the benchmark in your own environment:

npm run benchmark
Baseline: Standard MCP Pattern

The benchmark compares against the standard pattern used by generic MySQL MCP servers: full schema exposed as information_schema.columns in pretty-printed JSON, and query results returned as JSON.stringify(rows, null, 2) with execution time metadata.

1. Schema Discovery (Input Tokens)

Standard MCP servers dump the entire schema to the LLM. For large databases, this consumes thousands of input tokens on every turn. TokenLite's relational graph serves a localized Auto-Join Context (target table + direct parent tables + direct child tables).

ScenarioStandard MCP PatternTokenLite📉 Savings
Mock (50 tables, Enterprise CRM)15,566 tokens883 tokens94.3%
Live (9 tables, Test DB)2,208 tokens531 tokens75.9%

Savings scale with the number of tables: the more tables in the database, the higher the savings because the standard pattern dumps all of them while TokenLite only fetches the target + 1-hop relationships.

2. Query Result Payloads (Output Tokens)

TokenLite converts raw database rows to a dense, structured CSV layout. This avoids JSON syntax overhead (brackets, braces, repeated keys) and compresses the output payload returned to the LLM. When the row count reaches the server-injected LIMIT, results include a truncation footer (e.g. -- rows: 500 (truncated at LIMIT 500)) so agents know more data may exist.

Mock data (varied: NULLs, long descriptions, mixed lengths):

Rows ReturnedStandard MCP Pattern (Tokens)TokenLite CSV (Tokens)📉 Output Savings (%)
10 rows

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요