MCP Directory

andyWang1688/sql-query-mcp

GitHub
Databases

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.

Direct install

Run the underlying MCP server directly — without Agent-CoreX routing.

npx -y sql-query-mcp

Use with Agent-CoreX

Agent-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"
      ]
    }
  }
}

Route andyWang1688/sql-query-mcp intelligently

Connect in 2 minutes. Only pay for the tools your agent actually uses.

Installation Guide

Use with Agent-CoreX

Recommended: intelligent tool routing, lower costs

uvx agent-corex mcp add sql-query-mcp

Agent-CoreX selects only the tools your agent needs, cutting token usage by up to 60%.

Direct Install

Use andyWang1688/sql-query-mcp directly without routing

npx -y sql-query-mcp

New to Agent-CoreX? View setup guide →

andyWang1688/sql-query-mcp MCP Server — Agent-CoreX