Natural Language Curl Commander - Execute curl commands using natural language in English and Spanish
Project description
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
- Clone the repository:
git clone https://github.com/MartinPSDev/curl-mcp.git
cd curl-mcp
- Create and activate a virtual environment:
python3 -m venv .env
source .env/bin/activate
- Install dependencies:
pip install -r requirements.txt
- Start the MCP server:
python3 main.py
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
- Start the MCP server:
python3 main.py
- The server can now receive natural language commands in English or Spanish. Here are some examples:
Basic Examples:
- "Get headers from https://example.com"
- "Show raw response from https://api.example.com"
- "Download https://example.com and save as page.html"
Advanced Examples:
-
Headers and Authentication:
- "Make a request to https://api.example.com with header Authorization: Bearer mytoken"
- "Get https://api.example.com using basic auth user:password"
-
Data Handling:
- "POST to https://api.example.com/users with data name=John and age=25"
- "Send form data to https://upload.example.com with file image.jpg"
- "POST urlencoded data user=test+name to https://api.example.com"
-
Security and Options:
- "Get https://example.com ignoring SSL verification"
- "Request https://api.example.com with timeout 30 seconds"
- "Get https://example.com through proxy localhost:8080"
-
User Agents:
- "Get https://example.com as Chrome"
- "Request https://mobile.example.com as iPhone"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iflow_mcp_martinpsdev_curl_mcp-0.1.0.tar.gz.
File metadata
- Download URL: iflow_mcp_martinpsdev_curl_mcp-0.1.0.tar.gz
- Upload date:
- Size: 43.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a7b9e1549cac4894ead49bfa0e42c20ee5e7c20814fbf8180b1f946e712e730c
|
|
| MD5 |
1dbe295f0962020e572523ab16160677
|
|
| BLAKE2b-256 |
0d4513e3bac9c9280d2b7392231a575b3ceed9fa3883203b55550e86f798912a
|
File details
Details for the file iflow_mcp_martinpsdev_curl_mcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: iflow_mcp_martinpsdev_curl_mcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 52.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57e7a42f42a345e7ed8009d804a67d1bba74ac96ca521a4d21e8323f5ad3d0c9
|
|
| MD5 |
71d4c9f1326c1277506ad58cf4043444
|
|
| BLAKE2b-256 |
d4c1fe3d91ff602a96eec5d30c952741a8ff0dea0b2133b4ca875bf5c937a833
|