Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

agentSafeGuard for x402 payments over MCP (`@x402/mcp`)

クローズ
#50 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
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 の本文から書いたものです。

説明

help wanted integration

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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

DeepFirstHQ/deepfirstsearch のほかの issue

DeepFirstHQ/deepfirstsearch の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。