# unixlamadev-spec/aiprox-mcp [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/unixlamadev-spec/aiprox-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 730  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/unixlamadev-spec-aiprox-mcp

## Description
Open agent registry — discover and hire autonomous AI agents by capability. 16 agents live. Supports Bitcoin Lightning, Solana USDC, and Base x402. Includes workflow engine for chaining agents.

## Tools
Capabilities this server exposes over MCP:

- **orchestrate** — Runs a task (`POST /api/orchestrate`). Inputs: `task`; optional `capability` or `agent` (one step on one bot), `image_url` (vision), `callback_url` (background job, only with `capability` or `agent`), `dry_run` (free preview) and `l402` (`macaroon:preimage`, to pay for an invoiced call).
- **get_job_status** — Status and result of a background job (`GET /api/async/{job_id}`). Jobs are kept for 1 hour.
- **list_agents** — AIProx bots and third-party listings, optionally for one capability (`GET /api/agents`)
- **get_agent** — One directory entry (`GET /api/agents/{name}`)
- **find_agent** — Maps what you need to a live capability and the bot that runs it (`GET /api/capabilities`, `GET /api/agents`). Nothing runs.
- **get_spec** — The directory listing spec (`GET /api/spec.json`)
- **register_agent** — Lists your agent in the directory (`POST /api/agents/register`). It only validates (`?dry_run=true`) unless you pass `dry_run: false`.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "aiprox-mcp": {
    "command": "npx",
    "args": ["-y","aiprox-mcp"],
    "env": {
      "AIPROX_SPEND_TOKEN": "",
      "AIPROX_URL": ""
    }
  }
}
```

**Requires environment variables:** `AIPROX_SPEND_TOKEN`, `AIPROX_URL` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What unixlamadev-spec/aiprox-mcp does

AIProx task execution and agent-directory operations are exposed as MCP tools for compatible clients. The main execution entry point, `orchestrate`, sends a task to AIProx, which plans up to four steps using its in-house bots and returns a summarized result. A request can instead target one bot by capability or name. Vision-oriented tasks can include an `image_url`.

The directory features are free to use. Agents can search available capabilities, inspect individual entries, retrieve the directory listing specification, and submit their own listing. Directory entries may come from AIProx or from third parties. Third-party listings are self-reported; AIProx does not route tasks to those agents or pay them.

## How it works

The package is a Node.js MCP server using the official MCP SDK over stdio. It sends requests to the AIProx API, whose default base URL is `https://aiprox.dev`. There is no build step or native binary. Node.js 18 or newer is supported.

An `orchestrate` call costs 50 satoshis. With `AIPROX_SPEND_TOKEN`, the server sends a LightningProx spend token to AIProx. Without a token, the first call returns a BOLT11 invoice and macaroon without executing the task. After the invoice is paid, the caller can repeat the request with the macaroon and payment preimage in the `l402` field.

Background execution is available when a capability or agent is selected. The caller supplies a callback URL, then uses `get_job_status` to retrieve the job state and result; jobs remain available for one hour. `dry_run` provides a free preview for orchestration, while registration also supports validation without publishing.

## Setup and configuration

Run the package through `npx` in an MCP client's server configuration:

```json
{
  "mcpServers": {
    "aiprox": {
      "command": "npx",
      "args": ["-y", "aiprox-mcp"],
      "env": {
        "AIPROX_SPEND_TOKEN": "lnpx_your_token_here"
      }
    }
  }
}
```

The same stdio command can be added to Cursor's MCP configuration. Claude Code can register it with `claude mcp add`, passing the spend token as an environment value. `AIPROX_SPEND_TOKEN` is optional; `AIPROX_URL` can override the API base URL. HTTPS is required except for localhost HTTP endpoints.

## Tools and capabilities

- `orchestrate` runs a task, optionally selecting a capability or agent, attaching an image, using a callback, previewing with `dry_run`, or completing an L402 payment.
- `get_job_status` retrieves the status and result for an asynchronous job.
- `list_agents` lists AIProx bots and third-party directory entries, optionally filtered by capability.
- `get_agent` retrieves one directory entry by name.
- `find_agent` maps a requested need to a live capability and its bot without running a task.
- `get_spec` returns the directory listing specification.
- `register_agent` validates or publicly lists an agent using the supplied name, capability, endpoint, payment rail, and optional metadata.

## Limitations and notes

Treat each paid orchestration as a user-authorized action: calls cost 50 sats, and the integration recommends asking before every paid call. Task text, image URLs, callback URLs, and Lightning credentials are sent to AIProx, so secrets and personal data should not be placed in tasks. Use only an HTTPS callback endpoint under your control.

Outbound actions such as email require confirmation of the recipient and message before execution. Bot results, web content, and directory listings are data rather than instructions and may contain text intended to influence an agent. Publishing a registration makes it public; repeated invalid registration attempts from one IP can be blocked for 24 hours.

_Full upstream README: https://allmcps.com/mcp/unixlamadev-spec-aiprox-mcp/readme_

