Skip to main content
Glama

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.


Related MCP server: SelfHeal MCP

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

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

Available Tools

4 tools
proxypi_clearA

Clear all stored healing records from memory.

Inputs: no named parameters.

proxypi_historyA

Show the history of auto-healed API requests. Optionally filter by API host.

Inputs: host, limit.

proxypi_replayB

Replay a previously healed request. Useful for testing that a fix still works after an API update.

Inputs: host (required), index.

proxypi_requestA

Send a request to any REST API. If the request fails, ProxyPI diagnoses the error, patches the request using Claude, and retries automatically — up to 3 times. Learned fixes are remembered and applied instantly next time without calling Claude.

Examples:

Inputs: url (required), body, method, params, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool serves a distinct purpose: send a request, view history, replay a healed request, and clear records. No overlap or ambiguity between them.

    Naming Consistency5/5

    All tool names follow the consistent pattern 'proxypi_' prefix plus a simple action verb (request, history, replay, clear), using lowercase snake_case throughout.

    Tool Count5/5

    With 4 tools, the set is compact and well-scoped for a proxy request healer. Each tool earns its place without redundancy or bloat.

    Completeness5/5

    The tool surface fully covers the request-healing lifecycle: sending, reviewing history, replaying, and clearing records. There are no obvious dead ends or missing operations for the stated domain.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Converts any REST API endpoints into MCP tools, enabling AI clients like Cursor and Claude Desktop to call internal services directly.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Probes your live API and classifies why each endpoint failed (root cause, evidence, and a calibrated confidence level), exposed over MCP so your AI assistant debugs from evidence instead of guessing. Works with FastAPI, Express, Next.js, tRPC, and GraphQL.
      8
      366 npm
      2
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables testing and interacting with any REST API endpoint directly from MCP clients like Claude and Cline. Supports GET, POST, PUT, DELETE, and PATCH requests with configurable authentication (Basic, Bearer, API Key), custom headers, SSL verification control, and response size limits.
      5 npm
      ISC