MCPInstall
curlmcp logo

curlmcp

by janwilmake 9 stars janwilmake/curlmcp

curl mcp - the last mcp you'll need

READMEmain

curl MCP v2 - The last MCP you'll need

A powerful, lightweight MCP built on HTTP standards with X OAuth integration.

Features

  • 🔐 X OAuth Integration - Seamless authentication with your X account
  • 🌐 Universal HTTP Client - Make requests to any URL with curl-like syntax
  • 🔄 Smart Proxies - Automatic routing to LLM-optimized versions of popular sites
  • 📝 Markdown-First - Responses optimized for LLM consumption
  • 🚀 Cloudflare Workers - Fast, global edge deployment
  • 🛡️ Secure - OAuth 2.1 compliant with PKCE

Quick Start

MCP Usage

Add to your MCP client config:

{
  "mcpServers": {
    "curlmcp": {
      "command": "npx",
      "args": ["@modelcontextprotocol/server-fetch", "https://curlmcp.com/mcp"]
    }
  }
}

Local Development

# Clone and install
git clone https://github.com/janwilmake/curlmcp-v2
cd curlmcp-v2
npm install

# Start local development (requires x-oauth-provider running on :8787)
npm run dev

# Test with MCP Inspector
npx @modelcontextprotocol/inspector

Usage Examples

Basic Request

GET /curl/api.github.com/users/janwilmake

With Headers

GET /curl/api.example.com/data?header=Accept:application/json&header=User-Agent:curl-mcp

POST with Data

GET /curl/api.example.com/submit?request=POST&data=name=test&data=value=123

X/GitHub Integration

GET /curl/x.com/janwilmake
# Automatically routes to xymake.com with markdown headers

GET /curl/github.com/janwilmake/curlmcp
# Automatically routes to uithub.com with markdown headers

Proxy Configurations

  • x.com → xymake.com (markdown-optimized X)
  • github.com → uithub.com (markdown-optimized GitHub)

Authentication

The MCP requires X OAuth authentication. On first use, you'll be redirected to authenticate with your X account. The access token is automatically used for requests that need authentication.

API Parameters

ParameterDescriptionExample
requestHTTP methodPOST, GET, etc.
headerCustom headersAccept:application/json
dataRequest datakey=value
userBasic authusername:password
access_tokenOAuth tokenUses authenticated user's token by default
includeInclude response headerstrue
locationFollow redirectstrue

Architecture

Built using:

  • simplerauth-client - OAuth integration
  • with-mcp - OpenAPI to MCP conversion
  • Cloudflare Workers - Edge deployment

This version eliminates the complexity of the original curlmcp while adding proper authentication and a cleaner architecture.

More Developer Tools MCP servers

Similar servers from the same category.

Sourcebot

sourcebot-dev

Enables code search across multiple repository hosts including GitHub, GitLab, Gitea, Gerrit, and Bitbucket with advanced filtering options for exploring large codebases through natural language queries.

searchgit

CodeAlive

codealive-ai

Provides a bridge to CodeAlive's platform for semantic code search, repository exploration, and context-aware chat completions that leverage deep understanding of entire codebases including documentation and dependencies.

search

Provides a secure, sandboxed environment for executing Python, Node.js, and shell commands in ephemeral containers with file management capabilities for code testing, visualization, and data analysis.

filesystemdatabase

NovaCV

lightbaby

Integrates with NovaCV API to generate, analyze, and convert resumes in various formats without dealing with complex document formatting

PDFSupport+5