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"
Metadata
Release files for iflow-mcp_martinpsdev_curl-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| iflow_mcp_martinpsdev_curl_mcp-0.1.0.tar.gz | 43.8 kB | Without provenance | Details for iflow_mcp_martinpsdev_curl_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| iflow_mcp_martinpsdev_curl_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for iflow_mcp_martinpsdev_curl_mcp-0.1.0-py3-none-any.whl |
Total release size: 96.4 kB
Release files / iflow_mcp_martinpsdev_curl_mcp-0.1.0.tar.gz
| Download URL | iflow_mcp_martinpsdev_curl_mcp-0.1.0.tar.gz |
|---|---|
| Size | 43.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7b9e1549cac4894ead49bfa0e42c20ee5e7c20814fbf8180b1f946e712e730c
|
|
BLAKE2b-256 checksum How to use checksums |
0d4513e3bac9c9280d2b7392231a575b3ceed9fa3883203b55550e86f798912a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / iflow_mcp_martinpsdev_curl_mcp-0.1.0-py3-none-any.whl
| Download URL | iflow_mcp_martinpsdev_curl_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 52.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
57e7a42f42a345e7ed8009d804a67d1bba74ac96ca521a4d21e8323f5ad3d0c9
|
|
BLAKE2b-256 checksum How to use checksums |
d4c1fe3d91ff602a96eec5d30c952741a8ff0dea0b2133b4ca875bf5c937a833
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Security for iflow-mcp_martinpsdev_curl-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.