In-process executor for when the MCP server is mounted on the SAME app as the store routes. Dispatches the tool's
request straight through app.fetch — same routing, same auth + access middleware, NO network hop (so no edge
self-loop / 522 on Cloudflare). Pass the host Hono app; it is read lazily at call time, so mounting MCP on that
same app first is fine. The tool's request (e.g. GET /product) never matches the MCP route, so it can't recurse.
In-process executor for when the MCP server is mounted on the SAME app as the store routes. Dispatches the tool's request straight through
app.fetch— same routing, same auth + access middleware, NO network hop (so no edge self-loop / 522 on Cloudflare). Pass the host Hono app; it is read lazily at call time, so mounting MCP on that same app first is fine. The tool's request (e.g.GET /product) never matches the MCP route, so it can't recurse.