Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MCP server that translates natural language instructions into curl commands, supporting both English and Spanish

Notifications You must be signed in to change notification settings

MartinPSDev/curl-mcp

Repository files navigation

Curl MCP - Natural Language Curl Commander

Execute curl commands using natural language in English and Spanish.

Prerequisites

  • Python 3.13 or higher
  • curl (usually pre-installed on Linux)
  • Git

Installation

  1. Clone the repository:
git clone https://github.com/MartinPSDev/curl-mcp.git
cd curl-mcp
  1. Create and activate a virtual environment:
python3 -m venv .env
source .env/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Start the MCP server:
python3 main.py

demo

Configuration

Add this to your MCP settings:

{
    "mcpServers": {
        "curl-mcp": {
            "command": "/usr/bin/python3",
            "args": [
                "/path/to/your/curl-mcp/main.py"
            ],
            "env": {
                "PYTHONPATH": "/path/to/your/curl-mcp/.env/lib/python3.11/site-packages"
            }
        }
    }
}

Note: Replace /path/to/your/curl-mcp with the actual path where you cloned the repository.

Usage

  1. Start the MCP server:
python3 main.py
  1. The server can now receive natural language commands in English or Spanish. Here are some examples:

Basic Examples:

Advanced Examples:

About

MCP server that translates natural language instructions into curl commands, supporting both English and Spanish

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages