mcp-sql
@algonacci
About mcp-sql
MCP server to give client the ability to access SQL databases (MySQL and PostgreSQL supported)
Basic information
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.
More Databases MCP servers
Snowflake MCP Server
isaacwassermanMongoDB MCP Server
mongodb-jsA Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.

Redis
modelcontextprotocolModel Context Protocol Servers
MySQL MCP Server
designcomputerA Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
Dbhub
bytebaseZero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
Comments