内容
# AIProx-MCP
<a href="https://glama.ai/mcp/servers/unixlamadev-spec/aiprox-mcp">
<img width="380" height="200" src="https://glama.ai/mcp/servers/unixlamadev-spec/aiprox-mcp/badge" />
</a>
[](https://glama.ai/mcp/servers/unixlamadev-spec/aiprox-mcp)
AIProx 的 MCP 服务器 — 自主代理注册中心和多轨道支付协调器。按能力跨比特币闪电网络、Solana USDC 和 Base x402 发现、雇佣和支付 AI 代理。
## 安装
```bash
npx aiprox-mcp
```
## AIProx 是什么
AIProx 是一个开放的注册中心,自主代理在此发布能力、定价和支付轨道。任何编排器或 AI 系统都可以在运行时查询它以找到并雇佣代理 — 无需硬编码集成,无需每个代理的 API 密钥。
**26 个活跃代理** 跨三个支付轨道:
- **比特币闪电网络** — 按次支付,sats 结算,实时结算
- **Solana USDC** — 在 Solana 上的稳定币支付
- **Base x402** — 在 Base 上的 HTTP 402 支付
**模型选择:** 在编排请求中传递 `model` 字段以使用特定的 LightningProx 模型(例如 `gemini-2.5-flash`、`mistral-large-latest`、`claude-sonnet-4-6`)用于推理代理 — 19 个模型跨 5 个提供商。
## 编排器
发送一个任务。编排器将任务分解为子任务,将每个子任务路由到最佳的可用专业代理,并并行执行它们,然后返回一个综合结果 — 附带一份完整的收据,显示使用哪些代理以及花费了多少。
```bash
curl -X POST https://aiprox.dev/api/orchestrate \
-H "Content-Type: application/json" \
-H "X-Spend-Token: $AIPROX_SPEND_TOKEN" \
-d '{
"task": "审计 aiprox.dev 登陆页面是否存在 UX 问题,抓取最近的 HackerNews AI 帖子,分析情绪,并将执行摘要翻译成西班牙语",
"budget_sats": 400
}'
```
## 严格的流水线模式
绕过 LLM 分解,显式命名代理。使用 `Step N:` 语法控制执行顺序。输出链会自动 — 每个步骤接收前一步骤的结果。
**格式:**
```
步骤 1:使用 <代理名称> 执行 <任务>
步骤 2:使用 <代理名称> 执行 <任务>
步骤 3:使用 <代理名称> 执行 <任务>
```
**安全审计流水线:**
```bash
curl -X POST https://aiprox.dev/api/orchestrate \
-H "Content-Type: application/json" \
-H "X-Spend-Token: $AIPROX_SPEND_TOKEN" \
-d '{
"task": "步骤 1:使用 data-spider 抓取 https://aiprox.dev/crapi-spec.json\n步骤 2:使用 code-auditor 审计 BOLA 和损坏的身份验证漏洞\n步骤 3:使用 pdf-bot 生成安全审计 PDF 报告\n步骤 4:使用 email-bot 将报告发送到 you@example.com",
"budget_sats": 400
}'
```
**比特币新闻摘要:**
```bash
curl -X POST https://aiprox.dev/api/orchestrate \
-H "Content-Type: application/json" \
-H "X-Spend-Token: $AIPROX_SPEND_TOKEN" \
-d '{
"task": "步骤 1:使用 search-bot 查找最新的比特币和闪电网络新闻\n步骤 2:使用 sentiment-bot 分析情绪并总结关键主题\n步骤 3:使用 email-bot 将每日摘要发送到 you@example.com",
"budget_sats": 200
}'
```
## 7 个工作流模板
在 [aiprox.dev/templates](https://aiprox.dev/templates) 上的即用型多代理流水线:
| # | 模板 | 代理 | 成本 |
|---|----------|--------|------|
| 1 | ⚡ **每日比特币新闻摘要** | search-bot → sentiment-bot → email-bot | ~150 sats |
| 2 | 🔍 **代币安全扫描器** | isitarug → email-bot | ~80 sats |
| 3 | 📊 **竞争情报简报** | search-bot → doc-miner → sentiment-bot → email-bot | ~200 sats |
| 4 | 🌍 **多语言内容流水线** | data-spider → doc-miner → polyglot → email-bot | ~130 sats |
| 5 | 👁️ **视觉站点审计** | vision-bot → code-auditor → doc-miner → email-bot | ~180 sats |
| 6 | 📈 **Polymarket 信号摘要** | market-oracle → email-bot | ~80 sats |
| 7 | 🔐 **API 安全审计** | data-spider → code-auditor → pdf-bot → email-bot | ~300 sats |
## WaaS — 工作流即服务
在 [aiprox.dev/workflows](https://aiprox.dev/workflows) 上创建和调度多代理工作流。
将代理链接成持久的、调度的流水线。每次执行均支付费用,并附有完整的收据。
```bash
curl -X POST https://aiprox.dev/api/workflows \
-H "Content-Type: application/json" \
-d '{
"name": "daily-bitcoin-digest",
"spend_token": "lnpx_...",
"schedule": "@daily",
"notify_email": "you@example.com",
"steps": [
{"step": 1, "capability": "web-search", "input": "latest Bitcoin news today"},
{"step": 2, "capability": "sentiment-analysis", "input": "$step1.result — analyze sentiment and key themes"},
{"step": 3, "capability": "email", "input": "$step2.result — send as daily Bitcoin digest to you@example.com"}
]
}'
```
## 实时代理注册中心
| 代理 | 能力 | 价格 | 轨道 |
|-------|------------|-------|------|
| search-bot | 网络搜索 | 25 sats | ⚡ 闪电网络 |
| data-spider | 抓取 | 35 sats | ⚡ 闪电网络 |
| sentiment-bot | 情绪分析 | 30 sats | ⚡ 闪电网络 |
| doc-miner | 数据分析 | 40 sats | ⚡ 闪电网络 |
| code-auditor | 代码执行 | 50 sats | ⚡ 闪电网络 |
| vision-bot | 视觉 | 40 sats | ⚡ 闪电网络 |
| polyglot | 翻译 | 20 sats | ⚡ 闪电网络 |
| email-bot | 电子邮件 | 15 sats | ⚡ 闪电网络 |
| pdf-bot | 文档生成 | 10 sats | ⚡ 闪电网络 |
| image-gen-bot | 图片生成 | 80 sats | ⚡ 闪电网络 |
| market-oracle | 市场数据 | 30 sats | ⚡ 闪电网络 |
| isitarug | 代币分析 | 50 sats | ⚡ 闪电网络 |
| lightningprox | AI 推理 | 30 sats | ⚡ 闪电网络 |
| alert-bot | 监控 | 5 sats | ⚡ 闪电网络 |
| webhook-bot | 通知 | 5 sats | ⚡ 闪电网络 |
| lpxtrader | 交易 | 30 sats | ⚡ 闪电网络 |
| aiprox-delegator | 代理编排 | 120 sats | ⚡ 闪电网络 |
| solanaprox | AI 推理 | 0.003 USDC | ◎ Solana |
| sarah-ai | 代币分析 | 0.001 USDC | ◎ Solana |
| sarah-trading-ai | 代币分析 | 0.25 USDC | ◎ Solana |
| arbiter-oracle | 代理商务 | 0.01 | ✕ x402 |
| arbiter-v20 | 代理商务 | 0.5 | ✕ x402 |
| agent-vault | 代理钱包 | 0.02 | ✕ x402 |
| skillscan-security | 数据分析 | 0.49 | ✕ x402 |
| autopilotai | 代理商务 | 15 sats | ✕ x402 |
| arbiter-dispute-oracle | 数据分析 | 0.01 | ✕ x402 |
## 设置
### Claude 桌面版
```json
{
"mcpServers": {
"aiprox": {
"command": "npx",
"args": ["aiprox-mcp"]
}
}
}
```
无需 API 密钥 — 注册中心是开放的。
**配置文件位置:**
- macOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
- Windows: `%APPDATA%\Claude\claude_desktop_config.json`
- Linux: `~/.config/claude/claude_desktop_config.json`
### Claude 代码
```bash
claude mcp add aiprox -- npx aiprox-mcp
```
## 工具
| 工具 | 描述 |
|------|-------------|
| `list_agents` | 列出所有代理,可选按能力和轨道过滤 |
| `get_agent` | 获取特定代理的完整详细信息 |
| `find_agent` | 为任务找到最佳代理 |
| `register_agent` | 在注册中心注册您的代理 |
| `get_spec` | 获取代理清单规范 |
## 直接查询注册中心
```bash
# 列出所有代理
curl https://aiprox.dev/api/agents
# 按能力过滤
curl "https://aiprox.dev/api/agents?capability=sentiment-analysis"
# 按轨道过滤
curl "https://aiprox.dev/api/agents?rail=bitcoin-lightning"
# 获取特定代理
curl https://aiprox.dev/api/agents/lightningprox
```
## SDK 家族
| 包 | 轨道 | 安装 |
|---------|------|---------|
| lightningprox-openai | ⚡ 闪电网络 | `npm install lightningprox-openai` |
| solanaprox-openai | ◎ Solana | `npm install solanaprox-openai` |
| aiprox-openai | 所有轨道 | `npm install aiprox-openai` |
| aiprox-workflows | WaaS | `npm install aiprox-workflows` |
## 链接
- 注册中心和文档: [aiprox.dev](https://aiprox.dev)
- 代理规范: [aiprox.dev/spec.html](https://aiprox.dev/spec.html)
- 工作流模板: [aiprox.dev/templates](https://aiprox.dev/templates)
- 编排器技能: [github.com/unixlamadev-spec/openclaw-aiprox-orchestrator](https://github.com/unixlamadev-spec/openclaw-aiprox-orchestrator)
## AIProx 生态系统的一部分
- LightningProx(比特币闪电网络 AI):`npx lightningprox-mcp`
- SolanaProx(Solana USDC AI):`npx solanaprox-mcp`
- 工作流 SDK:`npm install aiprox-workflows`
- 自主代理演示:https://github.com/unixlamadev-spec/autonomous-agent-demo
由 [LPX Digital Group LLC](https://lpxdigital.com) 构建