name: gitea
version: "1.0.0"
description: Gitea MCP server for repositories, issues, PRs, and code management
dockerImage: "docker.gitea.com/gitea-mcp-server:latest"
transport: STDIO
repositoryUrl: https://gitea.com/gitea/gitea-mcp
# No command: the image's entrypoint IS the MCP server. mcpd attaches to PID 1
# stdin/stdout (attach mode) rather than exec-ing a new process. The image is
# distroless and has no node/shell, so exec-based STDIO would fail.
# Health check disabled: STDIO health probe requires node in the container.
env:
  - name: GITEA_HOST
    description: Gitea instance URL (e.g. https://gitea.example.com)
    required: true
  - name: GITEA_ACCESS_TOKEN
    description: Gitea personal access token
    required: true
  - name: GITEA_INSECURE
    description: Allow self-signed certificates (true/false, default false)
    required: false
