Skip to content

Origin MCP server

  • MCP server
  • 40 callable tools
  • 6 capabilities
Installation guide

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.

Origin MCP server tools
ToolWhat it does
get_repositoryRead-only Get one Origin repository by owner and name, including default branch, mirror state, visibility, and merge settings.
list_repositoriesRead-only List Origin repositories belonging to an owner slug.
list_namespacesRead-only List the Origin namespaces (owner slugs) the caller can list repositories in, ordered by slug.
list_group_membersRead-only List the direct user members of one Origin review or ownership group visible to the caller for a repository.
create_repositoryWrites Create an empty Origin-hosted repository.
get_file_contentsRead-only Read one path at a ref in an Origin-hosted repository.
get_git_treeRead-only List a git tree in an Origin-hosted repository at a tree SHA, commit SHA, branch, tag, or HEAD.
grep_contentsRead-only Search file contents across one Origin-hosted repository at a ref, which defaults to the default branch.
list_branchesRead-only List branch names and tip commit SHAs for an Origin-hosted repository.
list_commitsRead-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_readRead-only Read one commit in an Origin-hosted repository.
compare_commitsRead-only Compare two refs of an Origin-hosted repository relative to their merge base.
sync_mirrorDestructive, reaches outside Origin Sync a mirrored repository from upstream, waiting for a ref or optional SHA.
list_pull_requestsRead-only List pull requests in an Origin-hosted repository, filtered by state, head, author, base, stackId, mergeCommitShas, or inclusive mergedSince/mergedUnt
search_pull_requestsRead-only Search pull requests across the Origin-hosted repositories the caller can read, written in GitHub's pull request search syntax.
pull_request_readRead-only Read one Origin-hosted pull request through a single view: summary, files, commits, reviews, comments, or threads.
get_pull_request_requirementsRead-only Read what an open Origin-hosted pull request needs before it can merge, as Origin evaluates it at headSha.
get_pull_request_attachmentRead-only Fetch one image, recording, or file attached to an Origin-hosted pull request.
upload_pull_request_attachmentWrites 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_pull_requestWrites Create a pull request from an already-pushed branch.
update_pull_requestWrites Update a pull request's title, description, and lifecycle through the public fields.
update_pull_request_baseWrites Retarget a pull request's base branch, stack it on another pull request, or move it off its stack.
merge_pull_requestDestructive Merge a pull request, or a stack up to and including it.
create_pull_request_reviewWrites content other people see Submit a comment, approval, or request-changes review on a pull request.
update_pull_request_reviewWrites content other people see Correct the body of an existing pull request review.
dismiss_pull_request_reviewDestructive Dismiss a submitted approve or request-changes review.
create_pull_request_commentWrites content other people see Create a general discussion comment on a pull request.
create_pull_request_inline_commentWrites content other people see Create a file-level, single-line, or line-range inline comment, optionally against a specific pull request version.
reply_pull_request_review_threadWrites content other people see Reply to an existing review thread by thread ID.
update_pull_request_review_threadWrites content other people see Resolve or reopen a review thread by thread ID.
update_pull_request_commentWrites content other people see Correct an existing pull request comment body.
update_pull_request_labelsWrites Replace every label on a pull request with the provided names.
create_labelWrites Create a repository label so update\_pull\_request\_labels can apply it.
request_pull_request_reviewersWrites content other people see Request reviewers on a pull request.
remove_pull_request_reviewersWrites content other people see Remove requested reviewers from a pull request.
checks_readRead-only Read checks for one target in an Origin-hosted repository: a pull request, commit, suite, or run.
rerun_checksWrites content other people see Ask the CI app that reported a check run to run it again.
list_rulesetsRead-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_rulesetRead-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_repository_accessRead-only Read who can access an Origin-hosted repository.

Installation

Add Origin MCP server to Claude Code

Run this in your terminal:

claude mcp add --transport http origin https://api.origin.cursor.com/mcp

If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.

Sources

Documentation and source code reviewed on 17 November 2026.