Proposal: progress reporting (analogue to FastMCP)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 32/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- go
调研方向
首先,将 issue 中链接的 FastMCP 进度报告说明与 Go SDK 现有的 notify 函数进行比较。确定合适的服务器或客户端入口点,并定义用于表示当前进度和可选总数的预期便利 API;完成内容应包括对上传、下载或项目处理等长时间运行请求的覆盖。未指定任何实现文件或测试。
由索引模型根据 Issue 内容生成。
描述
Is your feature request related to a problem? Please describe.
For long running requests, I understand clients can provide a progress token - this can be used to notify about progress.
I'd like to see a convenience method as part of e.g. a tool to provide updates on progress, e.g. for larger up- and downloads.
Describe the solution you'd like
In FastMCP there's a way to do this with very convenient DX (see description: https://gofastmcp.com/servers/progress#progress-reporting) - essentially providing the current state and an optional total value in a function and updating it.
Describe alternatives you've considered
I've seen there's a notify func but I'm not sure if this covers what I need.
Additional context
As stated above, this is about long running requests (e.g. a download or upload of a larger file, processing many items etc.)
- 主要语言
- Go
- 星标
- 5.2k
- 派生
- 568
- 平均合并
- 1 天 15 小时
- 30 天内合并 PR
- 39
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/go-sdk 的其他 Issue
-
Session-lifecycle bookkeeping logs at info, spamming multiple log lines per request on stateless streamable HTTP可能已有人在做 @anneheartrecord 于 42 天前认领。 未关闭P3
难度 2/5 1-3 小时 新手友好度 75/100
modelcontextprotocol/go-sdk#1204 · 1 个 reaction ·
维护者通常 1 天内回复
-
Expose generic `SendNotification` on `ServerSession` for custom protocol extensions可能已有人在做 @ajuijas 于 208 天前认领。 未关闭needs investigation
难度 2/5 1-3 小时 新手友好度 72/100
modelcontextprotocol/go-sdk#745 · 13 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
mcp: client returns an input_required result that has only requestState instead of retrying可能已有人在做 @SergeevDmitry 今天认领。 未关闭
难度 3/5 半天 新手友好度 62/100
modelcontextprotocol/go-sdk#1364 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 18/100
modelcontextprotocol/go-sdk#1359 ·
维护者通常 1 天内回复
-
Streamable HTTP: a tool result that fails to marshal leaves the POST hanging (no JSON-RPC error)未关闭
难度 4/5 1-2 天 新手友好度 45/100
modelcontextprotocol/go-sdk#1358 · 1 条评论 ·
维护者通常 1 天内回复
查看 modelcontextprotocol/go-sdk 的全部 Issue
相似的 Issue
-
duplication
难度 2/5 1-3 小时 新手友好度 78/100
openvibely/openvibely#1443 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
keyxmakerx/Chronicle#1179 ·
维护者通常 1 天内回复
-
raised-by:worker
难度 2/5 1-3 小时 新手友好度 68/100
medici-finance/assay#2486 ·
维护者通常 1 天内回复
-
area/testing kind/bug triage/needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
cozystack/cozystack#4841 · 1 个 reaction ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
openimsdk/openim-sdk-core#1127 ·