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.
「データベース」の他のコンテンツ
Postgres Mcp
crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.

Redis
modelcontextprotocolModel Context Protocol Servers
ClickHouse MCP Server
ClickHouseConnect ClickHouse to your AI assistants.
PostgreSQL Model Context Protocol (PG-MCP) Server
stuzeromcp-server-qdrant: A Qdrant MCP server
qdrantAn official Qdrant Model Context Protocol (MCP) server implementation
コメント