Document adopting the Image via .mcp.json #32
Labels
No labels
bug
enhancement
needs-info
needs-triage
ready-for-agent
ready-for-human
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#31 Dogfood the Image as this repo's Forgejo MCP server
vicoli-oss/docker-forgejo-mcp
Reference
vicoli-oss/docker-forgejo-mcp#32
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
A Consumer landing on the README can adopt the Image in their own project by copying one
.mcp.jsonsnippet. The README already has a "Claude Code setup" section (from #9); this ticket brings it in line with this repo's own dogfooded config from the blocking ticket and fills in what's missing.Update the existing section:
docker run --rm -i --pull=always,:3, bare-e FORGEJO_ACCESS_TOKEN, and-e FORGEJO_URL=${FORGEJO_URL:-https://code.vicoli.de}. Update theclaude mcp addone-liner to match.FORGEJO_URLnow has a default, so "export both variables" becomes "exportFORGEJO_ACCESS_TOKEN; setFORGEJO_URLonly to point at another instance".Add to that section (each point one or two sentences):
FORGEJO_ACCESS_TOKENin the environment Claude Code starts in; if you already keep your token under another name, add e.g.export FORGEJO_ACCESS_TOKEN=$FORGEJO_TOKENto your shell profile.command/argswork in any stdio MCP client (only Claude Code's.mcp.jsonis shown).localhostinside the container is not the host; usehost.docker.internal.Already covered, leave as is: exact pinning to
X.Y.Z-rN(Tags section), HTTP mode.Out of scope (decided): per-client snippets, CI check of the snippet, ADR, glossary changes.
Acceptance criteria
claude mcp addline match this repo's project MCP config exactlyBlocked by