MCP server environment variables

Created by Certorix Online, Modified on Mon, 4 May at 9:23 PM by Certorix Online

MCP server environment variables

The Certorix MCP server requires two environment variables to authenticate and connect to your organization.

Required variables

  • CERTORIX_API_URL – The Certorix API endpoint. Must be https://certorix-api.onrender.com (no trailing slash).
  • CERTORIX_API_TOKEN – Your personal API token. Obtain from MCP / API page in the Certorix sidebar.
  • CERTORIX_ORG_ID – Optional if your token is org‑specific. Set to your organization ID (found in MCP/API or Company profile).

Setting variables in different environments

Claude Desktop (claude_desktop_config.json):

"env": {
  "CERTORIX_API_URL": "https://certorix-api.onrender.com",
  "CERTORIX_API_TOKEN": "your_token_here"
}

Command line (for testing):

export CERTORIX_API_TOKEN=your_token_here
npx -y @certorix/mcp-server

Docker:

docker run -e CERTORIX_API_TOKEN=your_token_here certorix/mcp-server

Security notes

  • Never commit your token to version control.
  • Use environment variables or secrets management (GitHub Secrets, .env files excluded from git).
  • The token grants access to your trees and facts — treat it like a password.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article