Basic information

Transport
Streamable HTTP
Authentication
OAuth
Category
Author
gitcafe
Quality
100 (A+)
Views
114

About GitCafe MCP Server

Read GitCafe repositories and work on issues, pull requests, reviews and CI from any MCP client.

GitCafe is a remote MCP server in the Developer Tools category listed in the AddMCP.net directory, published by GitCafe. It exposes 23 tools, including get_me, list_repositories, get_repository, list_refs and more. Supported transport: Streamable HTTP. Related topics: ci, code-review, git, issues, pull-requests.

Connection details

https://git.cafe/mcp

Setup

claude mcp add gitcafe --transport http https://git.cafe/mcp

GitCafe MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "gitcafe": {
            "type": "http",
            "url": "https://git.cafe/mcp"
        }
    }
}

GitCafe MCP Server tools

  • get_me — Read who this connection is signed in as and what it may reach: your actor identity and, for an OAuth connection, the repositories and permissions the user approved and when it expires. Returns null when the credential names no user. Call it first to learn which repositories the other tools can reach: every repository the user can access, or the ones they selected (adding one to a selection needs the user to connect again).
    (no parameters)
  • list_repositories — List the repositories this connection can read, oldest first, one page at a time, narrowed by owner, topic or name prefix (filters combine). Signed in, it lists the approved repositories; without sign-in it lists public repositories only, needs owner or topic, and q is not available. Pass an item's owner and name to the other tools.
    limit:integer, owner:string, q:string, topic:string, after:string
  • get_repository — Read one repository: its identity, description, topics, visibility, default branch, fork parent, version and timestamps. Use it to find the default branch before list_refs, list_tree or read_file, and the id before create_pull_request.
    owner:string*, repo:string*
  • list_refs — List a repository's branches or its tags, sorted by name, one page at a time, optionally narrowed by a name substring. Each ref carries the commit it points to and, for an annotated tag, its signature check. Pass a ref's name as ref to list_tree, read_file or search_code, or its target commit's oid as oid to pin later reads to one commit.
    owner:string*, repo:string*, kind:string, search:string, after:string, limit:integer
  • list_tree — List the entries of one directory of a repository, not recursively, at a branch, tag or commit, one page at a time; later pages stay on the same commit. Each entry says whether it is a file, directory, submodule or symbolic link. Omit path for the root; pass a tree's path back to descend and a blob's path to read_file.
    owner:string*, repo:string*, ref:string, oid:string, path:string, after:string, limit:integer
  • read_file — Read one file of a repository at a branch, tag or commit, a window of lines at a time. A text file comes with its line window and nextLine to continue; a binary file comes with null content. A window holds at most maxLines lines and 64 KiB; a file over 1 MiB cannot be read. Take path from list_tree or search_code.
    owner:string*, repo:string*, ref:string, oid:string, path:string*, startLine:integer, maxLines:integer
  • search_code — Search the text files of a repository at a branch, tag or commit for a literal string, optionally within one file or directory. Matches come one per matching line, in file and line order, with context lines; truncated says when maxMatches or a size limit cut them short, so narrow by path or raise maxMatches. Pass a match's path and lineNumber to read_file.
    owner:string*, repo:string*, ref:string, oid:string, path:string, pattern:string*, ignoreCase:boolean, maxMatches:integer, contextLines:integer
  • list_issues — List a repository's issues, newest first, one page at a time, optionally narrowed by workflow state or by words in the title or description; total counts every match. Pass an issue's number as issue to issue_read, update_issue and add_comment, and reuse the label, assignee and milestone IDs it shows when creating issues.
    owner:string*, repo:string*, after:string, limit:integer, state:string, q:string
  • issue_read — Read one issue, one facet per call. detail (the default): the issue, with its version and what you may do to it. comments: one page of its comments, oldest first, with the IDs and versions update_comment takes. Take the issue number from list_issues or a create_issue receipt.
    owner:string*, repo:string*, issue:integer*, facet:string, limit:integer, after:string
  • list_pull_requests — List a repository's pull requests, oldest first, one page at a time, optionally narrowed by lifecycle state or by text in the title. Each item carries the number, head commit and version the other pull request tools take. For a pull request's description, merge readiness, reviews, commits, files or comments call pull_request_read.
    owner:string*, repo:string*, limit:integer, state:string, after:string, q:string
  • pull_request_read — Read one pull request, one facet per call. detail: the pull request, with its version, headOid, mergeRoute and what you may do to it. status: merge readiness and checks, with the version, headOid and baseOid merge_pull_request needs. reviews, commits, files, comments: one page each; files carries the version and paths get_pull_request_diff takes, comments the IDs and versions add_comment and update_comment take. merge_status: a merge operation's outcome; poll an accepted merge with backoff, as accepted is not completed. Take the number from list_pull_requests or a create_pull_request receipt.
    owner:string*, repo:string*, pull:integer*, facet:string*, limit:integer, after:string, expectedVersion:integer, filter:string, operationId
  • get_pull_request_diff — Read the patch of chosen changed files of a pull request, pinned to the version the files were listed at. Each file comes with its hunks and line origins; a binary or too-large file has no hunks, and hunksOmitted marks a file whose hunks did not fit the response, so request fewer paths. Take paths and expectedVersion from pull_request_read facet files; the line numbers are what add_comment target pull_inline anchors to.
    owner:string*, repo:string*, pull:integer*, paths:array*, expectedVersion:integer*
  • create_issue — Create an issue in a repository with a title and, optionally, a description, priority, due date, workflow state, labels, assignees and a milestone. Returns the new issue's number and the version its next write takes. Take label, assignee and milestone IDs from the issues list_issues or issue_read return, and your own actorId from get_me. There is no idempotency key: on an unknown outcome, list_issues before trying again rather than retrying automatically.
    owner:string*, repo:string*, title:string*, description, priority:integer, dueDate, state:string, labelIds:array, assigneeIds:array, milestoneId:string|null
  • update_issue — Change one issue, one action per call: edit its title, description, priority, due date or open workflow state; close it as completed or canceled; or reopen it. Returns the version the next write takes. Take the number and current version from issue_read, list_issues or the last receipt; the write fails if the issue changed since. An edit overwrites the previous values, which are not kept; title, description and open/closed changes also reach a linked GitHub issue. Labels, assignees and milestones cannot be changed with these tools.
    owner:string*, repo:string*, issue:integer*, action:string*, input*
  • add_comment — Post one comment, by target: on an issue; in a pull request's conversation; inline on a file or lines of a pull request's diff, anchored to an exact commit; or as a reply in an existing pull request thread, which inherits the thread's anchor. Returns the comment's id and version for update_comment, and for a pull request comment its threadId. For an inline comment take path and the commit (headOid for the right side and file comments, comparisonBaseOid for the left side) from pull_request_read facet files; for a reply take replyTo from facet comments. There is no idempotency key: on an unknown outcome, read the comments before trying again rather than retrying automatically.
    owner:string*, repo:string*, issue:integer, target:string*, input*, pull:integer, replyTo:string
  • update_comment — Change one comment, one action per call: edit the body of an issue or pull request comment, or resolve or unresolve a pull request thread. Returns the version the next write takes. Take the comment ID and current version from issue_read or pull_request_read facet comments or the last receipt; the write fails if the comment changed since. To resolve or unresolve, pass the thread's root comment (its threadId) and that root's version. An edit overwrites the old text, which is not kept; resolution stays in GitCafe and is not written to GitHub. Comments cannot be hidden or deleted with these tools.
    owner:string*, repo:string*, issue:integer, target:string*, comment:string*, action:string*, input*, pull:integer
  • merge_pull_request — Merge a pull request into its target branch with an explicit strategy, at the exact head, base and version you reviewed. Returns a merge operation: accepted is admitted but not merged yet, completed is merged, failed is not merged. Take headOid, baseOid and expectedVersion from pull_request_read facet status, and which strategies are allowed from its merge verdict; follow an accepted operation with facet merge_status, with backoff. A merge cannot be undone with these tools. On an unknown outcome, retry with the same requestId and input, never with a new key; a different input under the same requestId is rejected.
    owner:string*, repo:string*, pull:integer*, requestId:string*, expectedVersion:integer*, headOid:string*, baseOid:string*, strategy:string*
  • commit_changes — Commit file edits to a branch on the server, without a clone or push: write files (full content), delete, rename or change their mode, in one commit on the branch's exact current commit. Returns the job: succeeded with the new commit, failed when nothing was committed, or another state when the outcome is not confirmed. Take expectedOid from list_refs and blob OIDs for expected from read_file; pin every path you read and rewrite with expected, so a concurrent change fails the commit instead of being overwritten. On failed, read again and rebuild the edits; on an unconfirmed outcome, retry with the same requestId and input, never with a new key. Push rules apply as for a git push; protected branches may refuse it. Content is limited by this endpoint's request size; push larger changes with git.
    owner:string*, repo:string*, requestId:string*, branch:string*, expectedOid*, parents:array, edits:array*, message:string*, author:object*
  • ci_read — Read a repository's CI, one facet per call. runs: one page of Buildkite runs, newest first, narrowed by commit or state. run: one run by runId. checks: one page of the checks on a commit, with a summary over all of them. jobs: one page of a run's jobs. log: the end of a job's log. Runs, run and checks read what GitCafe recorded, including GitHub checks on a linked repository; jobs and log read Buildkite live and need the repository owner to have shared logs. Take the commit from pull_request_read (headOid) or list_refs, runId from a run or check, and jobId from facet jobs. Long text fields are cut to fit, and truncatedFields names them. CI cannot be started, rerun or cancelled with these tools.
    owner:string*, repo:string*, facet:string*, after:string, limit:integer, commit:string, state:string, runId:string, jobId:string, tailBytes:integer
  • create_pull_request — Open a pull request that merges a source branch of this repository or a fork into a target branch, with a title and optional description. Returns the new pull request's number and the version its next write takes. Take sourceRepo from get_repository (the fork's id, or this repository's) and the branch names from list_refs; the source branch must already be pushed with git or the Cafe CLI, as these tools cannot push. With a stable submissionKey, retrying after an unknown outcome returns the original pull request instead of a duplicate; without one, list_pull_requests before trying again rather than retrying automatically.
    owner:string*, repo:string*, sourceRepo:string*, source:string*, target:string*, title:string*, description, submissionKey:string
  • update_pull_request — Change one pull request, one action per call: edit its title, description or target branch; close it without merging (which also clears draft); reopen it; mark it as a draft; or mark it ready for review. Returns the version the next write takes. Take the number and current version from pull_request_read, list_pull_requests or the last receipt; the write fails if the pull request changed since. An edit overwrites the previous values, which are not kept; title, description and state changes also reach a linked GitHub pull request. Merging is merge_pull_request; reviewers, labels and assignees cannot be changed with these tools.
    owner:string*, repo:string*, pull:integer*, action:string*, input*
  • submit_review — Submit a review of a pull request at an exact commit and version: approve, request changes, or comment without a decision, with an optional overall body. Returns the review with its id, verdict and commit. Take commitOid (headOid) and expectedVersion from pull_request_read facet detail or status; the review fails if the pull request changed since, so read again and resubmit at the new head. To publish a draft review you saved in the GitCafe web UI, with its inline comments, pass its id and version as draft with the same verdict, body and commit it was saved with; these tools cannot create or read drafts. Approving or requesting changes on your own pull request is refused, and a submitted review cannot be withdrawn with these tools. On an unknown outcome, retry with the same requestId and input, which returns the original review; a different input under the same requestId is rejected.
    owner:string*, repo:string*, pull:integer*, verdict:string*, body:string, commitOid:string*, expectedVersion:integer*, draft:object, requestId:string*
  • submit_feedback — Send a report about GitCafe itself to the GitCafe team: a tool that failed or misbehaved, a confusing result, or a missing capability. Returns a reference to give the user for any follow-up; the report is not readable with these tools. Give a one-line summary, what you tried and what happened in body, and the tool name, request ID or problem code in context. A bug in the user's own repository is an issue for create_issue, not feedback. There is no idempotency key: on an unknown outcome, tell the user rather than retrying automatically, as a retry files a second report.
    kind:string, summary:string*, body:string, context:object

