Skip to content

Validate read token on MCP server startup#48

Open
Kludex wants to merge 1 commit intomainfrom
claude/slack-validate-mcp-token-6vG6b
Open

Validate read token on MCP server startup#48
Kludex wants to merge 1 commit intomainfrom
claude/slack-validate-mcp-token-6vG6b

Conversation

@Kludex
Copy link
Member

@Kludex Kludex commented Jan 26, 2026

The MCP server now validates the read token during startup by calling /v1/read-token-info. If the token is invalid (401 response), the server raises an InvalidReadTokenError with a helpful message instead of silently starting and only failing when tools are called.

This provides immediate feedback to users when their token is misconfigured, rather than the server appearing to connect successfully.

https://claude.ai/code/session_01WGp62UfX8DLL6tVGVqKR79

The MCP server now validates the read token during startup by calling
/v1/read-token-info. If the token is invalid (401 response), the server
raises an InvalidReadTokenError with a helpful message instead of
silently starting and only failing when tools are called.

This provides immediate feedback to users when their token is misconfigured,
rather than the server appearing to connect successfully.

https://claude.ai/code/session_01WGp62UfX8DLL6tVGVqKR79
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants