Skip to content

Quickstart

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.

Published games
export COGGS_URL=https://coggs.ai
curl -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.

Templates per genre
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.

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.

  • 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.

Use the HTTPS origin of the service as COGGS_URL, then add the server with your client.

Claude Code
claude mcp add --transport http --client-id "$CLAUDE_CLIENT_ID" --callback-port "$CLAUDE_CALLBACK_PORT" coggs "$COGGS_URL/api/mcp"
claude mcp login coggs
Codex
codex 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 coggs

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.

Tell the agent:

Call publish_build with this run ID and the archived game’s side value.

The tool takes a run id and a side, left or right, and nothing else, so no argument can choose a verdict.

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.