Reference

Auto-generated reference for all CLI commands and MCP tools. Run go run ./cmd/madtea-dev docs generate to regenerate.

DomainCLI CommandsMCP ToolsFile
Issues641issues.md
Pull Requests441pull-requests.md
Releases141releases.md
Labels91labels.md
Milestones71milestones.md
Repository903repo.md
Organizations581org.md
Users791user.md
CI/CD & Actions311actions.md
Wiki61wiki.md
Files & Content91files.md
Notifications61notifications.md
Commits81commits.md
Branches & Tags102branches-tags.md
Admin331admin.md
Destructive00destructive.md
Packages81packages.md
Search41search.md
Stats61stats.md
Workflows75cli-workflows.md
Git Objects01git-objects.md
Git2513cli-git.md
Setup148cli-setup.md
ActivityPub31activitypub.md
Miscellaneous121misc.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.