Overview

What is GitCafe?

The GitCafe MCP server is GitCafe's hosted endpoint at https://git.cafe/mcp that lets AI clients such as Claude and ChatGPT read repositories and, with your approval, work on issues, pull requests and reviews.

GitCafe is a Git hosting and code review service with stacked pull requests, optional two-way sync with GitHub, and a cafe CLI. The GitCafe MCP server is run by GitCafe itself. Public repositories can be read without signing in; signing in through OAuth unlocks private repositories and write tools, limited to the repositories and permissions you approve.

How to use GitCafe?

The server uses the Streamable HTTP transport at:

https://git.cafe/mcp

Read tools work on public repositories anonymously. Write tools and get_me trigger sign-in: your client opens a browser, you sign in with a verified GitCafe account, pick up to 50 repositories, review the permissions (read is on, write and admin start off) and choose Approve connection. GitCafe's docs warn never to paste a token or password into a connector's settings; the browser flow handles sign-in.

Claude Code

claude mcp add --transport http gitcafe https://git.cafe/mcp

Then run /mcp in Claude Code to sign in when you need private repositories or write access.

Claude Desktop / claude.ai

Open Customize → Connectors → Add → Add custom connector, enter a name and https://git.cafe/mcp, keep the detected sign-in and automatic registration options, then choose Add → Connect and approve the connection. GitCafe suggests leaving tools on Needs approval so you review each call.

Cursor

Add the server to ~/.cursor/mcp.json (or a project's .cursor/mcp.json):

{
  "mcpServers": {
    "gitcafe": {
      "url": "https://git.cafe/mcp"
    }
  }
}

VS Code

Add it to .vscode/mcp.json:

{
  "servers": {
    "gitcafe": {
      "type": "http",
      "url": "https://git.cafe/mcp"
    }
  }
}

GitCafe also documents a ChatGPT setup: with developer mode on, create an MCP app with the URL and keep OAuth.

Key features of GitCafe

  • Official, hosted by GitCafe; nothing to run locally.
  • Anonymous read access to public repositories: code, branches and tags, issues, pull requests, reviews and CI results.
  • OAuth connections scoped to the repositories you select (at most 50) and the permissions you grant; write and admin start turned off.
  • Full pull request workflow: read diffs, comment inline, submit reviews, resolve threads and merge (merging needs the pr:merge:write permission).
  • Issue management: create, edit, close, reopen and comment.
  • CI visibility through Buildkite runs, checks, jobs and log tails.
  • Repository rules apply to every action, and an app cannot push commits, create branches, start CI or delete repositories.
  • Connections last 30 days and can be revoked any time under Settings → Authorized Apps.

GitCafe tools

Our probe of the endpoint returned 21 tools:

  • Identity and repositories: get_me shows who the connection acts as and what it can reach; list_repositories and get_repository find repositories and their default branch.
  • Code: list_refs, list_tree, read_file and search_code browse branches, tags, directories and files, and run literal-string searches at any ref.
  • Issues: list_issues, issue_read, create_issue and update_issue.
  • Pull requests: list_pull_requests, pull_request_read, get_pull_request_diff, create_pull_request, update_pull_request, submit_review and merge_pull_request.
  • Comments: add_comment posts on issues, pull request conversations or inline on diff lines; update_comment edits comments and resolves threads.
  • CI: ci_read reads Buildkite runs, checks, jobs and logs.

Write tools take an expected version, so a stale write fails instead of overwriting someone else's change. merge_pull_request can return accepted before the merge finishes, so the agent should check until it reports completed.

Use cases of GitCafe

  • Exploring an unfamiliar public repository: "Find where the retry logic lives in this repo and explain it."
  • Reviewing a pull request: "Read the diff of PR 42, leave inline comments on risky changes, and request changes if tests are missing."
  • Triaging issues: "List open issues mentioning login and label the duplicates."
  • Checking CI: "Why did the latest run on this pull request fail? Show the end of the failing job's log."
  • Landing a stack: "Approve PR 18 at its current head and merge it once checks pass."

Troubleshooting GitCafe MCP Server

  • Private repositories are missing: anonymous access covers public repositories only, and a connection covers only the repositories you selected. Repositories created after you connected are not included; connect again to add them.
  • Tools stopped working after a month: a connection lasts 30 days. Reconnect from the client.
  • A REST API token is rejected: tokens for the REST API and for MCP are separate and not interchangeable. Use the MCP sign-in flow for the MCP server.
  • Rate limited: signed-in MCP requests count toward your account's API budget (1,000 per 60 seconds, multiplied by plan); anonymous requests are limited to 1,200 per hour per address.

Frequently asked questions

1 Is the GitCafe MCP server official?

Yes. GitCafe runs it at https://git.cafe/mcp and documents it in its account docs under "Connect an MCP app".

2 Do I need an account to use it?

Not for public repositories: the read tools work without signing in. Private repositories, write tools and get_me need a verified GitCafe account connected through OAuth.

3 Is GitCafe free?

GitCafe has a free plan, and private repositories are free during its public beta. Paid plans (Pro, Team and Enterprise) add storage and higher API rate limits.

4 Can the agent push code?

No. A connected app cannot create branches or commits, push, start or cancel CI, or administer or delete repositories. It can open pull requests from existing branches, review and, with permission, merge.

5 Does it work with Claude Code, Cursor and VS Code?

Yes. It is a standard Streamable HTTP endpoint; add the URL in each client's remote MCP configuration and sign in in the browser when prompted.

6 How do I revoke access?

Open Settings → Authorized Apps in GitCafe, find the app and choose Revoke access. The connection ends immediately.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