Connecting an AI Coding Assistant
Give Claude Code, Codex, or any MCP-compatible AI tool direct, permission-scoped access to Revly.
Revly ships an MCP (Model Context Protocol) server that connects an AI coding assistant directly to your local
Revly app - so it can register a project, check status, create snapshots and checkpoints, and manage branches,
entirely from a normal conversation. It runs on your own machine and only ever talks to your own Revly desktop
app on 127.0.0.1 - none of your code passes through any external server to make this work.
Install it
With Claude Code:
claude mcp add --transport stdio revly -- npx -y @jencube/revly-mcp-server
Or add it manually to any MCP-compatible client's config:
{
"mcpServers": {
"revly": {
"command": "npx",
"args": ["-y", "@jencube/revly-mcp-server"]
}
}
}
How connecting actually works
Permissions are always granted by a human - never by the AI itself. The flow is a pairing handshake, not a one-sided handoff:
An agent can never grant itself more permissions than it was given, and it can never trigger a deployment - both always require you, acting directly in the desktop app.
Prefer to set it up yourself?
Skip the pairing flow entirely: open the Revly desktop app -> the project -> AI Sessions ->
Connect Agent, name it, pick permissions, and copy the token yourself - then hand it to your
assistant to use with revly_connect. Both methods land in the same place.
Permission scopes
See The AI Agent Gateway & Permission Scopes for exactly what each granted permission unlocks.
Connecting without copy-paste
At launch, until an assistant is connected, Revly asks whether you code with one and opens our setup guide (one tab per assistant, with the exact line to copy; "Don't ask again" stops it). With the Revly MCP server (0.5.0 and newer) the assistant can connect without you copying anything:
- The assistant asks Revly to connect. It only does this for a folder Revly already tracks; it never registers a project by itself.
- Open AI Sessions, check the request, name the agent and choose its permissions.
- Type the pairing code your assistant showed you. This proves the request is the one you started.
- Revly hands the access token, once, straight to that assistant on your computer. The token is also shown once in the app as the manual fallback.
The optional Revly skill
After connecting, your assistant can offer a short instruction file - the Revly skill - that teaches it when to snapshot, checkpoint and release. It asks first; on a yes it writes the single file itself under its own permission prompt. Revly never writes it for you, and remembers only whether it was offered, agreed or declined for that project.
What the skill keeps tidy
With the skill installed, an assistant keeps your tasks honest (planned, ongoing or completed, and a priority it raises or lowers, always telling you), links each finished task to its checkpoint, and runs a background routine that renames every snapshot Revly captures with a short description of what was done. The description stays within the name limit set in Settings > Snapshot Naming, and the assistant never raises that limit itself.