MySQL

Created By
pengcunfu7 months ago
零负担、开箱即用的模型上下文协议(MCP)服务器,用于与 MySQL 交互和自动化操作。无需 Node.js 或 Python 环境。该服务器提供对 MySQL 数据库和表进行 CRUD 操作的工具,以及只读模式以防止意外的写入操作。您还可以通过添加 --with-explain-check 标志让 MCP 服务器在执行查询前使用 EXPLAIN 语句检查查询计划。
Overview

what is MySQL?

MySQL is a lightweight, out-of-the-box Model Context Protocol (MCP) server designed for interacting with MySQL databases and automating operations without the need for a Node.js or Python environment.

how to use MySQL?

To use MySQL, run the MCP server with the appropriate command line arguments to connect to your MySQL database. You can perform various operations such as listing databases, creating tables, and executing SQL queries.

key features of MySQL?

  • CRUD operations on MySQL databases and tables.
  • Read-only mode to prevent accidental writes.
  • EXPLAIN statement for query plan checks before execution.

use cases of MySQL?

  1. Automating database management tasks.
  2. Performing batch operations on MySQL databases.
  3. Integrating with applications that require database interactions.

FAQ from MySQL?

  • Do I need to install Node.js or Python to use MySQL?

No, MySQL is designed to work without requiring Node.js or Python.

  • Can I perform write operations on the database?

Yes, you can execute write queries, but you can also run it in read-only mode to prevent accidental writes.

  • How do I connect to my MySQL database?

Use the command line with the specified parameters such as host, user, password, port, and database name.

Server Config

{
  "mcpServers": {
    "mysql": {
      "command": "C:\\Users\\<username>\\Downloads\\go-mcp-mysql.exe",
      "args": [
        "--host",
        "localhost",
        "--user",
        "root",
        "--pass",
        "password",
        "--port",
        "3306",
        "--db",
        "mydb"
      ]
    }
  }
}
Project Info
Created At
7 months ago
Updated At
6 months ago
Author Name
pengcunfu
Star
-
Language
-
License
-
Category
databases

Recommend Servers

View All
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

21 hours ago