Faster way to clear a server's OAuth state (without digging into Settings → Authorization)

未关闭
#3,065 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
22/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
react, typescript
领域
frontend

调研方向

The current clear action lives in the oauth accordion item of clients/web/src/components/groups/ServerSettingsForm/ServerSettingsForm.tsx; read that component and find the handler behind the "Clear stored OAuth state" button. The design for a faster entry point (server card, context menu, or Connection Info panel) is still open and is being discussed with the UX team, so wait for a direction before writing code. Done means a chosen entry point reaches the same clear handler in fewer steps.

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

描述

enhancement v2

Problem

Clearing OAuth state for a server is buried several layers deep in the UI:

  1. Open the server's Settings modal
  2. Scroll down to the Authorization accordion section
  3. Expand it
  4. Scroll further within that section
  5. Click "Clear stored OAuth state"

(ServerSettingsForm.tsx — Accordion.Item value="oauth", with the clear
button at the bottom of that panel.)

This is a common action during day-to-day development against a server with
flaky or stale auth (expired tokens, a DCR client re-registered on the
authorization server side, testing a fresh auth flow, etc.), and the current
path requires several clicks and scrolling through unrelated settings just to
reach it.

Ask

Provide a faster way to clear OAuth state for a server without navigating into
Settings → Authorization each time.

Deliberately not prescribing the solution here — there are several
reasonable directions (a quick action on the server card/list, a context menu
item, surfacing it in the Connection Info panel where the OAuth status is
already shown, a keyboard shortcut, etc.), and there are already some UX ideas
for this in progress (via Cliff) that should inform the actual design rather
than this issue dictating it.

Out of scope for this issue

  • Changing what "clear OAuth state" actually does (token revocation behavior,
    etc.) — that's existing, separate behavior.
  • Any specific visual/interaction design — left to follow-up discussion.

References

  • clients/web/src/components/groups/ServerSettingsForm/ServerSettingsForm.tsx
    — current location of the OAuth accordion and clear button
主要语言
TypeScript
星标
11.3k
派生
1.6k
平均合并
2 小时 28 分钟
30 天内合并 PR
111

环境准备

从这里开始

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

modelcontextprotocol/inspector 的其他 Issue

查看 modelcontextprotocol/inspector 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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