🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@paretools/http

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paretools/http

MCP server for HTTP — structured request/response data with headers and status for AI agents

latest
Source
npmnpm
Version
0.22.0
Version published
Maintainers
1
Created
Source

@paretools/http

npm License: MIT

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)

ToolDescription
requestMake an HTTP request with any method, headers, and body
getConvenience GET request (no body)
postConvenience POST request (body required)
headHEAD request returning headers only (no response body)

Quick Start

npx -y @paretools/http

Add 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:// and https:// URL schemes are allowed (file://, ftp://, etc. are blocked)
  • Header values are validated against CRLF injection
  • Request body is passed via --data-raw to prevent curl @file expansion
  • 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

License

MIT

Keywords

mcp

FAQs

Package last updated on 29 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts