Claude provider probe fails with enterprise-managed MCP configuration #5392
Area#
Claude provider / authentication detection
Steps to reproduce#
Use Claude Code on macOS with an enterprise-managed MCP configuration at:
/Library/Application Support/ClaudeCode/managed-mcp.jsonConfirm that Claude Code is authenticated and works normally:
claude auth status claudeEnable Claude in T3 Code and configure the native Claude binary.
Refresh the provider status or restart T3 Code.
Expected behavior#
T3 Code recognizes the authenticated Claude installation and makes the Claude provider available.
Actual behavior#
T3 Code detects the Claude executable and its version, but reports:
Could not verify Claude authentication status from initialization result.
Reproducing the capability probe directly with the Claude Agent SDK bundled in T3 Code produces:
You cannot use --strict-mcp-config when an enterprise MCP config is present
The capability probe is started with an empty MCP configuration and strict MCP mode enabled. When an enterprise-managed MCP configuration is present, Claude exits before returning initialization or account information.
Claude remains authenticated and fully usable when run normally from the terminal.
Context#
The strict MCP isolation addresses the failure mode reported in #3909, where the periodic capability probe loaded user-configured MCP servers and repeatedly started their processes.
However, the same isolation prevents the capability probe from starting when Claude is governed by an enterprise-managed MCP configuration. This inadvertently makes T3 Code unable to recognize affected enterprise Claude installations.
A related compatibility concern may apply to #4062, which proposes using --strict-mcp-config for headless Claude text generation. Claude rejects that flag when enterprise-managed MCP configuration is present, so the same behavior may affect that path if the change is merged unchanged.
Impact#
Claude cannot be selected through T3 Code on affected enterprise-managed machines, despite the CLI being installed, authenticated, and otherwise fully functional.
Version#
- T3 Code:
0.0.32-nightly.20260805.1002 - Claude Code:
2.1.222 - Platform: macOS arm64
- T3 installation: Desktop nightly
- Claude installation: Native Claude Code binary
Relevant diagnostic output#
You cannot use --strict-mcp-config when an enterprise MCP config is present
T3 Code replaces this underlying error with the generic authentication-status warning.
Workaround#
No supported workaround found that preserves the enterprise-managed MCP configuration.
maria-rcks closed this
Sign in to join this conversation.
I'm having this issue as well