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

Safe staging for this asset

This asset is staged first. The copied prompt tells the agent to inspect the staged files and ask before activating scripts, MCP config, or global config.

Stage only · 17/100Policy: stage
Agent surface
Any MCP/CLI agent
Kind
Mcp Config
Install
Stage only
Trust
Trust: Established
Entrypoint
Asset
Safe staging command
npx -y tokrepo@latest install f7c6c41e-d6aa-5f02-931d-1945b1bd7caa --target codex

Stages files first; activation requires review of the staged README and plan.

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