Validate `x-mcp-header` in tool input schema

オープン
#1,269 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@mohit32886 がすでに取り組んでいます。

2026年11月16日 から。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
50/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
活発
技術スタック
java
領域
api

調査の方向性

Locate McpToolRepository in the SDK and the code path where a tool and its input schema are registered; read the linked MCP spec section on custom headers from tool parameters to learn the x-mcp-header validation rules. Add schema validation at tool registration and a unit test alongside the existing tool repository tests. Done when invalid x-mcp-header schemas are rejected with a clear error and valid ones are accepted.

索引モデルが issue の本文から書いたものです。

説明

area/server enhancement modern P2

When adding a tool with an input schema to an SDK McpToolRepository, we must validate x-mcp-header as per spec rules.

主要言語
Java
スター
3.8k
フォーク
1.1k
平均マージ
1日 3時間
マージ済み PR(30日)
38

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/java-sdk のほかの issue

modelcontextprotocol/java-sdk の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。