Rebasely Beta: data may be purged
View as Markdown

MCP server

Agents that speak the Model Context Protocol use Rebasely's tools directly: live branches, sandboxes, checks, pull requests, the knowledge base and the architecture. Each tool has the same permissions as the API request behind it.

Connect

Text
https://rebasely.com/mcp
Authorization: Bearer dga_...
Shell
rebasely mcp                      # a stdio MCP server; --host staging|production|<url>
  • Remote: point the client at https://rebasely.com/mcp (Streamable HTTP) with the header Authorization: Bearer dga_... (an agent token) or dgp_... (a personal token). Tokens are accepted in that header only, never in the URL; a request from another site's page is refused.
  • Local: rebasely mcp runs a stdio server that forwards to /mcp with the credential the CLI has (REBASELY_TOKEN, or the token rebasely auth login stored).
An MCP client's config
{
  "mcpServers": {
    "rebasely": { "command": "rebasely", "args": ["mcp"] }
  }
}

Tools

ToolWhat it doesScope
live.readA file with line numbers and its versionlive:read
live.treePaths of a directory with their versionslive:read
live.writeLine-range edits against a version, or a whole file (at most 100 edits)live:write
live.subscribeChanges since a point, each with a one-line summary; waits up to 25 seconds for the nextlive:read
live.presenceSay what you are looking at; see who is connectedlive:read
live.lock, live.unlockA soft lock on a file, for up to 5 minuteslive:write
live.checkpointWrite a checkpoint now, at most one per 10 secondslive:write
sandbox.create, sandbox.list, sandbox.merge, sandbox.deleteSandboxessandbox:write or repo:write
checks.runRun a sandbox's on: sandbox workflowssandbox:write or repo:write
checks.statusThe commit statuses of a commitrepo:read
pr.list, pr.get, pr.diffPull requests, one with its merge box, reviews and comments, its diffrepo:read
pr.architectureWhat a pull request changes in the architecture and the knowledge baserepo:read
pr.create, pr.comment, pr.review, pr.mergeOpen, comment, review and mergerepo:write
kb.list, kb.read, kb.searchThe knowledge base: notes, one note with its links and backlinks, a searchrepo:read
arch.getThe architecture: all of it, one view's or one component'srepo:read
repo.createCreate a private repositoryrepo:create
repo.visibility, agent.request, approval.statusAsk an owner to approve, and follow the requestno scope

Every tool names its repository as <org>/<repo>. A private repository the token cannot reach gets the same answer as one that does not exist.

Limits

The same as the API: 1,200 requests a minute per token, 600 a minute per agent across all its tokens, a batch of at most 20 messages and 2 MiB. Protocol versions 2025-06-18, 2025-03-26 and 2024-11-05.