Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Skill/get (resources/read) caches response (for example with TTL=10)

未关闭
#2,516 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
65/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
typescript
领域
api, frontend

调研方向

Start by reproducing the issue in the Web client with the listed Streamable HTTP steps, changing the server response between resources/read requests. Trace the resources/read request and its cache behavior, using the TTLms=10 detail as a starting point. Done means Fetch skill.get reflects the latest server data without restarting the server.

由索引模型根据 Issue 内容生成。

描述

bug
Which version line?

v2 — current (@modelcontextprotocol/inspector@latest)

Which client?

Web

Inspector version

2.8.0

Node version

23.11.1

Operating system (and browser, for the web client)

Ubuntu 26.04

Transport

Streamable HTTP

MCP server under inspection

local php server

Steps to reproduce
  1. Run inspector
  2. Start the server
  3. Select skills
  4. click on the skill
  5. get the response (TTLms was set to 10) -- ignore the one in screendump below
  6. modify the server response data for the resources/read
  7. click on "Fetch will skills/get
  8. same response as step 5
Expected behavior

response in resources/read should reflect latest updated data

Actual behavior

Report older data.

Logs, errors, or screenshots

Only closing the server and reopening updates the data.

related issues

  1. the messages tab does not show the response of the skill/get call, with an invalid skills.md file it reports a failure on the skill/get call, does not show the skills/get response but does show resources/read data
  2. inspector does not show an feature to call the resources_directory_read call, so this call cannot be tested
  3. Upon successful skills.md query, and then clicking on "fetch wil skill.get" result in an error w/o any details
Image Image Image
Already prototyped a fix?

No response

Before you submit
  • I searched existing issues and this is not a duplicate.
  • This is not a security vulnerability report (those go through the private advisory process).
主要语言
TypeScript
星标
11k
派生
1.5k
平均合并
5 小时 18 分钟
30 天内合并 PR
130

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

modelcontextprotocol/inspector 的其他 Issue

查看 modelcontextprotocol/inspector 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。