SSE Proxy

Published

For clients that only support SSE transport (Cursor, Windsurf). You need to start a local SSE proxy server first.

bash
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5

npx -y supergateway \

--streamableHttp https://api.anysearch.com/mcp \

--outputTransport sse \

--port 8000 \

--oauth2Bearer <your_api_key>

json
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8

{

"mcpServers": {

"anysearch": {

"type": "sse",

"url": "http://localhost:8000/sse"

}

}

}

json
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 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.