The MokoGIT MCP server puts your entire forge inside your AI assistant. Install it with a single npm command and Claude (or any MCP-compatible client) can manage repositories, issues, pull requests, CI/CD, releases, org governance, and wikis on your MokoGIT instance — safely, through your own token. It's the same platform you use in the browser, now driveable in natural language.
What it is
@mokoconsulting/mcp-mokogit is a Model Context Protocol (MCP) server that exposes your MokoGIT (Gitea-fork) instance to AI assistants. It authenticates with a per-role MokoGIT token and turns forge operations into tools your assistant can call directly — no copy-pasting API calls.
Install (npm)
The @mokoconsulting/mcp-* servers are published to public npm. Install globally:
npm install -g @mokoconsulting/mcp-mokogit
Or run on demand without installing:
npx -y @mokoconsulting/mcp-mokogit
Requires Node.js 20+. The packages are also mirrored to the MokoGIT registry; to pull from there instead, point the scope at it once in your ~/.npmrc:
@mokoconsulting:registry=https://git.mokoconsulting.tech/api/packages/MokoConsulting/npm/
Configure
Add it to your MCP client (e.g. Claude Desktop / Claude Code) config, pointing at your MokoGIT host and token:
{
"mcpServers": {
"mokogit": {
"command": "npx",
"args": ["-y", "@mokoconsulting/mcp-mokogit"],
"env": {
"MOKOGIT_URL": "https://git.mokoconsulting.tech",
"MOKOGIT_TOKEN": "<your-token>"
}
}
}
}
Tokens are per-role (admin, CI, read-only, …) so you scope exactly what the assistant can do.
Tooling
The server ships a comprehensive tool set covering the whole forge:
- Repositories & files — create/edit/fork/mirror repos, read/write/delete files, branches, commits, compare, diffs, tags, contents & trees.
- Issues & project management — create/edit/search issues, comments, labels, milestones, dependencies, statuses, priorities, bulk operations, timelines.
- Pull requests & code review — open/merge/update PRs, reviews, review comments, requested reviewers, merge-by-base/head, diffs, commits.
- Actions (CI/CD) — list/inspect runs and jobs, read job logs, dispatch workflows, rerun/rerun-failed, artifacts, enable/disable workflows, runner registration.
- Organizations & governance — org settings, teams, members, org/repo variables & secrets, org-wide branch/tag protection, push & repo-default policies, sync profiles (platform content sync with configurable rules).
- Wiki — create/edit/delete wiki pages, revisions, search.
- Releases & packages — create/edit releases and assets, list/delete packages and versions.
- Admin & users — user/org administration, tokens, SSH/GPG keys, webhooks, cron, runners.
Related MCP servers
The MokoGIT MCP is part of the @mokoconsulting/mcp-* family — mcp-mokossh (server ops), mcp-mokomysql (databases), mcp-mokomonitor (monitoring), mcp-mokobackup (backups), mcp-mokodreamhost, mcp-mokowindows, and mcp-mokosuite (Joomla/MokoSuite). Each installs the same way (npm install -g @mokoconsulting/mcp-<name>).
Get help
Open a support ticket or call (931) 279-6313.