Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL
Validation Details
Duration: 5.2s
Server: database-admin-mcp v1.0.0
Quick Install
npx -y database-admin-mcplist_tablesList all tables in the database with their size and index count.
describe_tableGet detailed schema information about a table including columns, types, indexes, and foreign keys.
sample_dataRetrieve sample rows from a table to understand its data structure and content.
execute_queryExecute a SQL query and return results. By default, only SELECT queries are allowed (read-only mode). Set DB_READ_ONLY=false to enable write operations.
analyze_indexesAnalyze table indexes for usage statistics, unused indexes, and optimization suggestions.
explain_queryGet query execution plan with cost estimates and optimization suggestions.
generate_migrationGenerate SQL migration scripts for schema changes with up/down migrations.
get_relationshipsGet all foreign key relationships in the database as a graph showing table connections.
get_connection_infoGet current database connection configuration and mode settings.
Reviews
No reviews yet
Sign in to write a review