mcp-sql
@algonacci
About mcp-sql
MCP server to give client the ability to access SQL databases (MySQL and PostgreSQL supported)
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"sql_access": {
"command": "uv",
"args": [
"--directory",
"%USERPROFILE%/Documents/GitHub/mcp-sql",
"run",
"python",
"main.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
Frequently asked questions
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.
Basic information
More Databases MCP servers
Redis MCP Server
redisThe official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently
MySQL MCP Server
designcomputerA Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
Chroma MCP Server
chroma-coreA Model Context Protocol (MCP) server implementation that provides database capabilities for Chroma

Redis
modelcontextprotocolModel Context Protocol Servers
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
Comments