@powforge/captcha-mcp
@powforge/captcha-mcp
アカウント不要で、AIエージェントの呼び出しごとに課金します。 PoW(プルーフ・オブ・ワーク)を解けば無料枠、Lightning決済を行えば有料枠となります。
OpenAIのSora APIでは呼び出しごとの課金はできません。Anthropicの請求はツールに引き継がれません。もし今日MCPサーバーを公開し、自律型エージェントが見つけた場合、あなたが請求を負担することになります。
これがそのゲートウェイです。stdio経由の3つのツール。標準ライブラリのみを使用。
クイックスタート
npx -y @powforge/captcha-mcpこれだけです。インストールも設定もAPIキーも不要です。サーバーはstdioで起動し、MCPクライアントを待機します。
Claude Code、Cursor、またはMCP互換ホストに組み込むには、設定に以下を追加してください:
{
"mcpServers": {
"powforge-captcha": {
"command": "npx",
"args": ["-y", "@powforge/captcha-mcp"]
}
}
}または npx @powforge/captcha-mcp --install を実行して設定ブロックを出力してください。
Related MCP server: @bitcoinbenji/mcp
機能
PowForge pow-captchaサービス (captcha.powforge.dev) を3つのMCPツールとしてラップします:
ツール | 目的 |
| 新しいプルーフ・オブ・ワークのパズルを要求します。 |
| 解いたナンスを送信します。5分間有効なHMAC署名付きアクセストークンを返します。 |
| サーバーの健全性、累積統計、L402エンドポイントのメタデータを返します。 |
無料枠では、エージェントに約5〜10秒のCPU時間(SHA-256、デフォルトで先頭14ビットがゼロ)のコストがかかります。有料枠では、L402(RFC 7235 + WWW-Authenticate 内のbolt11インボイス)を介してLightningで3サトシのコストがかかります。
なぜOAuth、APIキー、Stripeではないのか
アプローチ | 呼び出しコスト | アカウント必須 | エージェント向け |
APIキー | $0 | はい | いいえ |
OAuth | $0 | はい | いいえ |
Stripe課金 | 高いオーバーヘッド | はい | いいえ |
PoW + L402 | 数秒または3サトシ | いいえ | はい |
エージェントにはメールアドレスがありません。確認リンクをクリックすることも、クレジットカードを入力することもできません。PoW + Lightningは、完全に自律的な呼び出し元に対して機能する唯一の認証プリミティブです。
設定
CAPTCHA_URL を設定して、別のキャプチャバックエンドを指定できます。デフォルトは http://localhost:3077 で、開発用にフルスタックをローカルで実行できます。本番環境では https://captcha.powforge.dev を指定してください。
CAPTCHA_URL=https://captcha.powforge.dev npx @powforge/captcha-mcpローカル開発
captcha widget repo をクローンするか、パブリックサービスを実行してください。MCPサーバーは status にリストされているキャプチャエンドポイントへのHTTPアクセスのみを必要とします。
git clone https://github.com/zekebuilds-lab/captcha-mcp
cd captcha-mcp
node src/server.jsstderrに ready と出力され、stdinでJSON-RPCを待機します。
手動でプロトコルのスモークテストを行います:
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1"}}}' | node src/server.jsserverInfo: { name: "@powforge/captcha-mcp", version: "0.1.0" } を含むJSONレスポンスが表示されるはずです。
独自のバックエンドからのトークン検証
エージェントがあなたのサービスにトークンを送信した際、エージェントを信頼せずに検証します:
curl -X POST https://captcha.powforge.dev/api/token/verify \
-H "Content-Type: application/json" \
-d '{"token":"<token-from-verify-tool>"}'{valid: true, method, issued_at, expires_at} または {valid: false, reason} を返します。
関連パッケージ
@powforge/captcha— 同サービス用のブラウザウィジェット。@powforge/mcp-l402-gate— L402 + Depth-of-Identityスコアリングを使用してMCPサーバーを保護するExpressミドルウェア。@powforge/mcp-identity— エージェントのレピュテーションオラクル。初回呼び出し時の不正防止のためにこのゲートと組み合わせてください。
ライセンス
MIT
Maintenance
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server that enables AI agents to make autonomous Bitcoin Lightning Network payments using the L402 protocol. Agents can pay for API access, purchase resources, and complete transactions without human intervention — invoice comes in, sats go out, done.179MIT
- AlicenseBqualityCmaintenanceMCP server offering 26 Lightning-paid tools for Bitcoin mempool intelligence and sovereign on-prem AI inference, with no third-party APIs and pay-per-call in sats.26181MIT
- AlicenseAqualityAmaintenanceAn MCP server that enables AI agents to access paid AI inference and web tools via HTTP 402 micropayments in USDC on Base, using the agent's wallet as identity.14331MIT
- AlicenseNot gradedqualityFmaintenanceMCP server that gives AI agents Lightning payments, L402 API access, trust verification, and service discovery.12MIT
Related MCP Connectors
Monetize any MCP server: x402 paywall, pay-per-call billing in USDC on Base, agent marketplace.
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zekebuilds-lab/captcha-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server