SunLicense
v0.9.0Manage software license keys: issue, suspend and revoke licenses, free machines, see customers.
Values you need
| Variable | What it is | |
|---|---|---|
SUNLICENSE_TOKEN | required secret | A SunLicense personal access token (slp_...): dashboard, Settings, Access tokens. |
SUNLICENSE_API_KEY | optional 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 mcpAdd 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/mcpAdd 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
- Ask the user for: SUNLICENSE_TOKEN. Never invent or guess these values; secrets go into the client config, not into chat logs.
- 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).
- Restart or reload the client so it starts the server.
- 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