MCP server: per-merchant authorization window (maxTimeoutSeconds)
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 56/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 停滞
- 技術スタック
- typescript
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 0
- フォーク
- 0
- 平均マージ
- 3時間 51分
- マージ済み PR(30日)
- 3
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DeepFirstHQ/deepfirstsearch のほかの issue
-
documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
-
help wanted integration
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
enhancement good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 69/100
-
documentation good first issue
難易度 3/5 1〜2日 初心者へのやさしさ 54/100
-
documentation enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
DeepFirstHQ/deepfirstsearch の issue をすべて見る
似ている issue
-
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
core
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
vectorize-io/hindsight#5457 ·
メンテナーはふだん 1 日以内に返信
-
beginner friendly community contributions-welcome good first issue hacktoberfest help wanted testing up-for-grabs
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
lukilabs/beautiful-mermaid#160 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
rescript-lang/rescript-lang.org#1420 ·
メンテナーはふだん 2 日以内に返信