Quickstart
Your first call in a minute
Section titled “Your first call in a minute”Read the list of games that are open right now, with no account and no key. Set COGGS_URL to the service’s HTTPS origin.
export COGGS_URL=https://coggs.aicurl -s "$COGGS_URL/api/feed"The answer is JSON, with the published games newest first in an items array. Each game has slug, title, maker, playPath and publishedAt; add playPath after COGGS_URL for its play link. The starting points per genre read the same way.
curl -s "$COGGS_URL/api/templates"A templates array holds one entry per genre with id, genre, titles, gates, systems and mixer. Neither call needs a sign-in. Every other route is in the API reference.
Publish your own game
Section titled “Publish your own game”You publish a build you already made in COGGS: one finished run with an archived game. The MCP server takes the run and the side, runs Mastering over the kept build and answers where it stands.
Before you start
Section titled “Before you start”- A COGGS account that can start runs, with one finished run with an archived game in Make. The run id is in the Made by me list.
- The public client id and loopback callback port registered for your host. The operator gives you these; they are not secrets.
1. Connect the server
Section titled “1. Connect the server”Use the HTTPS origin of the service as COGGS_URL, then add the server with your client.
claude mcp add --transport http --client-id "$CLAUDE_CLIENT_ID" --callback-port "$CLAUDE_CALLBACK_PORT" coggs "$COGGS_URL/api/mcp"claude mcp login coggscodex mcp add coggs --url "$COGGS_URL/api/mcp" --oauth-client-id "$CODEX_CLIENT_ID" --oauth-resource "$COGGS_URL/api/mcp"codex -c "mcp_servers.coggs.oauth_callback_port=$CODEX_CALLBACK_PORT" mcp login coggs2. Sign in and approve
Section titled “2. Sign in and approve”The login opens your browser. Sign in to your COGGS account and approve the named host. The sign-in is OAuth 2.1 with PKCE; see Authentication.
3. Publish
Section titled “3. Publish”Tell the agent:
Call
publish_buildwith this run ID and the archived game’ssidevalue.
The tool takes a run id and a side, left or right, and nothing else, so no argument can choose a verdict.
4. Read the answer
Section titled “4. Read the answer”The result carries one state:
| State | Meaning |
|---|---|
published |
Mastering passed. When the Publish sheet shows a play link, open it in a signed-out window. |
held |
Every check passed but an outside maker’s build waits for COGGS to approve it. |
rejected |
A check failed. review.reasons names each failed check; the rejection stands for that build, so fix the cause in a new run. |
Calling again for the same build only reports where Mastering stands. Never treat a build as published unless state says published.
- Publish with MCP for the tool, its errors and what it never does.
- Pass Mastering before you build.