mcp-sql
@algonacci
关于 mcp-sql
MCP server to give client the ability to access SQL databases (MySQL and PostgreSQL supported)
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"sql_access": {
"command": "uv",
"args": [
"--directory",
"%USERPROFILE%/Documents/GitHub/mcp-sql",
"run",
"python",
"main.py"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is mcp-sql?
mcp-sql is an MCP (Model Context Protocol) server that enables clients to access and interact with SQL databases. It supports MySQL, PostgreSQL, SQLite, SQL Server, and Oracle. The server is intended for developers who want their MCP clients to execute SQL queries and manage database operations through a standardized protocol.
How to use mcp-sql?
Add the provided JSON configuration to your MCP configuration file. The server is invoked using uv to run main.py from the server directory. Replace the path with the actual location of the mcp-sql project on your system.
Key features of mcp-sql
- Supported databases: MySQL, PostgreSQL, SQLite, SQL Server, Oracle
- Provides MCP clients with SQL database access
- Simple configuration via MCP config file
- Python-based, run with
uv
Use cases of mcp-sql
- Allow AI assistants to query SQL databases directly
- Enable automated data retrieval and analysis through MCP clients
- Integrate database operations into MCP-powered workflows
- Simplify database access for prototyping and testing
FAQ from mcp-sql
What databases does mcp-sql support?
mcp-sql supports MySQL, PostgreSQL, SQLite, SQL Server, and Oracle.
How do I install and configure mcp-sql?
Add the following JSON block to your MCP configuration file, adjusting the directory path to your local mcp-sql folder: {"mcpServers": {"sql_access": {"command": "uv", "args": ["--directory", "%USERPROFILE%/Documents/GitHub/mcp-sql", "run", "python", "main.py"]}}}.
What dependencies are required to run mcp-sql?
The server requires uv (a Python package installer/solver) and Python to execute main.py. No additional runtime dependencies are mentioned in the README.
数据库 分类下的更多 MCP 服务器
Meilisearch MCP Server
meilisearchA Model Context Protocol (MCP) server for interacting with Meilisearch through LLM interfaces.
MCP Alchemy
runekaagaardA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
PostgreSQL Model Context Protocol (PG-MCP) Server
stuzeroMotherDuck's DuckDB MCP Server
motherduckdbLocal MCP server for DuckDB and MotherDuck
MCP MongoDB Server
kiliczshA Model Context Protocol Server for MongoDB
评论