API Tokens

Your tokens

API tokens let your AI agents and scripts authenticate to QuantumLayers as you, using the same tools available in the agent page. Copy a token once — it won’t be shown again.

Loading…

Using a token with the MCP server

Set your token as an environment variable in your MCP client config (Claude Desktop, Claude Code, etc.). Each user configures their own token — data access is scoped to the token owner.

{
  "mcpServers": {
    "quantumlayers": {
      "command": "node",
      "args": ["/path/to/quantumlayers/mcp-server/dist/index.js"],
      "env": {
        "QL_TOKEN": "qlpak_your_token_here",
        "QL_URL": "https://your-site.com"
      }
    }
  }
}

Create API token

Token created:

Copy this token now — it won’t be shown again.
Copied!

Revoke token?

This will permanently revoke . Any agents or scripts using it will stop working immediately.