@paretools/http
v0.16.1
Published
MCP server for HTTP — structured request/response data with headers and status for AI agents
Downloads
1,245
Maintainers
Readme
@paretools/http
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.
Tools (4)
| Tool | Description |
| --------- | ------------------------------------------------------- |
| request | Make an HTTP request with any method, headers, and body |
| get | Convenience GET request (no body) |
| post | Convenience POST request (body required) |
| head | HEAD request returning headers only (no response body) |
Quick Start
npx -y @paretools/httpAdd to your MCP client config:
{
"mcpServers": {
"pare-http": {
"command": "npx",
"args": ["-y", "@paretools/http"]
}
}
}Example
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"
}Security
- 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
Prerequisites
- curl (pre-installed on most systems)
Compatible Clients
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
