
mcp-server-mysql一项模型背景协议server,提供只读访问MySQL数据库。该server允许LLMs检视数据库架构并执行只读查询。
概览
主要功能
- 读写禁用,默认
- 写入操作可选择通过环境变量标志
- Claude Code集成
- SSH隧道支持
- 多DB模式
- 架构特定权限
- 结果中自动对敏感数据进行遮掩
- 优化为Anthropic的Claude Code CLI
价格
- 模型
- Free
- 分类
- 服务配缩器
- 评分
- 暂无评价
使用场景
"基于AI的数据分析"
"使用mcp-server-mysql使LLMs能够分析MySQL数据库中的数据,检视架构并执行只读查询。"
"与Claude Code结合进行数据探索"
"将mcp-server-mysql与Claude Code集成,以使LLMs能够探索和查询MySQL数据库。"
优点 & 缺点
优点
- 允许LLMs检视数据库架构并执行只读查询
- 多个数据库无需重新连接
- 结果中自动对敏感数据进行遮掩
- 优化为Anthropic的Claude Code CLI
缺点
- 禁用写入操作,需要环境变量标志配置
- 需要Node.js v20+和MySQL 5.7+ (8.0+推荐)
评测
登录以留下评测。
暂无评测。来当第一个吧!
问答
What are the system requirements?
Node.js v20+ and MySQL 5.7+ (8.0 recommended). The MySQL user must have the necessary privileges for the databases you wish to expose. No local setup is needed if you run it in the cloud.
Asked by Victor Nguyen · Jan 22, 2026
Can I protect sensitive data when querying?
Yes. The server automatically redacts PII in query results. Schema‑specific permissions can be configured to restrict access to certain tables or columns, ensuring sensitive information is masked or blocked.
Asked by Xavier Costa · Jan 5, 2026
What integrations does it support?
It is optimized for Anthropic’s Claude Code CLI and can be invoked via the Model Context Protocol. It also works with SSH tunnels, supports remote MySQL over HTTP with bearer token and TLS/mTLS, and can handle multiple databases in a single session.
Asked by Youssef El-Sayed · Jan 6, 2026
How does mcp-server-mysql handle write operations?
By default it is read‑only. Write commands (INSERT, UPDATE, DELETE) can be enabled by setting the environment flag ALLOW_INSERT_OPERATIONS. Without this flag any write attempt will be rejected.
Asked by Tobias Hartmann · Nov 10, 2025
提问
服务配缩器 的替代品

开源MCP服务器,利用_playwright让LLM控制真实的浏览器以及可访问性快照

Python agent 框架由 Pydantic 团队开发,用于构建类型安全的 GenAI 应用。

自适应的记忆层,帮助AI智能体从上下文中学习

AI 邮箱助手,帮助您更快地达到 inbox zero。

开源式24小时设备屏幕和音频录制,适合构建依赖实况人工智能(AI)应用

用于构建和编排带有工具、内存和多智能体工作流的AI智能体的TypeScript库。

把无银行的 onchain API 带入 MCP

带少分享系兿司上字詰級下合存号来皅




