Skip to content

MCP服务器需要处理切换日志通知等级的请求 #290

@relat-ivity

Description

@relat-ivity

功能摘要 / Feature Summary

MCP服务器根据客户端logging/setLevel请求,切换日志消息通知等级

功能类型 / Feature Type

全新功能 / New Feature

优先级 / Priority

高 - 非常需要这个功能 / High - Really need this feature

问题描述 / Problem Description

在MCP协议中,客户端会根据不同的场景,要求服务端进行不同详细程度的日志通知。因此需要MCP服务器增加日志消息通知等级属性,并在客户端发送logging/setLevel请求时切换日志通知等级。

建议的解决方案 / Proposed Solution

  1. 服务器增加表示日志消息通知等级的属性
  2. 增加服务器处理logging/setLevel请求的handler

替代方案 / Alternative Solutions

No response

确认事项 / Confirmations

  • 我已经搜索了现有的 issues 和讨论,确认这不是重复建议
    I have searched existing issues and discussions, confirming this is not a duplicate suggestion

  • 这个功能符合项目的目标和范围
    This feature aligns with the project's goals and scope

  • 我理解这个功能可能需要时间来实现
    I understand this feature may take time to implement

  • 我愿意协助实现这个功能 (可选)
    I'm willing to help implement this feature (optional)

Metadata

Metadata

Assignees

Labels

in: felIssues in FEL(FIT Expression for LLM) modulestype: enhancementA general enhancement

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions