curl2mcp
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., "@curl2mcpCreate an MCP tool from curl https://api.example.com/items/{id}"
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.
curl2mcp
Turn any curl command into a Model Context Protocol tool server in seconds.
🎯 Why?
MCP adoption is exploding, but connecting a random REST endpoint still means writing a server, schema, and request glue. curl is the universal language for HTTP requests, yet there is no tiny zero-config adapter that converts a curl command into an MCP tool. curl2mcp fills that gap by parsing {placeholders} and serving the request over stdio.
Target audience: AI tool builders, Claude/Cursor users, platform engineers, and agent developers who need to expose HTTP APIs to MCP clients without writing boilerplate.
Related MCP server: MCP Bridge
✨ Features
✨ Parse a curl command into an MCP tool schema with placeholder extraction
✨ Run the templated request directly from the CLI for quick testing
✨ Serve the tool over MCP stdio for Claude, Cursor, or any MCP client
✨ Zero external runtime dependencies beyond the Python standard library
🚀 Quick Start
# Install
pip install curl2mcp
# Run
curl2mcp --help📦 Installation
From Source
git clone https://github.com/YOUR_USERNAME/curl2mcp.git
cd curl2mcp# Create virtual environment
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytest -v🎬 Demo
The GIF above was recorded using Charm VHS:
vhs < demo.tape📖 Usage
# Show help
curl2mcp --help
# Common usage examples
curl2mcp --example🏗️ Architecture
graph LR
A[Input] --> B[Core Engine]
B --> C[Output]
B --> D[Plugins]
D --> E[Extensions]🤝 Contributing
Contributions are welcome! Please:
Fork the repo
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
📄 License
MIT © 2026 — See LICENSE for details.
If this project helped you, please ⭐ star it!
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceTurns Markdown files into local MCP servers, enabling users to define and run tools using simple Markdown syntax with zero dependencies.1MIT
- Alicense-qualityDmaintenanceConverts existing HTTP operations and cURL commands into structured, local-first MCP tools that AI agents can call safely.181MIT
- Alicense-qualityBmaintenanceConfigurable MCP server that converts any OpenAPI specification into MCP tools over HTTP, with support for dynamic reloading and environment variable expansion for secrets.MIT
- Alicense-qualityAmaintenanceTurns any CLI command into an MCP server via a declarative YAML config, enabling safe, typed tool execution with no shell injection.MIT
Related MCP Connectors
MCP server for URL shortening and management
A basic MCP server to operate on the Postman API.
An MCP server that let you interact with Cycloid.io Internal Development Portal and Platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yulinlina/curl2mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server