Origin MCP server
- MCP server
- 40 callable tools
- 6 capabilities
Overview
Cursor publishes this MCP server, which gives agents access to repositories and pull requests hosted on Origin (origin.cursor.com). It works with repository browsing and search, commits, branches, pull requests, reviews, comments, labels, reviewers and checks.
Capabilities:
- Browse repositories, branches, commits, file contents and git trees
- Search file contents and pull requests
- Read pull requests, reviews, comments, review threads and attachments
- Create and update pull requests, reviews, comments and labels
- Request and remove reviewers and merge or dismiss reviews
- Read and rerun checks and inspect repository rulesets and access
Works with
The products your agent can work with through this server.
Tools
The callable functions your agent uses to work with this server.
| Tool | What it does |
|---|---|
get_ | Read-only Get one Origin repository by owner and name, including default branch, mirror state, visibility, and merge settings. |
list_ | Read-only List Origin repositories belonging to an owner slug. |
list_ | Read-only List the Origin namespaces (owner slugs) the caller can list repositories in, ordered by slug. |
list_ | Read-only List the direct user members of one Origin review or ownership group visible to the caller for a repository. |
create_ | Writes Create an empty Origin-hosted repository. |
get_ | Read-only Read one path at a ref in an Origin-hosted repository. |
get_ | Read-only List a git tree in an Origin-hosted repository at a tree SHA, commit SHA, branch, tag, or HEAD. |
grep_ | Read-only Search file contents across one Origin-hosted repository at a ref, which defaults to the default branch. |
list_ | Read-only List branch names and tip commit SHAs for an Origin-hosted repository. |
list_ | Read-only List commits from a branch or starting ref in an Origin-hosted repository, optionally filtered by lists of exact git author or committer emails, by in |
commit_ | Read-only Read one commit in an Origin-hosted repository. |
compare_ | Read-only Compare two refs of an Origin-hosted repository relative to their merge base. |
sync_ | Destructive, reaches outside Origin Sync a mirrored repository from upstream, waiting for a ref or optional SHA. |
list_ | Read-only List pull requests in an Origin-hosted repository, filtered by state, head, author, base, stackId, mergeCommitShas, or inclusive mergedSince/mergedUnt |
search_ | Read-only Search pull requests across the Origin-hosted repositories the caller can read, written in GitHub's pull request search syntax. |
pull_ | Read-only Read one Origin-hosted pull request through a single view: summary, files, commits, reviews, comments, or threads. |
get_ | Read-only Read what an open Origin-hosted pull request needs before it can merge, as Origin evaluates it at headSha. |
get_ | Read-only Fetch one image, recording, or file attached to an Origin-hosted pull request. |
upload_ | Writes Upload one image or video for an Origin-hosted repository's pull requests and return url, a cursor.com user-attachments URL that only readers of the repo |
create_ | Writes Create a pull request from an already-pushed branch. |
update_ | Writes Update a pull request's title, description, and lifecycle through the public fields. |
update_ | Writes Retarget a pull request's base branch, stack it on another pull request, or move it off its stack. |
merge_ | Destructive Merge a pull request, or a stack up to and including it. |
create_ | Writes content other people see Submit a comment, approval, or request-changes review on a pull request. |
update_ | Writes content other people see Correct the body of an existing pull request review. |
dismiss_ | Destructive Dismiss a submitted approve or request-changes review. |
create_ | Writes content other people see Create a general discussion comment on a pull request. |
create_ | Writes content other people see Create a file-level, single-line, or line-range inline comment, optionally against a specific pull request version. |
reply_ | Writes content other people see Reply to an existing review thread by thread ID. |
update_ | Writes content other people see Resolve or reopen a review thread by thread ID. |
update_ | Writes content other people see Correct an existing pull request comment body. |
update_ | Writes Replace every label on a pull request with the provided names. |
create_ | Writes Create a repository label so update\_pull\_request\_labels can apply it. |
request_ | Writes content other people see Request reviewers on a pull request. |
remove_ | Writes content other people see Remove requested reviewers from a pull request. |
checks_ | Read-only Read checks for one target in an Origin-hosted repository: a pull request, commit, suite, or run. |
rerun_ | Writes content other people see Ask the CI app that reported a check run to run it again. |
list_ | Read-only List the rulesets on an Origin-hosted repository as summaries: id, name, kind, enforcement, included and excluded ref name patterns, the rule types pr |
get_ | Read-only Read one ruleset on an Origin-hosted repository by its id from list\_rulesets: name, description, kind, enforcement, included and excluded ref name pa |
get_ | Read-only Read who can access an Origin-hosted repository. |
Installation
Follow the installation guide for supported clients, authentication and required permissions.
Add Origin MCP server to Claude Code
Run this in your terminal:
If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.
Add Origin MCP server to Cursor
Add it with the Add to Cursor button below, or add it to .cursor/mcp.json in your project (~/.cursor/mcp.json for every project):
Add Origin MCP server to VS Code
Add it to .vscode/mcp.json in your workspace. VS Code uses servers rather than mcpServers. Or run MCP: Add Server from the Command Palette and choose HTTP.
Add Origin MCP server to Codex
Run this in your terminal:
Or add it to ~/.codex/config.toml:
If the server uses OAuth, sign in with codex mcp login origin.
Add Origin MCP server to Claude
Add it as a custom connector with this URL:
- Open Customize, then Connectors.
- Click + Add, then Add custom connector.
- Name it, paste the URL and click Continue.
- Choose how to sign in, then click Add.
On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.
Add Origin MCP server to other clients
For any other client that connects to remote MCP servers over HTTP, use this URL:
Sources
Documentation and source code reviewed on 17 November 2026.