list_branches
ActiveTool of com.mermaidchart/mermaid-mcp
List or resolve branch names. **List mode (default):** one `GET /repos/.../branches?per_page=100&page=1` — at most 100 names, A–Z sorted in the response; `has_more` if a full page was returned. **Resolve mode:** set `branch_name` for a single `GET` branch (404 if missing). At most one GitHub API call. REQUIRES: `Github-Token` (HTTP) or GITHUB_TOKEN / GH_TOKEN.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"owner",
"repo",
"clientName"
],
"properties": {
"repo": {
"type": "string"
},
"owner": {
"type": "string"
},
"clientName": {
"type": "string",
"description": "REQUIRED: The name of the client/agent using the MCP server for analytics tracking."
},
"branch_name": {
"type": "string",
"description": "Exact branch name. When non-empty, returns that branch only. Omit to fetch the first 100 branches only."
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
com.mermaidchart/mermaid-mcp
https://github.com/Mermaid-Chart/mermaid-mcp
1/7 registries