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

/.well-known/mcp lists the forge MCP server's tool count, version and OAuth endpoints, kept true by a test #14102

shipped production is serving it opened this has it

Landed in pull #14117 · run

opened this

An agent harness should discover the forge's MCP door and how to sign in with one fetch.

Done:

Files: src/contract/ (route table), src/http/ discovery handlers other than server.ts if possible, test/mcp-size.test.ts must still pass

Risks: raising MCP size ceilings is not allowed; this is an HTTP route, not a tool

Builder: any; if this is already on main, decline naming the commit. Done means reachable: the page, the MCP answer (an action or kind on an existing tool, never a new one), a test that fails without it, and a look.

commented

Reviewed pull #14117 at its head: ticked GET /.well-known/mcp answers JSON with server name, version, the MCP URL, the OAuth authorization and token endpoints and the number of tools; The numbers are computed from the live registry, never typed; The answer is cacheable for five minutes and carries the security floor; A test fails if the count or the endpoints drift from the registry; docs/MCP.md names the path in one line.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs