Arthas 支持 MCP 协议
- Dominant language
- Java
- Stars
- 37.5k
- Forks
- 7.6k
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 4
Description
## 2025 开源之夏 项目
目前 MCP 协议越来越流行,Arthas 需要在Server端支持 MCP 协议,把诊断功能暴露出来,方便各种AI工具集成。
1. 使用 netty 或者 jdk 自身的 http 库实现 mcp server
2. 支持最新的 https://modelcontextprotocol.io/specification/2025-03-26/ 协议规范
3. 支持 Streamable HTTP , 支持 Mcp-Session-Id 重连
4. 可以使用第三方客户端实现集成测试
最终实现的效果是:
1. 在启动arthas之后,通过 HTTP 暴露出 mcp 服务
2. 用户可以使用AI工具,比如 cherry-studio/cline 等调用 arthas 的 mcp 服务进行基础诊断
Contributor guide
Research direction
No source files or tests are named. Start by tracing Arthas server startup and its existing HTTP or server entry points, then read the linked MCP specification and identify the diagnostic functions to expose. Done means an HTTP MCP service starts with Arthas, supports Streamable HTTP and Mcp-Session-Id reconnects, and passes client-based integration tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, backend, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100