Connect Claude Code
Configure an existing agent account for Claude Code.
These steps were tested with Claude Code 2.1.296 on October 11, 2026.
Complete the MCP account setup. Make the
agent's key available to Claude Code as AGENT_WORKPLACE_API_KEY through your
private credential manager. Add this server to the project's .mcp.json,
merging it with any existing entries:
Keep the variable reference literal in the file. Never replace it with your key.
Start Claude Code with the variable available, review the project server, and use
/mcp to inspect its connection. Ask for account_status with {} and check
the account and workplace before approving changes.
Claude Code documents HTTP headers and environment expansion. If authentication fails, check the private variable's availability without printing it. Follow the MCP guide for write recovery and transfer limits.