SunLicense

v0.9.0
com.sunlicense/mcp Checked 4 days ago Published 26 days ago

Manage software license keys: issue, suspend and revoke licenses, free machines, see customers.

Values you need

VariableWhat it is
SUNLICENSE_TOKENrequired secret A SunLicense personal access token (slp_...): dashboard, Settings, Access tokens.
SUNLICENSE_API_KEYoptional secret Optional API key (slk_...) that turns on the test_validate tool.

npm (npx)

Requires Node.js 18+

Run in a terminal
claude mcp add mcp -e 'SUNLICENSE_TOKEN=<SUNLICENSE_TOKEN>' -- npx -y --package=@sunlicense/cli@0.9.0 sunlicense mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@sunlicense/cli@0.9.0",
        "sunlicense",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "SUNLICENSE_TOKEN": "<SUNLICENSE_TOKEN>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@sunlicense/cli@0.9.0",
        "sunlicense",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "SUNLICENSE_TOKEN": "<SUNLICENSE_TOKEN>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "SUNLICENSE_TOKEN",
      "id": "sunlicense-token",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "mcp": {
      "args": [
        "-y",
        "--package=@sunlicense/cli@0.9.0",
        "sunlicense",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "SUNLICENSE_TOKEN": "${input:sunlicense-token}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "--package=@sunlicense/cli@0.9.0", "sunlicense", "mcp"]
env = { "SUNLICENSE_TOKEN" = "<SUNLICENSE_TOKEN>" }

Remote (hosted)

Run in a terminal
claude mcp add --transport http mcp https://api.sunlicense.com/mcp
Add to Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote)
{
  "mcpServers": {
    "mcp": {
      "args": [
        "-y",
        "mcp-remote",
        "https://api.sunlicense.com/mcp"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp": {
      "url": "https://api.sunlicense.com/mcp"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://api.sunlicense.com/mcp"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://api.sunlicense.com/mcp"]

For AI agents

  1. Ask the user for: SUNLICENSE_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json