Schemity

•
已认领
管理

Local database MCP server built into Schemity. Your AI agent reads the schema of your live database, sees what a migration would do to the data before it runs, and stages diagram edits you review. It never gets database credentials, runs no SQL of its own, and reads no rows.

Schemity is database design software with a local Model Context Protocol (MCP) server built in. Most database MCP servers hand the agent a connection string and run whatever SQL it writes. Schemity works the other way round: the agent works through the diagram you have open, which Schemity read from your database. The agent can read tables, columns, keys, constraints and indexes, follow the dependencies of a table, lint the schema, and analyze a migration file or your unsaved changes for lost data, statements that fail on existing rows, table rewrites and broken views. It can also create and change tables, relations and context views, group tables by domain from your codebase, and route the relation lines. Every edit lands in the open diagram as an unsaved change under the agent's name, for you to review and undo. Nothing is written to a database until you run the migration yourself. Works with PostgreSQL, Supabase, CockroachDB, MySQL, MariaDB, SQL Server, SQLite, Cloudflare D1 and Snowflake. 19 tools and 3 prompts as of Schemity 2.14.9. Set it up with one click from the app's MCP panel for Claude Code, Claude Desktop, Cursor, Codex and OpenCode, or with npx -y schemity-mcp in any stdio host. The server runs on your machine inside the Schemity desktop app on macOS, Windows and Linux.

主要功能

01Staged schema edits for review, recorded in undo history
0219 tools and 3 prompts; none runs SQL the agent writes, none returns a row
03AI agent interaction with live database schemas without direct credentials
04Comprehensive suite of tools for schema inspection, linting, and change proposals
05Pre-migration impact analysis to identify data loss, failures, and locks
06Local server operation with no vendor cloud involvement

使用案例

01AI-assisted database schema design and modification
02Pre-deployment analysis of database migrations for potential issues
03Linting a schema for missing indexes, type mismatches and naming