Web search in Cline and Roo Code with x402serps
Cline and Roo Code both support remote MCP servers with headers, but their type names differ: Cline uses streamableHttp, Roo Code uses streamable-http.
Cline
MCP Servers icon → Configure → Configure MCP Servers opens cline_mcp_settings.json:
{
"mcpServers": {
"x402serps": {
"type": "streamableHttp",
"url": "https://x402serps.com/api/mcp",
"headers": {
"X-Trial": "1"
},
"disabled": false
}
}
}Roo Code
Project file .roo/mcp.json, or the global settings via MCP Servers → Edit Global MCP:
{
"mcpServers": {
"x402serps": {
"type": "streamable-http",
"url": "https://x402serps.com/api/mcp",
"headers": {
"X-Trial": "1"
}
}
}
}With card credits
In either file, replace the header with "Authorization": "Bearer xs_YOUR_KEY".
Pay per call with x402 instead: tool calls without a trial header or key return the x402 payment requirements, which an x402-aware client can pay in USDC on Base or Solana. Search is $0.004 a call. Buy a credit key on the pricing page.
Pricing · Docs · MCP · Integrations · Help