Skip to main content
Glama
curl-mcp-server

curl-mcp-server

by j0zack

@j0zack/curl-mcp-server

Execute curl commands and HTTP requests from Claude Desktop, n8n, or any MCP-compatible client.


⚡ Quick Start

Add this to your n8n or Claude Desktop config:

{
  "mcpServers": {
    "curl-mcp": {
      "command": "npx",
      "args": ["@j0zack/curl-mcp-server@latest"]
    }
  }
}

That's it! Restart your app and the tools appear automatically.


Related MCP server: cURL MCP Server

🎯 What It Does

  • Execute curl commands - Paste any curl command and run it

  • Make HTTP requests - Structured API calls with full control

  • Get full responses - Status, headers, body, size, duration

  • Authentication - Basic Auth and Bearer tokens

  • Custom headers - Any header you need


🔧 Available Tools

Tool 1: execute_curl

Run any curl command string.

Example prompt: "Execute curl -X POST https://httpbin.org/post -d '{"test":"data"}'"

Tool 2: http_request

Structured HTTP requests with parameters.

Example prompt: "Make a POST request to https://api.example.com/data with body {"name":"test"}"


📖 Usage Examples

In Claude Desktop

Fetch https://api.github.com/users/github and show me the response.
Execute curl -H "Authorization: Bearer token123" https://api.example.com/profile
Make a GET request to https://httpbin.org/get with custom header X-My-Header: value

In n8n

Just add an MCP node and select curl-mcp - you'll see both tools ready to use.


📦 Installation Options

Option 1: npx (Recommended)

{"command": "npx", "args": ["@j0zack/curl-mcp-server@latest"]}

Option 2: Global install

npm install -g @j0zack/curl-mcp-server

Then use: {"command": "curl-mcp-server"}

Option 3: Pin version

{"command": "npx", "args": ["@j0zack/curl-mcp-server@1.0.0"]}

📝 Response Format

Both tools return:

{
  "success": true,
  "status": 200,
  "statusText": "OK",
  "headers": {...},
  "body": "...",
  "bodySize": 1234,
  "duration": 123
}

🐛 Troubleshooting

Tools not appearing?

  • Restart Claude Desktop/n8n completely

  • Check the config has correct syntax

  • Try: npx @j0zack/curl-mcp-server@latest in terminal

"command not found"?

  • Make sure Node.js 20+ is installed

  • Use npx syntax (it auto-downloads)


📄 License

MIT © j0zack


Available Tools

2 tools
execute_curlB

Parse and execute a curl command string. Supports common curl options including -X (method), -H (headers), -d/--data (body), -u/--user (basic auth). Returns the full HTTP response including status, headers, and body.

Inputs: curlCommand (required).

http_requestA

Make a structured HTTP request with explicit parameters. Supports all common HTTP methods, custom headers, request body, and authentication (Basic Auth and Bearer tokens). Returns the full HTTP response including status, headers, and body.

Inputs: url (required), auth, body, method, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 2 tools

    Disambiguation4/5

    Both tools ultimately perform an HTTP request, but the descriptions make the input-mode distinction clear: execute_curl takes a raw curl command string while http_request takes structured parameters. An agent can pick correctly, though the overlap in outcome means some misselection risk remains when a user's intent doesn't specify a format.

    Naming Consistency4/5

    Both names are snake_case and follow a verb_noun-ish shape, but the pattern isn't fully parallel: execute_curl leads with a clear verb while http_request reads more like a noun phrase. Readable and predictable enough that this is a minor deviation.

    Tool Count3/5

    Two tools is thin for a server whose domain (HTTP execution) naturally has variants like file output, redirects, or multipart uploads. The two provided do cover the core need, so it's borderline rather than badly scoped.

    Completeness3/5

    Core operations (methods, headers, body, basic/bearer auth) are covered, but obvious curl capabilities are missing: output to file, redirect following, cookies, multipart/form-data uploads, and timeouts. Agents can work around some of these but will hit dead ends on file uploads or cookie-based flows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides a structured HTTP client tool for making web requests with full HTTP method support, detailed response metadata, and error handling. Enables AI assistants to interact with any web API or endpoint through the curl_request tool.
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables LLMs to make HTTP requests using structured cURL commands with support for multiple authentication methods, custom headers, and comprehensive request/response control.
      2
      4
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables testing and interacting with REST API endpoints directly from MCP clients such as Claude and Cline, with support for multiple HTTP methods, authentication, custom headers, SSL verification control, and response size limits.
      5 npm
      ISC