Guides

What does a GitHub MCP server read, and what stays out?

GitHub is where the code, the issue thread, and the review comment already live. This guide covers the seven tools, the token permissions that make them work, the five connection steps, and how to ask the Agent to keep a review queue current.

Three facts to cite

FactValueWhy it matters
VersionMesocosm Desktop 0.1.5, checked 2026-10-29; MCP spec revision 2026-07-28The GitHub card and its 7 tools are missing in older builds
PermissionPAT; 7 tools; Contents, Issues, Pull requests: ReadThe token decides visibility; the tools are all read-only
Limit100 items per page; read-only header plus read-only toolsets; no Actions toolA large backlog needs filters and paging

Seven tools for code, issues, and reviews

ToolWhat it readsMain argument
get_meThe authenticated user behind the tokennone
search_repositoriesRepositories matching a queryquery
get_file_contentsA file or directory at a path and refowner, repo, path
list_issuesIssues in one repositoryowner, repo, state
issue_readOne issue with its commentsissue number
list_pull_requestsPull requests in one repositoryowner, repo, state
pull_request_readOne pull request with files and reviewspull request number

Start with get_me after connecting. It answers a cheap question and proves the token, the network path, and the tool registration in one call, before you spend a request on a real query.

The only permissions you need

ResourcePermissionUsed by
ContentsReadget_file_contents
IssuesReadlist_issues, issue_read
Pull requestsReadlist_pull_requests, pull_request_read
MetadataReadRequired by GitHub for any fine-grained token

Nothing else. A token with write permissions produces no extra tool, because Mesocosm sends a read-only header and registers only read toolsets. The narrow token is also the one an organization is most likely to approve.

Fine-grained tokens start with no repository access. You select the repositories when you create the token, so the GitHub MCP server sees exactly that set, no more.

Is GitHub MCP read-only?

Yes for the seven registered tools. Read-only is enforced twice: Mesocosm registers only read toolsets and sends a read-only header, and the token you create has only Read permissions. A write cannot start because no write tool exists, and the upstream token would refuse it.

ToolPermission it needsCan it write?What it cannot do
get_meMetadata: ReadNoChange the profile or account settings
search_repositoriesMetadata: ReadNoCreate, rename, or delete a repository
get_file_contentsContents: ReadNoCommit, push, or edit a file
list_issuesIssues: ReadNoOpen, close, label, or assign an issue
issue_readIssues: ReadNoComment on or edit an issue
list_pull_requestsPull requests: ReadNoMerge, approve, or request changes
pull_request_readPull requests: ReadNoPush a commit or resolve a thread

Three things the connector does not do, even when the catalog card mentions them:

  • Actions. Workflows, runs, and logs are not exposed in 0.1.5.
  • Writes. No issue, comment, review, or merge action is registered.
  • Admin. Repository settings, secrets, members, and organization policy sit outside these tools.

Connect GitHub in five steps

  1. Open MCP Plugins. Find the GitHub card under Developer tools. Confirm a read-only tag, 7 tools, and a Connect button.
  2. Create a fine-grained PAT. In GitHub, choose the owner, select only the repositories you need, and grant Contents, Issues, and Pull requests read access.
  3. Paste the token. Click Connect, paste github_pat_..., then Connect with token. The value goes to the OS credential store.
  4. Activate. Click Activate and wait for the card to read active.
  5. Run one real read. Ask for the README of a repository, then ask for its open issues.

The catalog is curated: you cannot add an arbitrary MCP server URL in 0.1.5, and a server configured by hand in an older build stays visible but read-only. Activation is per user, so the tools are available to Agents in every Space once the card is active, with no per-Space binding.

Verify the connection

Three checks, in order:

  1. The card is active and shows 7 tools.
  2. A test call returns file content or issue titles, not an empty array.
  3. The Agent can turn the result into a view or a scheduled task.

An empty array from list_issues usually means the filter is wrong or the token cannot see that repository. A 404 on a repository you know exists is a token scope problem, not a connection problem.

"List the open issues in github/github-mcp-server and group them by label."

Ask the Agent to build it

A chat read is a demo. Tell the Agent what the recurring view should contain, and it builds it:

"Read the open issues in github/github-mcp-server, group them by label, and turn them into a list that refreshes every morning."

The Agent calls the GitHub tools, stores the result in Space data, and builds the list and schedule. You review the result; you do not write the glue. The MCP connection supplies the read; the Agent handles the integration and the app.

Two limits

Read-only, and no Actions

The seven tools read. They do not open issues, comment, merge, or change state. There is also no Actions tool in this build: workflows, runs, and logs are not exposed, even though a catalog description may mention Actions.

Outlook Email is a separate official connector with mail write actions; the GitHub connector is not a template for it. If you need to write, do it in GitHub with the account that owns that permission.

A token sees only what it was granted, 100 rows at a time

A repository outside the token's selection returns nothing useful, and every list is capped at 100 items per page. For a busy repository, filter by state, label, or date and page through the result instead of expecting one complete list.

Common questions

Does the GitHub MCP server use OAuth?

No. Mesocosm connects with a fine-grained personal access token (github_pat_, or a classic ghp_). You create it in GitHub, grant read access to the repositories you need, and paste it once. The token is stored in the OS credential store on your machine.

Can it read private repositories?

Yes, if the token was created for those repositories. Fine-grained tokens start with no repository access, so you select them when you create the token. A missing private repository is almost always a token selection problem, not an MCP connection problem.

Is there an Actions tool?

No. The seven registered tools cover your profile, repository search, file contents, issues, and pull requests. Workflows, runs, and logs are not exposed in 0.1.5, even if the catalog card mentions Actions.

What about rate limits?

GitHub applies its own limits per token, and a call over the ceiling fails with a rate-limit error and a reset time. Reduce page sizes, store results in Space data instead of refetching, and retry after the reset. Mesocosm does not retry loops on your behalf.

Sources