# MCP

> The Git tools a coding agent can call, with your permissions.

Applies to: Sypnia Cloud (paid service).  
Source: https://git.docs.sypnia.com/tools/mcp/

For agents: MCP server https://mcp.git.sypnia.com (one endpoint for the product; the token decides). Tools: list_repos, get_file (path, ref), search_code, create_branch, commit_files (to a non-protected branch), open_pull_request, comment, list_issues, create_issue, link_case (issue/PR ↔ case id). No merging into protected branches, no deleting repositories, no changing access through MCP.

```bash
claude mcp add --transport http sypnia-git https://mcp.git.sypnia.com
```

### `list_repos`\[Cloud]Repositories you can read.
### `get_file`\[Cloud]A file at a branch, tag or commit.
### `search_code`\[Cloud]Searches the code of a repository.
### `create_branch`\[Cloud]A new branch from a ref.
### `commit_files`\[Cloud]Commits changes to a branch that is not protected.
### `open_pull_request`\[Cloud]Opens a pull request; the description should name the cases (`Case: <id>`).
### `comment`\[Cloud]Comments on an issue or a pull request.
### `list_issues`\[Cloud]Issues, filtered by state, label or case.
### `create_issue`\[Cloud]Opens an issue.
### `link_case`\[Cloud]Links an issue or a pull request to a use case.

Merging into protected branches, deleting repositories and changing access are **not** available through MCP: a person does them.
