gitea MCP Server
by werebear73io.github.werebear73/gitea-mcpv0.5.1
Model Context Protocol server for Gitea (and Forgejo, Codeberg).
context tax
queued
security
queued
cold start
queued
freshness
Slowing4mo ago
Install gitea MCP server
Install in Claude Code
claude mcp add gitea-werebear73 -e GITEA_URL='<gitea-url>' -e GITEA_TOKEN='<gitea-token>' -- uvx gitea-mcpInstall in Cursor
{
"mcpServers": {
"gitea-werebear73": {
"command": "uvx",
"args": [
"gitea-mcp"
],
"env": {
"GITEA_URL": "<gitea-url>",
"GITEA_TOKEN": "<gitea-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"gitea-werebear73": {
"command": "uvx",
"args": [
"gitea-mcp"
],
"env": {
"GITEA_URL": "<gitea-url>",
"GITEA_TOKEN": "<gitea-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"gitea-werebear73": {
"type": "stdio",
"command": "uvx",
"args": [
"gitea-mcp"
],
"env": {
"GITEA_URL": "<gitea-url>",
"GITEA_TOKEN": "<gitea-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"gitea-werebear73": {
"command": "uvx",
"args": [
"gitea-mcp"
],
"env": {
"GITEA_URL": "<gitea-url>",
"GITEA_TOKEN": "<gitea-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GITEA_URL | yes | — | Base URL of your Gitea/Forgejo/Codeberg instance |
| GITEA_TOKEN | yes | yes | Personal access token for the configured instance |
| GITEA_TIMEOUT | — | — | HTTP request timeout in seconds |
| GITEA_MAX_RETRIES | — | — | Retry count for transient failures |
| GITEA_RETRY_BASE_DELAY | — | — | Retry backoff base delay in seconds |
Freshness
Slowing — last maintenance signal 4mo ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-05-29 · 4mo ago · GitHub
Latest release
2026-05-29 · 4mo ago · GitHub · v0.5.1
Package published
no data · npm/PyPI
Registry entry updated
2026-05-29 · 4mo ago · official registry · v0.5.1
FAQ
›How do I install the gitea MCP server in Claude Code?
Run: claude mcp add gitea-werebear73 -e GITEA_URL='<gitea-url>' -e GITEA_TOKEN='<gitea-token>' -- uvx gitea-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does gitea require an API key?
Yes. It expects GITEA_URL, GITEA_TOKEN, of which 1 is a secret.
›Can I use gitea as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is gitea in the official MCP registry?
Yes, as io.github.werebear73/gitea-mcp.