list_databases
List all available database connections
How to use it
list_databases is exposed by the Legion MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the list_databases 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.pyOther tools in Legion MCP (9)
Get detailed description of a table including column names and types
Execute a SQL query and return results as a markdown table
Execute a SQL query and return results as JSON
Find which database contains a specific table
Get detailed information about a database including schema
Get the recent query history
Get column names for a specific table
Get a sample of data from a table
Get column types for a specific table