anthropics / anthropics/claude-code
Snowflake MCP connector shows stale 'requires authentication' status when actually working
- 主要语言
- Python
- 星标
- 145k
- 派生
- 23.1k
- PR 合并指标
- PR 指标待抓取
描述
## Description
The system-reminder list of MCP servers that "require authentication before their tools can be used" incorrectly lists a Snowflake connector as blocked, even when a live tool call against that same connector succeeds immediately with no auth error.
## Steps to reproduce
1. In a session where a Snowflake MCP server is configured and its OAuth/token state is actually valid, note that the system reminder still lists it under "The following MCP servers require authentication before their tools can be used."
2. Call the connector's SQL execution tool directly with a trivial query, e.g. `SELECT CURRENT_TIMESTAMP()`.
3. The call succeeds immediately and returns a valid result — no authentication error, no OAuth prompt needed.
## Expected behavior
The "requires authentication" listing should reflect live connector state, or at minimum should not be shown once a tool call against that server has succeeded in the session.
## Actual behavior
The stale listing persists across turns (and apparently across sessions) even after a successful call proves the connector is authenticated and working. This has caused real harm: a session took the listing at face value and told the user to reauthorize outside the session without ever attempting a call, costing investigation time on a task that depended on that connector for data access. This has now been observed as a repeat pattern across multiple independent sessions.
## Impact
Agents (and by extension users) are misled into believing a working data-access path is unavailable, leading to unnecessary reauthorization steps, abandoned investigation paths, or incorrect "blocked" reporting to the user.
## Suggested fix
Either refresh the "requires authentication" status against a live check before surfacing it in the system reminder, or suppress/update the listing for a server as soon as any tool call against it succeeds within the session.
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start by locating the code that generates the system-reminder authentication listing and tracks MCP server state, then reproduce the issue with a configured Snowflake server and a successful SQL execution tool call. Done means the reminder reflects the live state or stops claiming authentication is required after a successful call, with the stale-status behavior covered by the relevant tests.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- api, backend
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100