gitea-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GITEA_TOKEN | Yes | Gitea API access token | |
| GITEA_BASE_URL | Yes | Gitea instance URL (e.g. https://gitea.example.com) | |
| GITEA_DEFAULT_REPO | No | Default repository name (avoid passing repo on every call) | |
| GITEA_DEFAULT_OWNER | No | Default repository owner (avoid passing owner on every call) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_issuesA | List issues in one Gitea repository. Paginated: page is 1-based, limit <= 100; keep paging until a page returns fewer than |
| get_issueA | Fetch one issue by its |
| create_issueA | Create an issue. |
| update_issueA | Update one issue by |
| delete_issueA | PERMANENTLY delete an issue by |
| search_issuesA | Search issues (and pull requests) across ALL repositories the token can see, by keyword/type/state/labels. Use for 'find issues about X' or duplicate detection across repos; set type='issues' to exclude pull requests. For listing one repo's issues use list_issues instead. |
| list_commentsA | List comments on one issue by its |
| create_commentA | Add a comment to an issue by its |
| update_commentA | Edit a comment by its |
| delete_commentA | Delete a comment by its |
| list_labelsA | List labels in a repo. Paginated (page 1-based, limit <= 100); page until a page returns fewer than |
| create_labelA | Create a label. |
| update_labelA | Update a label by |
| delete_labelA | Permanently delete a label by |
| add_issue_labelsA | Add labels to an issue by its |
| remove_issue_labelA | Remove ONE label from an issue. Takes the label |
| replace_issue_labelsA | REPLACE the issue's ENTIRE label set. |
| clear_issue_labelsA | Remove ALL labels from an issue by its |
| list_milestonesA | List milestones in a repo. Paginated (page 1-based, limit <= 100). RISK: Gitea's DEFAULT returns only OPEN milestones — pass state='all' or 'closed' if you need closed/completed ones. Each milestone has |
| get_milestoneA | Fetch one milestone by |
| create_milestoneA | Create a milestone. |
| update_milestoneA | Update a milestone by |
| delete_milestoneA | Permanently delete a milestone by |
| resolve_repoA | Detect baseUrl/owner/repo from a git repository's remotes (SSH or HTTPS). Reads |
| list_my_reposA | List repositories the authenticated token's user can access (across ALL owners/orgs). Paginated (page 1-based, limit <= 100). Each repo object is large — keep |
| gitea_statusA | Report the resolved credential state: every discovered credential candidate, its source (gitea-config / env / credential-store), the auth schemes that will be tried, and per-scheme outcome (pending / active / exhausted with redacted last error). Secrets are NEVER returned — only a |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| triage_issues | List open issues in a repo, read context on ambiguous ones, and propose priority labels + next actions. Returns an instruction the model executes via the tools. |
| summarize_issue | Read one issue plus its comment thread and produce a concise status: decisions, open questions, and a recommended next action. |
| audit_labels | List every label in a repo and report duplicates, inconsistent colors, missing descriptions, and a proposed cleanup. Read-only analysis; applies nothing. |
| milestone_report | List all milestones in a repo, compute completion % for each, and flag overdue milestones that still have open issues. Read-only. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| field-reference | Gitea object field reference (Issue, Label, Milestone, Comment, Repo, User) |
| label-guide | Label management guide: name-vs-id matrix, conventions, safe/unsafe operations |
| tool-cookbook | Task-to-tool recipes: discover, read, create, edit, destructive ops, pagination, errors |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/amonstack/gitea_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server