Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#57 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

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
Lĩnh vực
backend, payments

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ả

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.

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DeepFirstHQ/deepfirstsearch

Tất cả issue của DeepFirstHQ/deepfirstsearch

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.