A general-purpose MCP server that lets AI work with multiple databases within clear boundaries. Supports PostgreSQL and MySQL today with schema discovery, sampling, read-only queries, and query-plan inspection.
Run the underlying MCP server directly — without Agent-CoreX routing.
npx -y sql-query-mcpAgent-CoreX intelligently routes which tools from andyWang1688/sql-query-mcp your AI agent actually needs per request — reducing token usage and cost.
agent-corex.json
{
"mcpServers": {
"sql-query-mcp": {
"command": "npx",
"args": [
"-y",
"sql-query-mcp"
]
}
}
}Connect in 2 minutes. Only pay for the tools your agent actually uses.
Recommended: intelligent tool routing, lower costs
uvx agent-corex mcp add sql-query-mcpAgent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.
Use andyWang1688/sql-query-mcp directly without routing
npx -y sql-query-mcpNew to Agent-CoreX? View setup guide →