Skip to content

Configuration

The Xplorr MCP server is configured via environment variables.

VariableRequiredDefaultDescription
XPLORR_API_TOKENYes*Your xplorr_ prefixed API token from the portal
XPLORR_API_URLNohttps://api.xplorr.ioOverride if self-hosting the Xplorr backend
PORTNo3005Port for the MCP HTTP server

*Required in single-tenant (self-hosted) mode. In multi-tenant mode, the token is passed per-request via Authorization: Bearer xplorr_....

  1. Log in to xplorr.io
  2. Go to Settings → API Tokens
  3. Click Create Token
  4. Copy the token (it starts with xplorr_)
Terminal window
# Required
XPLORR_API_TOKEN=xplorr_your_token_here
# Optional — override for on-prem deployments
# XPLORR_API_URL=https://api.your-company.com
# Optional — change the listen port
# PORT=3005

If you run the Xplorr platform on your own infrastructure, set XPLORR_API_URL to your backend’s URL:

Terminal window
XPLORR_API_TOKEN=xplorr_your_token_here
XPLORR_API_URL=https://api.your-company.com

The server exposes a health endpoint at GET /health:

Terminal window
curl http://localhost:3005/health
{
"status": "ok",
"service": "xplorr-mcp",
"tools": 21,
"mode": "single-tenant"
}