Structured, token-efficient HTTP requests for AI agents. Wraps curl with typed JSON output including status, headers, body, and timing.
Part of the Pare suite of MCP servers.
npx -y @paretools/httpAdd to your MCP client config:
{
"mcpServers": {
"pare-http": {
"command": "npx",
"args": ["-y", "@paretools/http"]
}
}
}get output:
{
"status": 200,
"statusText": "OK",
"headers": {
"content-type": "application/json",
"content-length": "1234"
},
"body": "{\"id\": 1, \"name\": \"example\"}",
"timing": { "total": 0.125 },
"size": 1234,
"contentType": "application/json"
}- Only
http://andhttps://URL schemes are allowed (file://,ftp://, etc. are blocked) - Header values are validated against CRLF injection
- Request body is passed via
--data-rawto prevent curl@fileexpansion - Redirect hops limited to 10
- curl (pre-installed on most systems)
Works with any MCP-compatible client: Claude Code, Claude Desktop, Cursor, Windsurf, VS Code / GitHub Copilot, Cline, Roo Code, Zed, Continue.dev, Gemini CLI, OpenAI Codex
