
curl mcp
A Multi-modal Conversation Protocol (MCP) server that enables interacting with web APIs through a curl-like interface, providing access to various websites and APIs with user authentication and response transformations.
README
curl mcp - the last MCP you'll need
[!IMPORTANT] WORK IN PROGRESS
Requirements:
- Exposes simple REST API (with OpenAPI) as well as Remote MCP
- Easy to use through any MCP client, through API, and through browsers.
- X & GitHub OAuth
- Stripe credit deposit
- Contextual Instructions
- Markdown Transformation Proxy for popular websites such as X and GitHub
- Capped free use (per-hour ratelimit), pay as you go after hitting cap.
- Shareable instruction templates
My principles for making the LLM actually work well with tons of tools:
- As the LLM knows popular websites, instruct it to simply use the web like normal.
- Under water, ensure every input is somehow routed to the right substitute website(s).
- Ensure every response is markdown and contains very few tokens, ideally less than 1000! This ensures we can do many steps.
- Ensure the dead ends guide the LLM back on track.
- Ensure every step in a multi-step process contains instructions about what to do next.
- Ensure the path the LLM visit is the same as the path the user or crawler visits. Respond well on accept header and other information to distinguish.
How should product builders of today become ready to allow for this?
- Most APIs use POST, but GET is easier to be instructed about, as it can be done in markdown. Let's promote making APIs GET and promote super easy to understand URL structures with minimal token length.
- Ensure to use OpenAPI to show the possible endpoints and routing. Your API should be the first-class citizen, not your website.
- Ensure to make your openapi explorable by either putting it right on the root at
/openapi.json
, or by putting redirecting to it from/.well-known/openapi
if that's not possible. - Ensure all your pages that are exposed as text/html also expose a non-html variant (preferably markdown, or yaml if structured data can also be useful) that is under 1000 tokens with the same/similar functionality.
- Hitting errors in your API should always guide the agent back on track, just like we do with humans. Try buildling these UX pathways on the API level!
Is it somehow possible to provide this as a middleware to APIs? For sure! The one tool to rule them all is curl (or fetch), and it could be made safe in the following way:
- Ensure to route away from human-first websites to ai-optimised websites.
- Ensure to truncate the response to never be above a certain limit
- Ensure to prefer accepting markdown
Usage
MCP Usage:
Install it into your MCP Client by adding the following to your config:
{
"mcpServers": {
"curlmcp": {
"command": "npx",
"args": ["mcp-remote", "https://curlmcp.com/sse"]
}
}
}
Browser Usage
The curlmcp api is easy to use from the browser too. Authentication is automatically handled.
CLI Usage
You can simply use curl yourself, or to have the curl mcp proxy:
- use
curl -c cookies.txt https://curlmcp.com/login
to login and store cookies - use
curl -b cookies.txt https://curlmcp.com/curl/{your-request}
API Usage: /curl/{url}
Endpoint
The /curl/{url}
endpoint allows you to send HTTP requests to any URL, mimicking the behavior of the curl
command-line tool. It supports long-form query parameters to specify request details, such as the HTTP method, headers, and data.
Certain urls are configured to be proxied based on your configured template (defaults to default-proxy.yaml)
API Specification
GET /curl/{url}?request={method}&header={header}&data={data}&...
NB: {url} uses the https
protocol by default.
Supported Query Parameters
Parameter | Type | Description | Example |
---|---|---|---|
request |
string | Specifies the HTTP method. Valid values: GET , POST , PUT , DELETE , PATCH , HEAD , OPTIONS . |
request=POST |
header |
array of strings | Adds custom HTTP headers. Repeat for multiple headers. | header=Content-Type:application/json |
data |
array of strings | Sends data in the request body (POST) or query string (with get=true ). Repeat for multiple data pairs. |
data=key=value |
data-urlencode |
array of strings | Sends URL-encoded data in the request. | data-urlencode=comment=this%20is%20awesome |
get |
boolean | Forces data to be sent as a GET request query string. | get=true |
include |
boolean | Includes response headers in the output. | include=true |
head |
boolean | Sends a HEAD request. | head=true |
user |
string | Specifies credentials for authentication (format: username:password ). |
user=user:pass |
location |
boolean | Follows HTTP redirects. | location=true |
verbose |
boolean | Enables verbose output for debugging. | verbose=true |
access_token |
string | Injects an OAuth token for X or GitHub authentication. | access_token=xyz |
instructions |
string | Specifies contextual instructions for the request. | instructions=transform_response_to_markdown |
Links
- Previous attempt (curl api): https://github.com/janwilmake/curlapi
- Previous attempt (fetch mcp): https://github.com/janwilmake/fetch-mcp
推荐服务器

Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。