integrations/mcp: expose guard.axios for MCP servers that use axios
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
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
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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DeepFirstHQ/deepfirstsearch
-
documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
guard: a documented way to pin the payee for clients that expose only a custom fetch or walletApertaenhancement help wanted
Difficoltà 3/5 1-2 giorni Idoneità per principianti 50/100
-
good first issue integration
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
-
enhancement good first issue
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
-
help wanted integration
Difficoltà 3/5 Mezza giornata Idoneità per principianti 25/100
Tutte le issue di DeepFirstHQ/deepfirstsearch
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
agilepathway/label-checker#739 · 4 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
CopilotKit/OpenBot#800 ·
I maintainer di solito rispondono entro 1 giorno
-
Endpoint links in the tag operations list are below the 24px target sizeForse già presa @AdzerKI l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
ehmpathy/rhachet-roles-bhuild#471 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
I maintainer di solito rispondono entro 1 giorno