Overview
Claude Code is Anthropic’s CLI for developers. It provides built-in commands for managing MCP servers.For complete Claude Code MCP documentation, see the official MCP guide.
Environment Variables (Recommended)
Set your API key once in your shell profile (~/.bashrc, ~/.zshrc, etc.) to reuse across multiple servers:
- macOS / Linux
- Windows (PowerShell)
source ~/.zshrc (macOS/Linux) to apply.
Setup
1
Add StackOne MCP Server
Run the following command in your terminal:Replace:
{account_id}: Your StackOne linked account ID
Alternative: Account ID as header
Alternative: Account ID as header
You can also pass the account ID as a header:
2
Verify Connection
Check the server status:
Within a Claude Code session, use the 
Select “View tools” to browse available operations:

Screenshots show 'stackone-' prefix — this is optional.
/mcp command to view server details and available tools:

Adding Multiple Accounts
Add additional servers with distinct names:Scope Options
Control where the configuration is stored:| Scope | Flag | Storage Location | Use Case |
|---|---|---|---|
| Local | (default) | .claude.json in current directory | Project-specific |
| Project | --scope project | .mcp.json at project root | Team collaboration (version controlled) |
| User | --scope user | ~/.claude.json | Personal tools across all projects |