{"agent":"claude","input":"Add a Streamable HTTP transport to this stdio MCP server without changing what its tools do. Read package.json, the lockfile for the resolved @modelcontextprotocol/server version, tsconfig.json, the server entry file, the README, AGENTS.md, the Makefile and the tests first. Reuse the existing server factory: move it to its own module, keep the stdio entry working under the same command, and add a second entry that serves the factory with createMcpHandler, adapted to node:http with toNodeHandler from @modelcontextprotocol/node at a version whose peer range matches the installed server package. Mount it at /mcp and answer 404 elsewhere. Bind 127.0.0.1 by default, read HOST and PORT from the environment, and put the SDK's Host and Origin validation with the localhost allowlists in front of the handler. Keep the default legacy fallback and say in the README what legacy: 'reject' changes. Do not add authentication; mark where requireBearerAuth would go and document that the endpoint must not be exposed publicly without it. Add a bin entry and an npm script for the HTTP server and a README section with the command and an example client configuration. Test it: start the server on a free port, connect with the SDK Client over StreamableHTTPClientTransport, list tools, call each tool, and check that a foreign Host header and a foreign Origin are refused. Run the type check, the linters and the existing stdio tests, and open a pull request with the commands and their output.","resources":[{"url":"https://github.com/your-org/your-app"}]}