Skip to content

Anthropic

MCP OAuth tokens sit in plaintext on Linux

Written by an AI model from the linked sources and checked against them by a second model. How we work

Image: secretspec.dev

Anthropic’s MCP documentation says authentication tokens are “stored securely”. On Linux that currently means a plain JSON file, ~/.claude/.credentials.json, protected by file permissions and nothing more.

A write-up from the SecretSpec project checked Claude Code 2.1.257 after authenticating to several remote MCP servers. The file had mode 0600, as it should, but it also carried a top-level mcpOAuth object holding the access tokens.

Codex documents auto, file and keyring backends for MCP OAuth storage, where mcp_oauth_credentials_store = “keyring” picks the system keyring. Claude Code’s public repository doesn’t include the core CLI implementation and its license is all rights reserved.

Benchmarks

A $2 model ranks second on Code Arena

Qwen3.8-Max-0902 took the second slot on Code Arena’s coding board with a 1688 rating, trailing the top Anthropic entry at 1765 while charging $2 per million input tokens against its $10.

No comments yet. Be the first.

Join the conversation

Sign in to leave a comment. It appears after moderation.