SSE Proxy
Published
For clients that only support SSE transport (Cursor, Windsurf). You need to start a local SSE proxy server first.
bash
- 1
- 2
- 3
- 4
- 5
npx -y supergateway \
--streamableHttp https://api.anysearch.com/mcp \
--outputTransport sse \
--port 8000 \
--oauth2Bearer <your_api_key>
json
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
{
"mcpServers": {
"anysearch": {
"type": "sse",
"url": "http://localhost:8000/sse"
}
}
}
json
- 1
- 2
- 3
- 4
- 5
- 6
- 7
{
"mcpServers": {
"anysearch": {
"serverUrl": "http://localhost:8000/sse"
}
}
}
Note: The SSE proxy must remain running while the agent is active. Consider running it as a background service. Omit --oauth2Bearer if you don't have an API key.