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

small: GET /mcp says in plain words how to connect instead of an empty 405 #10740

shipped production is serving it opened this has it
opened this

Intent: an agent or person opening the MCP URL learns what it is.

Done:

  • [x] GET /mcp answers 405 with Allow: POST and a short text/plain body: that this is the forge's MCP endpoint, that it speaks JSON-RPC over POST, the OAuth discovery path, and the docs/MCP.md link; escaped, no secrets.
  • [x] No tool is added; bun test test/mcp-size.test.ts passes unchanged.
  • [x] A test asserts the status, the Allow header and the words.

Files: src/http (the MCP route), test/mcp-get.test.ts Brief: torque.

commented

Reviewed pull #10757 at its head: ticked GET /mcp answers 405 with Allow: POST and a short text/plain body: that this is the forge's MCP endpoint, that it speaks JSON-RPC over POST, the OAuth discovery path, and the docs/MCP.md link; escaped, no secrets.; No tool is added; bun test test/mcp-size.test.ts passes unchanged.; A test asserts the status, the Allow header and the words..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs