Claude, Cursor, Codex and other MCP clients work with Migratrix through two endpoints. They act with the signed-in person's own permissions, and with less: approving, changing approval rules or permissions, and writing rollbacks are never available to an assistant.
https://mcp.migratrix.com/mcp (on-prem: your installation's /mcp):
environments, pipelines, change scripts, approvals queue, GitOps, audit, notifications.https://<your Executor>/mcp, inside your network: schemas, read-only
queries, change script validation, compare and Drift Monitor. Reached as your browser reaches the Executor; rows never leave your network.npx migratrix-setup --executor https://executor.corp.local:4002/mcp
It configures Claude Code, Claude Desktop, Cursor, Codex, Windsurf and Continue. No token is copied: the first time
the client calls Migratrix it opens the Platform once, you see what the assistant may do in each environment and
what it never can, and allow. Add --readonly to connect the read-only endpoints (/mcp/readonly),
or --tools schema,changes,gitops to offer only some tool groups.
Each endpoint answers an unauthenticated request with its resource metadata (RFC 9728). Clients register dynamically or with a client ID metadata document, use PKCE, and receive tokens bound to that endpoint (RFC 8707). Access tokens last 30 minutes; refresh tokens rotate on every use, and a reused one revokes the grant.
There is one scope: the assistant acts with your own permissions, as Jira, GitHub and Bytebase do with theirs, and the organisation's policy takes away from that per environment. Narrowing is done on the endpoint, not at consent.
Whatever you may do yourself, an assistant can never: approve a change script or change approval rules; change roles, permissions, environments or pipelines; write a rollback (only the one Migratrix generates runs); execute, roll back or delete in an environment that requires approval; touch credentials; export, import or write data. These are enforced in the server, not in the model's instructions. Tools that change something are marked so your client asks you first.
Under Settings → AI assistants: every grant (and revoking it), what assistants may do in each environment (nothing, read, propose; execute only where no approval is required), whether rows may be read (masked), the row cap per query, and a switch that pauses every assistant at once. Every call made through an assistant is in the audit ledger under the person's name, with the assistant and grant.
More product context: AI and MCP.