Skip to main content
SHARC MCP server authenticates using your SHARC API key.

Required variable

Set your API key

The recommended way is to set SHARC_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: Generic stdio MCP example:

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:
  1. Restart your AI assistant after config changes.
  2. Confirm your config JSON is valid.
  3. Confirm SHARC_API_KEY is set in the correct MCP server entry.