Tailscale MCP: no way to add a static Bearer token header from a stored secret (falls into OAuth discovery → 404)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
Start by tracing the remote MCP connect flow and AddMcpServer input, which the report says accepts literal headers but cannot use the stored secret. Check how the masked secret is stored and how the connect card handles OAuth authentication. Done means a custom remote MCP server can send a static Bearer token from a stored secret without exposing it in chat.
由索引模型根据 Issue 内容生成。
描述
I'm on the Tailscale beta (#855). My MCP server is at http://mac.<tailnet>.ts.net:8000/things/mcp and uses a static Authorization: Bearer <token> header, not OAuth.
What happens
- Tailscale is connected and
tailscale_check_hostreports the host reachable. - When the connector is added without a header, the server correctly returns 401 and the connector shows "needs authentication".
- Authenticate then only tries OAuth discovery, which gets
HTTP 404: Invalid OAuth error response ... Raw body: Not Found. There's no way to enter a Bearer token. - I gave the bot the token through the masked secret input (stored as an env var), but
AddMcpServeronly accepts a literalheadersvalue, so the bot can't use the stored secret, and I can't find a UI to add a remote MCP with custom headers myself.
Request
Support a static header or Bearer token for custom remote MCP servers, either by letting headers reference a stored secret or with a token field on the connect card, so that non-OAuth MCP servers on a tailnet can be used without exposing the token in chat.
Related: #1108 (OAuth discovery over tailnet stalls).
- 主要语言
- TypeScript
- 星标
- 18.2k
- 派生
- 2k
- 平均合并
- 3 小时 56 分钟
- 30 天内合并 PR
- 96
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cursor/plugins 的其他 Issue
-
pstack: interrogate asks the user, which worker.md forbids for delegates that reach it可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
poteto-mode: multi-phase-plan Merge placeholder still appends every PR to a base-branch stack可能已有人在做 @mangeshraut712 于 15 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 78/100
维护者通常 1 天内回复
-
typescript-best-practices: schema example uses z.string().uuid(), deprecated in Zod 4可能已有人在做 @mangeshraut712 于 14 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
维护者通常 1 天内回复
-
statechart: relative-symlink launcher test fails on macOS because /var is a symlink可能已有人在做 @lnuxe 于 3 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
pstack docs/harness/claude-code.md: transcript slug replaces every non-alphanumeric character, not only / and .可能已有人在做 @isTuhin 于 9 天前认领。 未关闭
难度 1/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
相似的 Issue
-
infra needs-triage
难度 2/5 1 小时以内 新手友好度 82/100
LucasSantana-Dev/Lucky#3331 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
kOaDT/oss-oopssec-store#381 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
nocobase/nocobase#11669 · 1 条评论 ·
维护者通常 1 天内回复
-
iOS: Clear Context (/clear) and model picker fallback use negative agent check instead of isClaude未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
Area: API Bug Difficulty: Low Priority: Low
难度 2/5 1-3 小时 新手友好度 62/100
DouglasNeuroInformatics/OpenDataCapture#1937 ·
维护者通常 1 天内回复