Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

integrations/mcp: expose guard.axios for MCP servers that use axios

Aperta
#57 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
50/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend, payments

Direzione di ricerca

Start with guard.axios as added in #48 and the existing paid_fetch/check_price path in integrations/mcp, which shows how the fetch version is wired. Decide whether the README in integrations/mcp needs only a snippet or a small helper. Done when a test using the real @x402/axios refuses a swapped payee with payee_mismatch and makes zero signatures, and the README snippet runs unchanged.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

help wanted integration

guard.axios(instance) landed in the SDK (#48): it records the URL each axios call is made to so Agent Safe judges payments against the right origin, the same way guard.fetch does.

What: make it easy to use from an MCP server built on axios. Either document the pattern in integrations/mcp/README.md with a tested snippet, or add a thin helper if the MCP server's transport needs one. The MCP paid_fetch/check_price path already uses fetch; this is for MCP servers that proxy an axios-based upstream.

Done when: a test with the real @x402/axios shows a swapped payee refused (payee_mismatch) with zero signatures through the axios path, and the README section runs as written.

Lingua principale
TypeScript
Stelle
0
Fork
0
Merge medio
3h 51m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DeepFirstHQ/deepfirstsearch

Tutte le issue di DeepFirstHQ/deepfirstsearch

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.