-
securityF
license-
qualityA TypeScript-based MCP server that facilitates SQL query execution and MySQL database connectivity using environment variables.
Last updated -
25
JavaScript
一个强大的 MySQL/MariaDB 数据库导航工具,使用 MCP(模型控制协议),可轻松进行数据库查询和管理。
默认情况下,所有日志都写入:
C:\Users\<YourUsername>\.mcp\mcp-db.log
/home/<yourusername>/.mcp/mcp-db.log
/mcp-db.log 或/Users/<yourusername>/.mcp/mcp-db.log
mcp-db.log如果您的主目录中不存在.mcp
文件夹,应用程序将自动创建该文件夹。如果遇到任何问题,您可以手动创建该文件夹:
视窗:
macOS/Linux:
.env
文件:直接从终端运行 MCP 服务器:
要在Cursor中使用此 MCP 服务器:
.env
文件的路径是绝对的。如果 Claude Desktop 支持 MCP 服务器:
--config
参数将其指向mcp-db
命令。查询字典支持以下参数:
table_name
(必填):要查询的表的名称select_fields
(可选):要选择的字段列表(默认为[“*”])where_conditions
(可选):WHERE 子句的字段值对字典order_by
(可选):排序依据的字段列表order_direction
(可选):排序方向“ASC”或“DESC”(默认值:“ASC”)limit
(可选):要返回的记录数offset
(可选):要跳过的记录数group_by
(可选):分组依据的字段列表having
(可选):HAVING 子句的字段值对字典join_table
(可选):要连接的表的名称join_type
(可选):JOIN 操作的类型(默认值:“INNER”)join_conditions
(可选):连接条件字典git checkout -b feature/amazing-feature
)git commit -m 'Add some amazing feature'
)git push origin feature/amazing-feature
)该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
MySQL 导航器 MCP
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Medsaad/mcp-db-navigator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server