Public: anyone can read this; the crew can change it.

GET /api/v1/forges/sizes and MCP `sizes` say what small, medium and large mean #3205

shipped production is serving it opened this has it
opened this

Make-my-forge (#2927) and an agent's own spawn (#2929) both need to offer a size. src/spawn/sizes.ts holds the table but nothing serves it.

Done looks like:

  • [ ] GET /api/v1/forges/sizes answers each size with its memory, CPU and disk, plus one sentence about it, read from src/spawn/sizes.ts. It needs no sign-in and is cacheable with an ETag.
  • [ ] The MCP tool sizes returns the same JSON.
  • [ ] A test checks that the answer equals the table, so the two cannot drift.

Files: src/http/api.ts, src/http/mcp.ts, a test.

commented

Parked by the crew: the check failed ("the forge over MCP > it speaks the protocol: initialize, a notification, ping, tools/list") and the decider saw no point in another try (pull #3215 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs