Contribute
Sign in
MCP Database Server

MCP Database Server

Comprehensive database server supporting PostgreSQL, MySQL, and SQLite with natural language SQL query capabilities. Enables AI agents to interact with databases through both direct SQL and natural language queries.

7 ToolsRequires Configuration

Tools

NameDescription
query_databaseExecute natural language queries against the database and convert them to SQL
list_tablesList all available tables in the current database
describe_tableGet detailed schema information for a specific table including columns, types, and constraints
execute_sqlExecute raw SQL queries with safety checks and validation
connect_to_databaseConnect to a new database using provided connection details
get_connection_examplesGet example connection strings for different database types (SQLite, PostgreSQL, MySQL)
get_current_database_infoGet information about the currently connected database including type, version, and connection status