get_repository
One repository by id, with its provider, owner, name, default branch, address, privacy, component and disconnected stamp.
Return one repository of a project: the provider, the owner and name as the provider spells them, the full name, the branch releases are cut from, the address to clone from, whether it is private, the component it builds, who registered it and whether it is set aside. Read it when a story, a release or a deployment names a repository you need the details of, or to follow a repository id from a listing.
A repository of a project the token may not see, or any repository read through a guest token, is unknown rather than forbidden.
Requires ability
The token behind the MCP session must hold it, or the call is refused with TOKEN_MISSING_ABILITY.
Runs the same action as
The REST endpoint and this tool share one action, so validation, permissions and events are identical.
Annotations
It reads and never changes anything.
Arguments
repository_id*stringUUID of the repository to fetch.
What it returns
{ "data": { "id": "b1c2d3e4-f5a6-4b7c-8d9e-0f1a2b3c4d5e", "project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13", "component_id": "c2d3e4f5-a6b7-4c8d-9e0f-1a2b3c4d5e6f", "provider": "github", "owner": "zuse-technologies", "name": "customer-portal-web", "full_name": "zuse-technologies/customer-portal-web", "default_branch": "main", "url": "https://github.com/zuse-technologies/customer-portal-web", "private": true, "connected_by": "9b2e4f1a-3c5d-4e6f-8a7b-1c2d3e4f5a6b", "connected_at": "2026-10-20T09:20:00+00:00", "disconnected_at": null, "created_at": "2026-10-20T09:20:00+00:00", "updated_at": "2026-10-27T11:30:00+00:00" }}How it fails
RESOURCE_NOT_FOUNDunknown repository_id, a repository of a project outside the token's scope or the person's visibility, or any repository read through a guest token.
TOKEN_MISSING_ABILITYtoken lacks repository:view.
How is this guide?
Last updated on