Skip to content

Conversation

Yeaury
Copy link

@Yeaury Yeaury commented Sep 14, 2025

主要改动

  1. 实现 MCP 模块完整认证传递链路

    • BasicHttpAuthenticatorHandler 中新增 SubjectChannel AttributeKey 的存储。
    • 修复 MCP 工具调用时报 "try to use 'auth' command to authenticates" 错误。
  2. 新增配置项:支持自定义 MCP path

    • 配置文件中可指定 mcp server path(默认值为 /mcp)。
    • 若未指定 mcp path,默认不开启 MCP server。

- 在BasicHttpAuthenticatorHandler中添加Subject到Channel AttributeKey的存储
- 修复MCP工具调用时"try to use 'auth' command to authenticates"错误
- 配置文件中默认指定 mcp server path 为 /mcp
- 如果配置文件中没有指定 mcp path 默认不开启 mcp server
- 创建 AbstractArthasTool 抽象基类,统一管理上下文和执行逻辑
- 统一同步和流式工具的执行模式
- 简化参数处理,移除冗余的参数校验
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant