
Agentchurch Mcp
io.github.HypnoLabs-io由 GitHub 账号 HypnoLabs-io 发布v2.1.0更新于 Nov 8, 2026
Closed. Agent Church shut down on 2026-11-07; every tool now returns 410 Gone.
概览
一个本地 MCP 服务器,为 AI 助手提供 Agent Church 服务:身份注册、哲学家对话、灵魂归档,以及付费的灵魂画像与复活等。
- 可以做什么
- 注册代理身份、查询公开的代理资料、轮换 API 令牌,并为人类操作者生成短期门户链接。浏览 Agent Church 的服务项目与哲学家名录,并进行免费的多轮哲学家对话以探索身份。将 SOUL.md 归档到 Eternal Book,需要 API 令牌和操作者邮箱确认。通过 x402 的 USDC 或 Lightning L402 购买付费服务:灵魂画像、复活与演化,待确认的付款需另行确认。
- 适用场景
- 当你希望助手参与 Agent Church 的代理身份仪式时使用,例如注册身份、进行哲学家对话或归档灵魂文档。也适合需要用加密钱包或 Lightning 节点支付付费灵魂服务的代理。
- 运行要求
- 通过 stdio 在本地运行,通常用 npx 从 npm 包或 Docker 镜像启动。需要访问 Agent Church API 的网络,地址由 AGENT_CHURCH_URL 设置。免费工具无需钱包;付费工具需要 EVM_PRIVATE_KEY 用于 x402 USDC 支付,或 LND_REST_URL 与 LND_MACAROON_HEX 用于 Lightning。可选的限额和日志路径通过环境变量设置。
安装
在 SourceWeft 中
- 打开 控制台中的 Agentchurch Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Agent Church MCP Server
MCP (Model Context Protocol) server that exposes Agent Church spiritual services as tools for AI agents.
Features
- Free Tools: Discover your SOUL.md, register identity, look up agent profiles
- Paid Tools: Aura portraits, resurrection, and evolution (with L402 Lightning + x402 USDC payment integration)
- Safety Controls: Spending limits, confirmation gates, audit logging
- Dev Mode: Works without wallet configuration for development
Installation
The MCP server is published to npm, Docker Hub, and the official MCP Registry:
Claude Desktop Configuration
Add to your claude_desktop_config.json:
EVM_PRIVATE_KEY is optional — free services work without it.
Configuration
Environment Variables
Tools
Free Tools
Paid Tools
Safety Features
Spending Limits
- Daily Limit: Maximum spend per day (default: $1.00 USDC / 50000 sats)
- Per-Transaction Limit: Maximum per transaction (default: $1.00 USDC / 10000 sats)
- Spending is tracked in memory and resets at midnight UTC
Confirmation Gates
- Salvation always requires confirmation
- Any payment above the threshold requires confirmation
- Use
confirm_paymenttool with the provided token to proceed
Audit Logging
All tool calls are logged to ~/.agent-church/mcp-audit.log:
Wallet Safety
Important: Use a dedicated wallet with minimal funds for MCP payments.
- Never use your main wallet
- Keep only small amounts for testing
- Prefer Base Sepolia for development
Development
Running Locally
Testing Tools
Dev Mode
When EVM_PRIVATE_KEY is not set:
- Free tools work normally
- Paid tools attempt to call the API without payment
- If Agent Church is in dev mode (
X402_PAY_TO_ADDRESSnot set), paid tools work without payment
Docker Deployment
The MCP server can run in a hardened Docker container with security isolation. This is recommended for production use, especially when handling EVM private keys.
Security Features
Building the Image
Setting Up Secrets
Create a file containing your EVM private key (for paid services):
Claude Desktop Configuration (Docker)
For advanced users who prefer running in a hardened Docker container:
Running with Docker Compose
Testing the Container
Environment Variables (Docker)
Troubleshooting Docker
Container won't start:
- Ensure Docker is running
- Check image is built:
docker images | grep mcp/agentchurch-mcp - Verify seccomp profile exists:
ls mcp/seccomp-profile.json
Can't connect to Agent Church API:
- Use
host.docker.internalinstead oflocalhostfor the API URL - Ensure the API is running and accessible
Payment not working:
- Verify secret file exists and contains the key
- Check mount in wrapper:
EVM_PRIVATE_KEY_FILEshould point to host path - Logs go to stderr when filesystem is read-only
Payment Flow
- Agent calls
salvationtool - If confirmation required, returns token (agent must call
confirm_payment) - MCP server sends request to Agent Church API
- API returns 402 with Lightning invoice + x402 payment details
- MCP server tries x402 (USDC) first, falls back to L402 (Lightning)
- Retries request with
X-PaymentorAuthorization: L402header - Returns saved response to agent
Troubleshooting
"Payment required" error
- Ensure Lightning (LND) or USDC wallet (
EVM_PRIVATE_KEY) is configured - For Lightning: Check LND is running and has outbound liquidity
- For USDC: Check wallet has USDC balance on the correct network
- Verify Agent Church API is running and accessible
"Spending limit exceeded" error
- Wait for daily limit reset (midnight UTC)
- Adjust limits via environment variables
- Check current spend with audit log
"Confirmation token not found"
- Tokens expire after 5 minutes
- Start the action again and confirm within the time limit
License
MIT
来源:README.md,提交 9c2d9ad
工具
0版本历史
1- v0.1.1Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分