curl-mcp-server
Allows executing arbitrary curl commands and making structured HTTP requests, returning full response details such as status, headers, body, size, and duration.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@curl-mcp-server Execute curl -I https://api.github.com and show me the status and headers."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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/profileMake a GET request to https://httpbin.org/get with custom header X-My-Header: valueIn 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-serverThen 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@latestin terminal
"command not found"?
Make sure Node.js 20+ is installed
Use npx syntax (it auto-downloads)
📄 License
MIT © j0zack
🔗 Links
Available Tools
2 toolsexecute_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
Scored across 2 tools
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.
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.
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.
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
Related MCP Connectors
Remote MCP for 1,500+ APIs. Vault-managed credentials; OAuth or API key. Search, load, and execute.
Find, document and execute authenticated API calls across 1000+ apps via one MCP server
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
A paid remote MCP for hosted MCP server, built to return verdicts, receipts, usage logs, and audit-r
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides 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.2MIT
- AlicenseAqualityBmaintenanceEnables LLMs to make HTTP requests using structured cURL commands with support for multiple authentication methods, custom headers, and comprehensive request/response control.24MIT
- AlicenseNot gradedqualityAmaintenanceEnables testing and interaction with REST API endpoints from MCP clients such as Claude and Cline, supporting multiple HTTP methods, authentication, custom headers, SSL verification control, and response-size limiting.5 npmISC
- AlicenseNot gradedqualityAmaintenanceEnables 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 npmISC