forgejo-mcp-rs
by brechanbech
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RUST_LOG | No | Log verbosity; logs go to stderr (stdout is the MCP transport), e.g. RUST_LOG=forgejo_mcp_rs=debug. | |
| FORGEJO_URL | No | Instance base URL (e.g. https://codeberg.org or https://gitea.com). | https://codeberg.org |
| FORGEJO_TOKEN | No | Alternative name for the mandatory read token, used instead of FORGEJO_TOKEN_READ_ONLY. | |
| FORGEJO_FLAVOR | No | forgejo, gitea, or auto to detect from the instance version. Only the Actions (CI) tools consult it. | auto |
| FORGEJO_TOKEN_WRITE | No | Write/delete-scoped token. Providing it enables the write tools (which also require entering write mode); omit it for a pure read-only server. | |
| FORGEJO_UPLOAD_ROOT | No | Directory upload_release_asset may read files from. Uploading is disabled while this is unset. | |
| FORGEJO_MIRROR_TOKEN | No | Credential add_push_mirror sends as the remote's password (e.g. a GitHub PAT). Kept out of the conversation — never passed as a tool argument. Omit if you only use use_ssh=true mirrors. | |
| FORGEJO_MIGRATE_TOKEN | No | Credential migrate_repo sends to the source instance it reads from. Also never passed as a tool argument. Kept separate from FORGEJO_MIRROR_TOKEN on purpose. Omit if you only migrate public repos. | |
| FORGEJO_UPLOAD_MAX_MB | No | Ceiling on one uploaded asset (MiB). The file is read into memory to be sent. | 100 |
| FORGEJO_WRITE_MINUTES | No | Default write-mode window (minutes, max 60). | 10 |
| FORGEJO_TOKEN_READ_ONLY | No | Read token (or FORGEJO_TOKEN). Read-only scopes (read:repository, read:issue, read:user) are enough. A read token is mandatory — the server refuses to start on a write token alone, and the read token must be a different token from FORGEJO_TOKEN_WRITE. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
This server cannot be deployed
Maintenance
ActivityActive
ResponsivenessNo issues