
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 分