modelcontextprotocol / modelcontextprotocol/php-sdk
[Client] Print contents of stderr when command in StdioTransport fails to start
オープン
まだ誰も着手していません。
enhancement
- 主要言語
- PHP
- スター
- 1.6k
- フォーク
- 173
- 平均マージ
- 2日 49分
- マージ済み PR(30日)
- 23
説明
Is your feature request related to a problem? Please describe.
Currently when command fails to start all I get is "Error Initialization failed: Request timed out", which is hard to debug.
Describe the solution you'd like
Print a more specific error message and the contents of stderr that was outputted when starting the MCP server
Describe alternatives you've considered
Add debugging code to library source or use xdebug
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Client StdioTransport の起動パスと、コマンドの失敗がどのように "Request timed out" エラーになるかを特定します。コマンドの起動中に stderr がどのように取得されるかを追跡し、次に、MCP サーバーの起動に失敗した場合に stderr の内容を含む具体的なエラーが報告されることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- php
- 領域
- backend
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 58/100