Required variable
| Variable | Description | Example |
|---|---|---|
SHARC_API_KEY | API key from your SHARC plan | sk_mcp_xxx |
Set your API key
In MCP configuration (recommended)
Via .env.local (optional)
Create .env.local in your MCP package directory:
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.