Reference
Auto-generated reference for all CLI commands and MCP tools.
Run go run ./cmd/madtea-dev docs generate to regenerate.
| Domain | CLI Commands | MCP Tools | File |
|---|---|---|---|
| Issues | 64 | 1 | issues.md |
| Pull Requests | 44 | 1 | pull-requests.md |
| Releases | 14 | 1 | releases.md |
| Labels | 9 | 1 | labels.md |
| Milestones | 7 | 1 | milestones.md |
| Repository | 90 | 3 | repo.md |
| Organizations | 58 | 1 | org.md |
| Users | 79 | 1 | user.md |
| CI/CD & Actions | 31 | 1 | actions.md |
| Wiki | 6 | 1 | wiki.md |
| Files & Content | 9 | 1 | files.md |
| Notifications | 6 | 1 | notifications.md |
| Commits | 8 | 1 | commits.md |
| Branches & Tags | 10 | 2 | branches-tags.md |
| Admin | 33 | 1 | admin.md |
| Destructive | 0 | 0 | destructive.md |
| Packages | 8 | 1 | packages.md |
| Search | 4 | 1 | search.md |
| Stats | 6 | 1 | stats.md |
| Workflows | 7 | 5 | cli-workflows.md |
| Git Objects | 0 | 1 | git-objects.md |
| Git | 25 | 13 | cli-git.md |
| Setup | 14 | 8 | cli-setup.md |
| ActivityPub | 3 | 1 | activitypub.md |
| Miscellaneous | 12 | 1 | misc.md |
Total: 547 CLI commands, 50 MCP tools
Prompts: 8 — MCP workflow prompts exposed as slash commands; invoke as /mcp__madtea__<name> (see prompts.md).
- ActivityPub Inspect ActivityPub federation actors for repositories and users.
- Admin Administer the instance, managing users, organizations, cron jobs, global webhooks, runners, and unadopted repositories.
- Branches & Tags Manage remote branches and tags, including branch protection rules.
- CI/CD & Actions Drive Forgejo/Gitea Actions CI/CD, covering workflows, runs, jobs, logs, artifacts, runners, secrets, variables, and manual dispatch.
- Commits List, inspect, and compare commits, and manage their commit statuses.
- Destructive Explains why madtea never exposes an operation that destroys unrecoverable work or data, and where to perform a genuine hard delete instead.
- Files & Content Manage repository file contents, directory listings, and batch file operations.
- Git Local git operations on the working checkout, including staging, committing, branching, worktrees, and inspecting local-only refs.
- Git Objects Read and write low-level git objects through the forge API, including blobs, trees, refs, notes, tag objects, and patches.
- Issues Create, edit, and triage issues, with comments, attachments, labels, dependencies, deadlines, time tracking, reactions, and dependency-aware ranking.
- Labels Create, update, and delete repository labels, and assign or clone them across issues and repositories.
- MCP Prompts madtea registers its golden-path workflows as MCP prompts.
- Milestones Create, update, close, reopen, and list repository milestones.
- Miscellaneous Assorted utilities, including markdown and markup rendering, server info, instance settings, signing keys, templates, and topic search.
- Notifications List notification threads and mark them as read, globally or scoped to a single repository.
- Organizations Manage organizations and their members, teams, webhooks, secrets, variables, runners, and org-level labels.
- Packages List, inspect, and delete registry packages, along with their versions, files, and repository links.
- Pull Requests Open, review, and merge pull requests, covering diffs, checks, review threads, reviewers, conflict handling, and merge control.
- Releases Publish and manage releases and their downloadable assets, including lookup by tag and latest-release resolution.
- Repository Manage repositories and their settings, including creation, forking, transfer, collaborators, branch protection, webhooks, mirrors, deploy keys, and topics.
- Search Search across the instance for issues, pull requests, repositories, and users.
- Setup Set up and configure madtea, covering repository initialization, authentication, installation, updates, the MCP server, shell completion, and raw API access.
- Stats Report repository, organization, issue, contributor, and instance-usage statistics.
- Users Manage user accounts and profiles, including SSH and GPG keys, emails, access tokens, OAuth2 apps, follows, stars, subscriptions, and quotas.
- Wiki Create, read, update, and delete repository wiki pages and view their revision history.
- Workflows High-level git workflow commands for branch completion, orchestration, ADR management, and merged-branch pruning.