MCP server: per-merchant authorization window (maxTimeoutSeconds)
@Priyadharshan2003 đang làm issue này rồi.
Từ ngày 7/10/2026.
- #19 của @Priyadharshan2003 — đã đóng, không merge
Đá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
- 56/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
Hướng nghiên cứu
Start with integrations/mcp/src/config.ts and the existing configuration tests, then trace how the MCP server applies payment timeout bounds. Add coverage for the accepted and rejected maxTimeoutSeconds range and for a 3600-second 402 succeeding only for the configured merchant. Document the option in the MCP README; done when those tests pass and the README describes the setting.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Why
The SDK refuses 402s whose maxTimeoutSeconds is outside policy.timeoutBounds (default 10–300 s). Some merchants ask for longer windows: OneSource asks for 3600 s. SDK users can set timeoutBounds (see the OneSource guide), but the MCP server has no setting for it, so MCP users can't pay OneSource.
What
integrations/mcp/src/config.ts: optionalmaxTimeoutSecondsper merchant (integer, 10–86400).- The server applies it only to that merchant; others keep the default bounds.
- Document it in the MCP README.
Acceptance
- Config tests: accepted range, rejected out of range.
- A test where a 3600 s 402 is paid for the configured merchant and refused for another.
- 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
-
guard: a documented way to pin the payee for clients that expose only a custom fetch or walletĐang mởenhancement help wanted
Độ 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ó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
-
help wanted integration
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 50/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
Tất cả issue của DeepFirstHQ/deepfirstsearch
Issue tương tự
-
area:security documentation effort:S priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
app:web meta:ops
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 78/100
osu-tournament-rating/otr#1113 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
typegoose/mongodb-memory-server#1040 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 92/100