Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Self-healing API proxy MCP that sends REST requests, diagnoses failures using Claude, patches requests, and retries. Successful fixes are remembered for instant reuse.

README.md

!ProxyPI

What it is

Self-healing API proxy MCP for Cursor, Claude Code, or any MCP-compatible client. Send any REST request — if it fails, ProxyPI reads the error, diagnoses the problem using Claude, patches the request, and retries. Successful fixes are remembered and applied instantly next time, without calling Claude.

---

How it works

You: proxypi_request → POST https://api.example.com/users

ProxyPI:  try → fail → diagnose (Claude) → patch → retry → remember

Next time the same error occurs on the same host and path, the fix is applied from memory instantly — no Claude call needed.

---

Demo

npx proxypi

<pre> <span style="color: #22d3ee">▶</span> <span style="color: #a855f7">proxypi</span> sending → POST https://api.example.com/users <span style="color: #f59e0b">⚠</span> <span style="color: #a855f7">proxypi</span> 422 — checking memory for known fix... <span style="color: #22d3ee">▶</span> <span style="color: #a855f7">proxypi</span> healing attempt 1 — asking Claude to diagnose... <span style="color: #22d3ee">▶</span> <span style="color: #a855f7">proxypi</span> retrying with patch: body uses 'name' but API expects 'full_name' <span style="color: #22c55e">✔</span> <span style="color: #a855f7">proxypi</span> healed in 1 attempt — 200 — 1843ms </pre>

---

Install

npx proxypi

---

Config

Add to .cursor/mcp.json (project root or ~/.cursor/mcp.json):

{
  "mcpServers": {
    "proxypi": {
      "command": "npx",
      "args": ["-y", "proxypi"],
      "env": {
        "ANTHROPIC_API_KEY": "your-api-key-here"
      }
    }
  }
}

Restart Cursor. Four tools: proxypi_request, proxypi_history, proxypi_replay, proxypi_clear.

---

Tools

| Tool | Description | |------|-------------| | proxypi_request | Send any REST request — auto-heals on failure | | proxypi_history | View past fixes, filter by API host | | proxypi_replay | Re-run a stored fix to verify it still works | | proxypi_clear | Wipe all healing records from memory |

---

What ProxyPI can fix

| Error | What ProxyPI does | |-------|------------------| | 401 Unauthorized | Fixes Authorization header format (Bearer vs Basic vs token prefix) | | 400 Bad Request | Fixes body field names, types, or missing required fields | | 422 Unprocessable | Corrects schema mismatches, enum values, date formats | | 404 Not Found | Fixes URL path, API version prefix, trailing slashes | | 405 Method Not Allowed | Switches to the correct HTTP method |

---

More

  • Memory: Fixes stored in ~/.proxypi/memory.json
  • Env: ANTHROPIC_API_KEY required (only when using healing — server starts without it)
  • Local dev: cp .env.example .env, add key, then npm run dev
  • Tests: npm test

MIT · GitHub

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Other servers.