What It Does
mcp-mokogit bridges AI assistants like Claude Code with the MokoGIT REST API v1. It supports multiple named connections, so you can manage several MokoGIT instances (or mirrors) from a single server, and authenticates with MokoGIT's native Authorization: token header.
Tool Naming
Tools are called as mcp__mokogit__<verb> (for example mcp__mokogit__issue_create). The canonical short names use the mokogit_* prefix; the older git_* names remain as deprecated aliases so existing configs keep working. Set MOKOGIT_MCP_LEGACY_ALIASES=0 to expose only the canonical names.
Tool Areas (118 tools)
Install
Requires Node.js 20+ and a MokoGIT access token (Settings → Applications → Generate Token).
npm install -g @mokoconsulting/mcp-mokogit
Or build from source:
git clone https://git.mokoconsulting.tech/MokoConsulting/mcp-mokogit.git
cd mcp-mokogit
npm install
npm run build
Configuration
Create ~/.mcp_mokogit.json (override the path with MOKOGIT_MCP_CONFIG):
{
"defaultConnection": "moko",
"connections": {
"moko": {
"baseUrl": "https://git.mokoconsulting.tech",
"token": "your-mokogit-access-token"
}
}
}
Claude Code Registration
{
"mcpServers": {
"mokogit": {
"command": "node",
"args": ["/path/to/mcp-mokogit/dist/index.js"]
}
}
}
Source & License
Open source under GPL-3.0-or-later. Repository: MokoConsulting/mcp-mokogit