Authenticated HTTP MCP server for Forgejo/Gitea APIs.
- JavaScript 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| deploy | ||
| src | ||
| test | ||
| .env.example | ||
| .gitignore | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
forgejo-mcp
Authenticated Streamable HTTP MCP server for https://git.kokpit.sk.
Runtime
- Local server:
http://127.0.0.1:4120 - Public endpoint after Caddy deploy:
https://forgejo-mcp.pk01.sk/mcp - Health check:
https://forgejo-mcp.pk01.sk/health
MCP clients must send:
Authorization: Bearer <token>
If MCP_AUTH_TOKEN is not set, the service creates a random token in:
/home/pk01/apps/forgejo-mcp/data/mcp-auth-token
Forgejo API auth is loaded from FORGEJO_TOKEN, FORGEJO_TOKEN_FILE, or the default tea login in /home/pk01/.config/tea/config.yml.
Mutating Forgejo tools are disabled unless FORGEJO_ALLOW_WRITE=true.