Skip to content

Commit 00d740e

Browse files
fix: remove x-mcp-authorization (#124)
1 parent 06d61b6 commit 00d740e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/plugins/http-proxy.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ function proxyPlugin(fastify) {
8383
replyOptions: {
8484
rewriteRequestHeaders: (req, headers) => ({
8585
...headers,
86-
authorization: req.session.get("accessToken"),
87-
"X-mcp-authorization": req.session.get("accessToken"), // no support for different MCP IdPs at the moment
86+
authorization: req.session.get("accessToken")
8887
}),
8988
},
9089
});

0 commit comments

Comments
 (0)