integrations/mcp: expose guard.axios for MCP servers that use axios
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 50/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 3 giờ 51 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của DeepFirstHQ/deepfirstsearch
-
documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
enhancement good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 62/100
-
help wanted integration
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 25/100
-
enhancement good first issue
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/100
-
good first issue integration
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
Tất cả issue của DeepFirstHQ/deepfirstsearch
Issue tương tự
-
documentation good first issue
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 72/100
sujithputta02/Esapay#13 ·
-
Share dialog: the address book's contact count reads "1 contacts" (no singular form in any language)Có thể đã có người làm @chibenwa đã nhận hôm nay. Đang mởai-driven-qa bug claude Cosmetic
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
linagora/twake-contacts-frontend#271 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Koenkk/zigbee2mqtt#33402 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
dx P2 platform Stellar Wave Wave 10
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
winsznx/routedock#579 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:ui effort:S enhancement priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày