Let's use AI to Earn!
TypeScript auto-publishdouyindouyin-apielectron-appelectron-reactkuaishoukwaipublishedshipinhaotoolxiaohongshu
docs: add OpenClaw MCP configuration examples
Sakura9855856b3cb3
diff --git a/README.md b/README.mdindex ddbfe45e..02012c5f 100644--- a/README.md+++ b/README.md@@ -280,6 +280,21 @@ AiToEarn exposes two MCP transport protocols:> For self-hosted instances, replace the URL with your own (e.g., `http://localhost:8080/api/unified/mcp`).+**Example for OpenClaw**:++**Method 1**: Send the following message to OpenClaw:++> Help me use mcporter to install this MCP server: `https://aitoearn.ai/api/unified/mcp`, authentication header is `x-api-key: your-api-key`++OpenClaw will handle the rest automatically.++**Method 2**: Install via [mcporter](https://github.com/steipete/mcporter):++```bash+npm install -g mcporter+mcporter config add aitoearn --url "https://aitoearn.ai/api/unified/mcp" --header "x-api-key=your-api-key"+```+## Relay ServiceRelay enables self-hosted AiToEarn instances to connect social media platform accounts via the official AiToEarn relay server (`https://aitoearn.ai`), without needing to configure OAuth credentials for each platform yourself.diff --git a/README_CN.md b/README_CN.mdindex f5d08a00..dbda6cd3 100644--- a/README_CN.md+++ b/README_CN.md@@ -267,6 +267,21 @@ AiToEarn 支持两种 MCP 传输协议:> 如果是自部署实例,将 URL 替换为你自己的地址(如 `http://localhost:8080/api/unified/mcp`)。+**OpenClaw(龙虾)配置示例**:++**方式一**:发送以下消息给龙虾:++> 使用 mcporter 帮我安装这个 MCP 服务:`https://aitoearn.ai/api/unified/mcp`,认证 header 是 `x-api-key: 你的API-Key`++龙虾会自动完成安装配置。++**方式二**:通过 [mcporter](https://github.com/steipete/mcporter) 安装:++```bash+npm install -g mcporter+mcporter config add aitoearn --url "https://aitoearn.ai/api/unified/mcp" --header "x-api-key=你的API-Key"+```+## Relay 中继服务Relay 允许自部署的 AiToEarn 实例通过官方中继服务器(`https://aitoearn.ai`)连接社交媒体平台账号,无需自行配置各平台的 OAuth 凭据。