Commit Graph
27 Commits
Author SHA1 Message Date
hengyunabc 1712ececa6 move arthas-mcp-server module path 2025-12-08 10:09:51 +08:00
hengyunabc e6df799c3a McpStatelessServer support arthas auth, userId 2025-12-07 14:38:21 +08:00
hengyunabc 5f74133597 mv arthas mcp tools impl to core module 2025-12-07 08:21:37 +08:00
hengyunabc 1a35170825 refactor: extract command result models to separate arthas-model module 2025-12-07 08:21:37 +08:00
Yeaury 02c141b325 Feature: Refactor MCP Server Architecture to Streamable or Stateless Single Service (#3096) 2025-12-06 14:21:33 +08:00
hengyunabc aeb9c9d1e9 watch/trace support timeout (#3089) 2025-11-30 20:00:52 +08:00
hengyunabc d0c3516184 feat: add userId tracking for usage statistics across all command execution paths (#3087)
- Add userId field to Session interface and implementation
- Support userId extraction from HTTP headers (X-User-Id) and URL parameters
- Pass userId through command execution chain (HTTP API, MCP server, command executor)
- Include userId in usage statistics reporting to arthasUsageSuccess
- Add userId display in session command output
- Update CommandExecutor interface to accept userId parameter
- Ensure userId is properly propagated in:
  * HTTP term connections (BasicHttpAuthenticatorHandler, ExtHttpTtyConnection)
  * HTTP API requests (ApiRequest, HttpApiHandler)
  * MCP server stateless and streamable handlers
  * Arthas command context and tool execution
2025-11-27 15:49:03 +08:00
Yeaury 345d2c2c5c feat: upgrade MCP version to 2025-06-18 with elicitation and MCP-Protocol-Version (#3084) 2025-11-25 15:04:50 +08:00
hengyunabc 6d9b6051b2 use central-publishing-maven-plugin 2025-10-15 00:08:11 +08:00
Zhang Yu f6ff06b18b docs: add official documentation for MCP Server (#3073) 2025-10-13 15:14:48 +08:00
hengyunabc 0c38eee47b remove netty-all dep. 2025-10-11 15:17:31 +08:00
Zhang Yu 1eadcada98 fix: 优雅关闭 Netty SSE 连接,避免客户端出现 Premature close 错误 (#3072) 2025-10-10 17:21:15 +08:00
1599-web 0d203b4ad0 feat: add JFR analysis frontend and backend (#3050) 2025-10-10 16:12:36 +08:00
Zhang Yu a324a83665 fix: 修复空指针异常并改进README (#3066) 2025-10-09 17:28:56 +08:00
Zhang Yu 91a6fa927d feat: enhance MCP authentication and allow configurable /mcp path (#3061) 2025-10-09 17:28:56 +08:00
Zhang Yu 71e4cd8e52 feat: mcp serialization fix (#3058)
* feat: 升级fastjson2版本并优化序列化处理

- 升级fastjson2版本以支持更大的序列化深度限制,修复"level too large : 2049"错误
- 优化工具类处理逻辑,解决无getter方法类的序列化问题
- 增强流式工具错误信息处理机制

* fix: 优化类名匹配和错误信息判定机制
2025-10-09 17:28:56 +08:00
Zhang Yu 367df00e25 feat: Support MCP 2025-03-26 protocol with streaming tools (#3054)
- 实现MCP协议2025-03-26版本支持
- 添加流式工具(Streamable Tools)架构
- 支持双传输模式:流式传输(SSE)和无状态传输
- 实现30+个Arthas工具的MCP接口封装
- 添加实时进度通知和结果流式输出
- 支持watch、monitor、trace、dashboard、profiler等流式工具
2025-10-09 17:28:56 +08:00
Zhang Yu 2b837ca2c4 feat: Add MCP (Model Context Protocol) base protocol implementation with Netty (#3039) 2025-10-09 17:28:56 +08:00
Hervé Boutemy 0d6c1a63eb drop duplicate dependencies. fix #3004 2025-03-25 17:28:52 +08:00
Hervé Boutemy bde1136b6a drop duplicate dependency 2025-03-24 15:33:06 +08:00
FengYe 3307687cb4 Fix grpc unittest (#2956) 2025-01-20 10:52:36 +08:00
haidao 797baf5b04 upgrade termd to 1.1.7.14 and maven-shade-plugin to 3.6.0 (#2949) 2024-11-20 22:27:42 +08:00
hengyunabc fd1cb27015 fix project name 2024-11-13 17:24:59 +08:00
FengYe 8200afb3cc simplified gRPC impl using netty (#2914) 2024-10-29 00:55:35 +08:00
hengyunabc 2858f6ee93 add labs/README.md 2024-10-23 15:10:10 +08:00
hengyunabc 02d28add0f move arthas-grpc-web-proxy to labs 2024-10-23 15:09:06 +08:00
hengyunabc a983ef804b move native-agent to labs 2024-10-23 15:05:40 +08:00