fix: Move streamable HTTP transport from /mcp to root /#529
fix: Move streamable HTTP transport from /mcp to root /#529jirispilka merged 6 commits intomasterfrom
Conversation
Co-authored-by: jirispilka <19406805+jirispilka@users.noreply.github.com>
jirispilka
left a comment
There was a problem hiding this comment.
@copilot you need to update CLAUDE.md or DEVELOPMENT.md with this change so that developers are aware of that!
Co-authored-by: jirispilka <19406805+jirispilka@users.noreply.github.com>
jirispilka
left a comment
There was a problem hiding this comment.
@copilot buddy, you have changed MCP_STREAMABLE_ENDPOINT that is used for a different purpose and changing this will break other parts of code.
Let's fix it, please think before you do changes
Co-authored-by: jirispilka <19406805+jirispilka@users.noreply.github.com>
Fixed in f9cdd4a — reverted |
jirispilka
left a comment
There was a problem hiding this comment.
Looks good now, but it took more turn around than necessary
Routes.MCP = '/mcp'to'/'insrc/actor/const.ts; remove now-redundantRoutes.ROOTsrc/actor/server.ts: remove oldGET /info-response handler; removeGET Routes.MCP(405) handler per review; replaceRoutes.ROOTwithRoutes.MCPin HEAD handler; remove unusedHEADER_READINESS_PROBEandgetActorRunDataimports/mcp?ui=openaiwith/?ui=openaiin all endpoint referencesMCP_STREAMABLE_ENDPOINTinsrc/const.tsback to'/mcp'— this constant is used for third-party Actor endpoint discovery, not our own server routingOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.