MCP-sql is a server that enables clients to access SQL databases, specifically MySQL and PostgreSQL. It facilitates easy configuration through an MCP config file for seamless database access.
MCP-sql is a server that enables clients to access SQL databases, specifically MySQL and PostgreSQL. It facilitates easy configuration through an MCP config file for seamless database access.
Add this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-sql": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-sql"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from mcp-sql?"
No configuration required. This server works out of the box.
"What resources are available in mcp-sql?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in mcp-sql"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in mcp-sql with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
See what tools in your stack can connect to AI.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.