Required variable
| Variable | Description | Example |
|---|---|---|
SHARC_API_KEY | API key from your SHARC plan | sk_mcp_e364ff9... |
Set your API key
The recommended way is to setSHARC_API_KEY directly in your MCP client’s server configuration. Each client has its own format — see the per-client guides for the exact one-command install:
- Claude Code
- Codex
- Droid
- OpenCode
- Other clients (Cursor, VS Code, Windsurf, Zed, Claude Desktop, etc.)
Troubleshooting
Invalid API key
Ensure your key:- Starts with
sk_ - Is correctly copied with no extra spaces
- Is still active in your account
Key not detected
If the MCP tools are not available:- Restart your AI assistant after config changes.
- Confirm your config JSON is valid.
- Confirm
SHARC_API_KEYis set in the correct MCP server entry.