Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

MCP server in WAR on application server

未關閉
#763 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
45/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
冷清
技術堆疊
java
領域
api, backend

研究方向

從 HttpServletStreamableServerTransportProvider、其 @WebServlet 註解及其私有建構子著手。追蹤 SDK 預期如何建立 MCP servlet,並將其部署到 WildFly 等應用程式伺服器上的 WAR 中。對於此使用情境,支援的部署路徑已實作或獲得清楚的文件說明,即視為完成。

由索引模型根據 Issue 內容生成。

描述

enhancement P3 waiting for user

I'm trying to create an MCP server using the servlet-based HttpServletStreamableServerTransportProvider. The application should be deployable as a WAR on an application server (e.g. Wiildfly).

I'm struggling to understand how I can get this to work. The class HttpServletStreamableServerTransportProvider, although annotated as @WebServlet, is not instantiable by the container and its only constructor is private such that it cannot be extended (although it is not final).

What is the indended way of getting an MCP servlet running in this usage scenario?

主要語言
Java
星號
3.7k
分支
1.1k
平均合併
1 天 15 小時
30 天內合併 PR
9

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

modelcontextprotocol/java-sdk 的其他 Issue

查看 modelcontextprotocol/java-sdk 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。