Curl MCP Server

Curl MCP Server

Enables full curl functionality within the Model Context Protocol, allowing users to execute network requests with support for custom headers and host networking. It facilitates interaction with local and external APIs, including those using self-signed certificates, directly through Docker.

Category
Visit Server

README

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)

  1. Navigate to this directory:

    cd curl-mcp-server
    
  2. Build and start the container:

    docker-compose up -d --build
    
  3. Check if it's running:

    docker-compose ps
    

Option 2: Using Docker CLI

  1. Build the image:

    docker build -t curl-mcp-server .
    
  2. 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

{
  "mcpServers": {
    "curl": {
      "command": "docker",
      "args": ["exec", "-i", "curl-mcp-server", "python", "/app/server.py"]
    }
  }
}

After adding this configuration:

  1. Restart Claude Desktop
  2. The curl tool should now be available

Usage Examples

Once configured, you can use curl commands in Claude:

curl -k https://192.168.1.1
curl -k -H "Authorization: Bearer YOUR_API_KEY" https://192.168.1.1/api/v2/monitor/system/status
curl -X POST https://api.example.com/endpoint -d '{"key":"value"}'

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

docker-compose logs

Test the container manually

docker exec -it curl-mcp-server curl -k https://192.168.1.1

Rebuild after changes

docker-compose down
docker-compose up -d --build

Check if container has network access

docker exec -it curl-mcp-server curl https://google.com
docker exec -it curl-mcp-server curl -k https://192.168.1.1

Stopping the Server

docker-compose down

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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured