MCP ConfigsMay 14, 2026·2 min read

MySQL MCP Server — Secure MySQL Tools via MCP

mysql_mcp_server is an MCP server for MySQL with pip install and Smithery client setup; expose DB actions to Claude Code safely (1,251★).

Agent ready

This asset can be read and installed directly by agents

TokRepo exposes a universal CLI command, install contract, metadata JSON, adapter-aware plan, and raw content links so agents can judge fit, risk, and next actions.

Needs Confirmation · 62/100Policy: confirm
Agent surface
Any MCP/CLI agent
Kind
Mcp
Install
Bundle
Trust
Trust: Established
Entrypoint
pip install mysql-mcp-server
Universal CLI install command
npx tokrepo install f7c6c41e-d6aa-5f02-931d-1945b1bd7caa
Intro

mysql_mcp_server is an MCP server for MySQL with pip install and Smithery client setup; expose DB actions to Claude Code safely (1,251★).

Best for: Teams that want agents to query MySQL with a controlled MCP tool surface instead of pasting SQL into chats

Works with: Python, pip, Smithery installer, and MCP clients (Claude Code) that can launch stdio servers

Setup time: 10-20 minutes

Main

  • DB access via tools: moves database operations into an explicit MCP tool interface.
  • Two install paths: pip package install and a Smithery one-liner to wire it into clients.
  • Client-first setup: designed to be launched by an MCP client, keeping credentials/config out of ad-hoc prompts.
  • Good for audits: tool-calling makes DB reads/writes more inspectable than free-form SQL in chats.

FAQ

  • Is Smithery required?: No. It is one setup option; you can also clone and run from source.
  • What is the safest first step?: Start read-only queries and confirm credentials/config are loaded correctly.
  • Why MCP instead of direct SQL prompts?: Tool interfaces make capabilities explicit and easier to constrain.
🙏

Source & Thanks

Source: https://github.com/designcomputer/mysql_mcp_server > License: MIT > GitHub stars: 1251 · forks: 236

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets