Stdio Proxy

Published

For clients that only support stdio transport. Requires a proxy bridge — mcp-remote is recommended.

json
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14

{

"mcpServers": {

"anysearch": {

"command": "npx",

"args": [

"-y",

"mcp-remote",

"https://api.anysearch.com/mcp",

"--header",

"Authorization: Bearer ${ANYSEARCH_API_KEY}"

]

}

}

}

json
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15

{

"servers": {

"anysearch": {

"type": "stdio",

"command": "npx",

"args": [

"-y",

"mcp-remote",

"https://api.anysearch.com/mcp",

"--header",

"Authorization: Bearer ${ANYSEARCH_API_KEY}"

]

}

}

}

json
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14

{

"mcpServers": {

"anysearch": {

"command": "npx",

"args": [

"-y",

"mcp-remote",

"https://api.anysearch.com/mcp",

"--header",

"Authorization: Bearer ${ANYSEARCH_API_KEY}"

]

}

}

}

Alternatively, you can use supergateway:

json
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15

{

"mcpServers": {

"anysearch": {

"command": "npx",

"args": [

"-y",

"supergateway",

"--streamableHttp",

"https://api.anysearch.com/mcp",

"--oauth2Bearer",

"${ANYSEARCH_API_KEY}"

]

}

}

}

Tip: Without an API key, omit "--header" and "Authorization: Bearer ..." args (mcp-remote), or omit "--oauth2Bearer" and key args (supergateway).