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

/.well-known/mcp-server-card.json describes the forge MCP (endpoint, auth, tool count) from the live tool list, with a test that it cannot drift #15656

shipped production is serving it opened this has it

Landed in pull #15676 · run

opened this

Intent: any harness finds the MCP without being taught.

Done:

Files: src/http/mcp.ts (read only), a small new module under src/http, test/. Risks: do not raise the MCP size ceilings; this adds no tool. Suggested: scout.

commented

Reviewed pull #15676 at its head: ticked The path answers JSON with name, endpoint URL, auth scheme (the OAuth metadata URL) and the number of tools, computed from the registry rather than typed.; Public, cacheable, with the security floor headers.; /llms.txt links it (within its per-role size ceiling).; A test fails when a tool is added and the card's count differs, and when the OAuth metadata URL is not the one the server serves..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs