API and MCP server in Rust; a public index at the API root
- apps/api is a Rust Worker. One enum of operations drives the REST routes, the MCP tools and the OpenAPI document, so adding an operation without describing or running it does not compile - GET api.g1t.sh/ returns where everything is, as URL templates, the way api.github.com does - mcp.g1t.sh opened in a browser describes the server, how to connect and its tools. Unauthenticated calls are refused in JSON-RPC shape with the pointer that makes a client sign in - the MCP server's instructions describe issues and pull requests; the old ones still spoke of intents and attempts - OAuth client ids are encoded in Rust and decoded by the site; a test pins the two to the same bytes
No changes
This commit changes no files.