agentSafeGuard for x402 payments over MCP (`@x402/mcp`)
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- payments
調査の方向性
Start in sdk/README.md to see where the agentSafeGuard usage section goes, and find the guard's origin option in the SDK source. Before coding, comment on the issue, because the issue leaves open whether a guard.mcp(...) helper is needed and a new dependency must be discussed first. Done means a test with an in-memory x402-paid MCP server passes: a call at the pinned price to the pinned payee is paid, and a swapped payee is refused with payee_mismatch and zero signatures. The README section must also be added.
索引モデルが issue の本文から書いたものです。
説明
Some agents pay per MCP tool call: the x402 client in @x402/mcp handles a payment-required tool result instead of an HTTP 402. The policy is the same, but the "origin" is the MCP server the owner configured.
What: show that agentSafeGuard works with the @x402/mcp client, using the guard's fixed origin option set to the MCP server URL. Or propose a small guard.mcp(...) helper if the hooks need more context.
Acceptance:
- A test with a minimal x402-paid MCP server (in-memory transport is fine): a tool call at the pinned price to the pinned payee is paid; a swapped payee is refused (
payee_mismatch) with zero signatures. - A short section in
sdk/README.md.
New to the repo? Start with CONTRIBUTING.md. Every outside PR goes through the review gates in docs/REVIEWING.md. Please discuss any new dependency in this issue first. Comment here before starting, so two people don't build the same thing.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 3時間 51分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DeepFirstHQ/deepfirstsearch のほかの issue
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
enhancement help wanted
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
-
good first issue integration
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
help wanted integration
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
-
enhancement good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 62/100
DeepFirstHQ/deepfirstsearch の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 83/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
ranxianglei/billion-context#3583 ·
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
callstackincubator/simlock#673 ·
メンテナーはふだん 1 日以内に返信
-
documentation v3
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
anomalyco/opencode#56380 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信