We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am testing a mcp server and routing the requests to local mcp server through a ngrok tunnel. Now the requests through ngrok has to have this header:
{ "ngrok-skip-browser-warning": "69420", }
the value can be anything actually.
Normally I am doing all the fetch requests like this:
const response = await fetch(url, { method: 'GET', headers: new Headers({ "ngrok-skip-browser-warning": "69420", }), });
How do I add it to my sse transport? This following method is not actually adding the header to the requests.
this.transport = new SSEClientTransport(new URL(url), { requestInit: { headers: { "ngrok-skip-browser-warning": "69420", } } });
The text was updated successfully, but these errors were encountered:
I see an issue in the current implementation.. It is not considering the requestInit headers.. #436
Sorry, something went wrong.
No branches or pull requests
I am testing a mcp server and routing the requests to local mcp server through a ngrok tunnel. Now the requests through ngrok has to have this header:
the value can be anything actually.
Normally I am doing all the fetch requests like this:
How do I add it to my sse transport? This following method is not actually adding the header to the requests.
The text was updated successfully, but these errors were encountered: