Legion Database
Summary
Database MCP Server, developed by Legion AI, enables AI assistants to access and query data across multiple database types (PostgreSQL, MySQL, SQL Server, BigQuery, etc.) through a standardized interface. Built with Python using the Legion Query Runner library, it exposes database operations as MCP tools and resources, allowing natural language interactions with databases for executing queries, retrieving schemas, and optimizing SQL statements. The implementation features flexible configuration options and maintains query history for context, making it particularly valuable for data analysis, business intelligence, and database exploration use cases where AI assistants need direct, controlled access to structured data.
Available Actions(14)
execute_query
Execute a SQL query and return results as a markdown table.
execute_query_json
Execute a SQL query and return results as JSON.
get_table_columns
Get column names for a specific table.
get_table_types
Get column types for a specific table.
get_query_history
Get the recent query history.
list_databases
List all available database connections.
get_database_info
Get detailed information about a database including schema.
find_table
Find which database contains a specific table.
describe_table
Get detailed description of a table including column names and types.
get_table_sample
Get a sample of data from a table.
sql_query
Create an SQL query against the database.
explain_query
Explain what a SQL query does.
optimize_query
Optimize a SQL query for better performance.
select_database
Help user select which database to use.
コミュニティレビュー
まだレビューはありません. 最初のレビューを投稿しましょう!
会話に参加するにはサインインしてください