MCPVault

execute_query_json

MCP tool from Legion MCP by TheRaLabs

Execute a SQL query and return results as JSON

How to use it

execute_query_json is exposed by the Legion MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the execute_query_json tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install Legion MCP

$npx @modelcontextprotocol/inspector uv run src/database_mcp/mcp_server.py
FULL LEGION MCP LISTING