Provides the ability to execute curl commands with full network access, supporting custom headers, various HTTP methods, and HTTPS with self-signed certificates to interact with APIs and local network devices.
Click on "Install 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 Serverfetch the system status from 192.168.1.1 ignoring SSL warnings"
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.
Curl MCP Server for Docker
This is a Model Context Protocol (MCP) server that provides curl functionality with full network access.
Features
Execute curl commands with all options and flags
Host network mode for accessing local network devices (like your FortiGate at 192.168.1.1)
Supports HTTPS with self-signed certificates (-k flag)
Custom headers and authentication
5-minute timeout for long-running requests
Installation
Option 1: Using Docker Compose (Recommended)
Navigate to this directory:
cd curl-mcp-serverBuild and start the container:
docker-compose up -d --buildCheck if it's running:
docker-compose ps
Option 2: Using Docker CLI
Build the image:
docker build -t curl-mcp-server .Run the container with host networking:
docker run -d --name curl-mcp-server --network host curl-mcp-server
Configuration with Claude Desktop
To use this MCP server with Claude Desktop, add the following to your MCP settings configuration file:
On macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%\Claude\claude_desktop_config.json
After adding this configuration:
Restart Claude Desktop
The curl tool should now be available
Usage Examples
Once configured, you can use curl commands in Claude:
Network Access
This container uses network_mode: host which gives it direct access to:
Your local network (192.168.x.x addresses)
The internet
All network interfaces on your host machine
Troubleshooting
Container not starting
Test the container manually
Rebuild after changes
Check if container has network access
Stopping the Server
Security Notes
This server has full network access due to host networking mode
Be careful with the commands you execute
The container can access all devices on your local network
Consider firewall rules if you're concerned about security