Skip to main content
Glama
archish9

GitHub MCP Server

by archish9

list_branches

Display all repository branches with the current branch identified. Use this tool to view branch structure and determine active working branches in Git repositories.

Instructions

List all branches in the repository.

Shows all local branches with current branch marked.

Args: repo_path: Path to the repository directory

Returns: JSON list of branches with current branch indicator

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_pathYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/archish9/github-mcp-small'

If you have feedback or need assistance with the MCP directory API, please join our Discord server