We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee6197d commit 69069f2Copy full SHA for 69069f2
deno.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@deco/mcp",
3
- "version": "0.7.7",
+ "version": "0.7.8",
4
"exports": {
5
".": "./mod.ts",
6
"./http": "./mcp/http.ts"
mcp/http.ts
@@ -20,7 +20,7 @@ export class HttpServerTransport extends StreamableHTTPServerTransport {
20
21
async handleMessage(req: Request): Promise<Response> {
22
const { req: nodeReq, res } = toReqRes(req);
23
- super.handleRequest(nodeReq, res, await req.json().catch(() => null));
+ super.handleRequest(nodeReq, res, req.method === "GET" ? null : await req.json().catch(() => null));
24
return toFetchResponse(res);
25
}
26
0 commit comments