SchemaPilot MCP
Provides read-only PostgreSQL schema metadata introspection, including listing schemas, tables, and columns, describing table details, retrieving foreign key relationships, exporting schema documentation, and refreshing the schema cache.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SchemaPilot MCPdescribe the users table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SchemaPilot MCP
MCP server for PostgreSQL schema metadata — read-only, local-first, AI-coding-agent ready.
Features
Read-only PostgreSQL introspection (no writes, no arbitrary SQL)
MCP protocol (Model Context Protocol) for AI coding agents
Schema/table/column metadata with PK/FK/index details
Explicit cache refresh (
sync_schema)Markdown documentation export (deterministic)
Schema allowlist + max table/column limits
Secret redaction in logs
Related MCP server: supabase-schema-mcp
Quick Start
pip install -e .
# Configure
cp schemapilot.yaml.example schemapilot.yaml
# Edit with your PostgreSQL credentials
schemapilotMCP Tools
Tool | Description |
| List available schemas |
| List tables with column counts |
| Full table details |
| FK relationship graph |
| Markdown documentation |
| Refresh schema cache |
Configuration
postgres:
host: localhost
port: 5432
database: mydb
user: app
password: secret
schema_allowlist:
- public
- app
max_tables: 100
max_columns: 500
cache_ttl_seconds: 300License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
- dataOAuthco.thinair
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents.
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn open-source MCP server for PostgreSQL schema introspection and guarded read-only queries. It enables MCP clients to discover schemas, tables, columns, indexes, relationships, and safe queryable data from a configured PostgreSQL database.6 npmMIT
- AlicenseAqualityCmaintenanceAn MCP server that provides deep schema introspection for Supabase/Postgres, exposing tables, columns, views, enums, RLS policies, functions, and more.133MIT
- AlicenseNot gradedqualityBmaintenanceRead-only MCP server for PostgreSQL, enabling schema discovery, table metadata, and safe SELECT queries via READ ONLY transactions.15 npmMIT
- AlicenseAqualityBmaintenanceA read-only MCP server for PostgreSQL schemas and their git history, enabling AI agents to inspect schema details, migrations, ERDs, missing indexes, circular foreign keys, and churn without write access.8AGPL 3.0