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
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:
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 |
Management Commands
Programmatic Integration
For programmatic integration with Anthropic’s Claude API, see the Anthropic SDK Framework Guide.Next Steps
Claude Desktop
Set up MCP in the Claude Desktop app
Authentication Guide
Configure authentication and security


