Skip to main content
Glama
Labs64/NetLicensing-MCP

Labs64/NetLicensing-MCP

by Labs64

NetLicensing MCP Server

CI License Labs64.IO Ecosystem

PyPI GHCR Docker Hub MCP Registry

The official Labs64 NetLicensing MCP server. Connect your AI assistant to NetLicensing and manage products, customers, licenses and entitlements by asking for what you need. It works with Claude Desktop, Claude Code, Cursor, GitHub Copilot (VS Code and JetBrains) and any other MCP client.

  • Support teams: find out why a customer can't use the product, renew or transfer a license, without opening the console.

  • Admins: audit an account, clean up unused licenses, run one shared server for a team.

  • Developers and vendors: set up products, license templates and shop checkouts, and test a licensing model while you build it.


Setup

The server runs on your machine, started by your AI client over stdio. Three steps:

1. Get an API key. Sign in at ui.netlicensing.io, open your API keys and create one. No account yet? Use demo mode.

2. Add the server to your client. You need uv (for uvx) or Docker. Replace YOUR_API_KEY with your key.

3. Check it with First run.

Claude Code

claude mcp add netlicensing -e NETLICENSING_API_KEY=YOUR_API_KEY -- uvx netlicensing-mcp

The default scope local loads the server in the current project, for you only. --scope user loads it everywhere; --scope project writes it to the project's .mcp.json for version control (then don't put a real key on the command line).

VS Code / GitHub Copilot

code --add-mcp '{"name":"netlicensing","type":"stdio","command":"uvx","args":["netlicensing-mcp"],"env":{"NETLICENSING_API_KEY":"YOUR_API_KEY"}}'

On Windows cmd.exe and older PowerShell, single-quoted JSON doesn't work. And to keep the key out of the file in any case, create .vscode/mcp.json in your workspace; VS Code then asks for the key in a hidden input box:

{
  "inputs": [
    { "type": "promptString", "id": "netlicensing-api-key", "description": "NetLicensing API key", "password": true }
  ],
  "servers": {
    "netlicensing": {
      "type": "stdio",
      "command": "uvx",
      "args": ["netlicensing-mcp"],
      "env": { "NETLICENSING_API_KEY": "${input:netlicensing-api-key}" }
    }
  }
}

Cursor

Add this to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):

{
  "mcpServers": {
    "netlicensing": {
      "command": "uvx",
      "args": ["netlicensing-mcp"],
      "env": { "NETLICENSING_API_KEY": "YOUR_API_KEY" }
    }
  }
}

To keep the key out of the file, write "NETLICENSING_API_KEY": "${env:NETLICENSING_API_KEY}" and set the variable in the environment Cursor starts from. Or paste this install link into your browser's address bar; Cursor asks before installing, and you replace YOUR_API_KEY afterwards:

cursor://anysphere.cursor-deeplink/mcp/install?name=netlicensing&config=eyJjb21tYW5kIjoidXZ4IiwiYXJncyI6WyJuZXRsaWNlbnNpbmctbWNwIl0sImVudiI6eyJORVRMSUNFTlNJTkdfQVBJX0tFWSI6IllPVVJfQVBJX0tFWSJ9fQ==

The config value is the Base64-encoded JSON {"command":"uvx","args":["netlicensing-mcp"],"env":{"NETLICENSING_API_KEY":"YOUR_API_KEY"}}.

Claude Desktop

Open Settings → Developer → Edit Config. This opens claude_desktop_config.json (macOS ~/Library/Application Support/Claude/, Windows %APPDATA%\Claude\, Linux ~/.config/Claude/). Add the same mcpServers block as for Cursor, save, and restart the app.

JetBrains IDEs (GitHub Copilot)

Click the Copilot icon (lower right), Open Chat, switch to Agent mode, click the tools icon (Configure your MCP server), then Add MCP Tools. In the mcp.json that opens:

{
  "servers": {
    "netlicensing": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "-e", "NETLICENSING_API_KEY=YOUR_API_KEY", "ghcr.io/labs64/netlicensing-mcp:latest"]
    }
  }
}

Other clients, Docker and pip

Anything that can start a stdio server works: command uvx, argument netlicensing-mcp, environment NETLICENSING_API_KEY. To use Docker instead of uvx, set the command to docker with the arguments from the JetBrains example. With pip: pip install netlicensing-mcp, then run netlicensing-mcp.

Demo mode

No key? Demo mode uses the NetLicensing sandbox with demo credentials. It is for trying things out, stdio only, and must never be used in production. Every JSON result is tagged "demo_mode": true, and a warning is logged every 60 seconds.

claude mcp add netlicensing-demo -e NETLICENSING_ALLOW_DEMO=true -- uvx netlicensing-mcp

In a JSON config, put "NETLICENSING_ALLOW_DEMO": "true" in env instead of the key. Without a key and without this flag the server refuses to start; it never falls back to demo credentials silently.

First run

Ask your assistant: "Run netlicensing_server_info and tell me if the setup is OK." It checks the setup and makes one small read-only call (it lists one product) to confirm that the API is reachable and accepts your key. The result never contains the key:

{
  "version": "<installed version>",
  "base_url": "go.netlicensing.io",
  "demo_mode": false,
  "status": "ok",
  "transport": "stdio",
  "auth": {"configured": true, "source": "env", "valid": true},
  "checks": [
    {"name": "credentials", "ok": true, "detail": "API key from the NETLICENSING_API_KEY environment variable (or .env file)."},
    {"name": "reachable", "ok": true, "detail": "The NetLicensing API at go.netlicensing.io answered."},
    {"name": "authentication", "ok": true, "detail": "The credentials were accepted (test read: list products, 1 item)."}
  ],
  "warnings": [],
  "next_steps": [],
  "toolsets": ["all"],
  "read_only": false,
  "tool_count": 62
}
  • status is ok, warning (demo mode; a valid key whose role may not list products, 403; or an API error that says nothing about the key) or error (no key, key rejected with 401, API unreachable).

  • auth.source is env, header (HTTP mode), demo or none. auth.valid is true when NetLicensing accepted the key, false when it rejected it, null when that couldn't be checked.

  • next_steps says in plain words what to fix. Pass check_connection=false to skip the API call (then ok only means a key is configured).

To share one server with a whole team instead, see Run it as a shared server.


Related MCP server: Enterprise License Manager API

What can you ask?

  • "List all products in my account."

  • "Create a licensee for customer@example.com under product PTEST."

  • "Does licensee L001 have a valid license? If not, tell me why."

  • "Which licenses expire in the next 30 days?"

  • "Find licensees with no active license so I can clean them up."

  • "Generate a shop URL so L001 can renew on their own."

  • "Move all licenses from L001 to L002."

  • "Create a read-only API key for licensee L001."

docs/EXAMPLES.md walks through six vendor scenarios with the tool calls behind them. Licensing models (Try & Buy, Subscription, Rental, Floating, Multi-Feature, Pay-per-Use, Quota, Node-Locked and more) are described in the NetLicensing docs; netlicensing_list_licensing_models shows what your account offers.


Tools

62 tools in 11 toolsets, plus 11 prompts. R = read-only, W = writes data, D = destructive (deletes data). Parameters for every tool: docs/TOOLS.md.

Tool

Title

Access

Description

netlicensing_list_products

List products

R

List all products in the NetLicensing account.

netlicensing_get_product

Get product

R

Get details of a specific product.

netlicensing_create_product

Create product

W

Create a new product.

netlicensing_preview_update_product

Preview update of product

R

Preview a sensitive product update (licenseeAutoCreate or vatMode change).

netlicensing_update_product

Update product

W

Update an existing product's fields.

netlicensing_preview_delete_product

Preview deletion of product

R

Preview what would be deleted when deleting a product.

netlicensing_delete_product

Delete product

D

Delete a product permanently.

Tool

Title

Access

Description

netlicensing_list_bundles

List bundles

R

List all bundles in the NetLicensing account.

netlicensing_get_bundle

Get bundle

R

Get details of a specific bundle.

netlicensing_create_bundle

Create bundle

W

Create a new bundle grouping one or more license templates.

netlicensing_update_bundle

Update bundle

W

Update an existing bundle's fields.

netlicensing_preview_delete_bundle

Preview deletion of bundle

R

Preview what would be deleted when deleting a bundle.

netlicensing_delete_bundle

Delete bundle

D

Delete a bundle permanently.

netlicensing_obtain_bundle

Obtain bundle

W

Obtain a bundle for a customer — creates licenses from all license templates included in the bundle for the specified licensee.

Tool

Title

Access

Description

netlicensing_list_product_modules

List product modules

R

List all modules (feature groups) for a product.

netlicensing_get_product_module

Get product module

R

Get a specific product module.

netlicensing_create_product_module

Create product module

W

Create a product module with a licensing model.

netlicensing_update_product_module

Update product module

W

Update a product module's properties.

netlicensing_preview_delete_product_module

Preview deletion of product module

R

Preview what would be deleted when deleting a product module.

netlicensing_delete_product_module

Delete product module

D

Delete a product module.

Tool

Title

Access

Description

netlicensing_list_license_templates

List license templates

R

List all license templates for a product module.

netlicensing_get_license_template

Get license template

R

Get a specific license template.

netlicensing_create_license_template

Create license template

W

Create a license template.

netlicensing_preview_update_license_template

Preview update of license template

R

Preview a sensitive license template update (price, currency, or active state).

netlicensing_update_license_template

Update license template

W

Update a license template's properties.

netlicensing_preview_delete_license_template

Preview deletion of license template

R

Preview what would be deleted when deleting a license template.

netlicensing_delete_license_template

Delete license template

D

Delete a license template.

Tool

Title

Access

Description

netlicensing_list_licensees

List licensees

R

List all customers (licensees) for a product.

netlicensing_get_licensee

Get licensee

R

Get a specific licensee (customer).

netlicensing_create_licensee

Create licensee

W

Create a new customer (licensee) under a product.

netlicensing_update_licensee

Update licensee

W

Update a licensee's properties.

netlicensing_preview_delete_licensee

Preview deletion of licensee

R

Preview what would be deleted when deleting a licensee.

netlicensing_delete_licensee

Delete licensee

D

Delete a licensee and all their licenses permanently.

netlicensing_validate_licensee

Validate licensee

W

Validate a customer's licenses across all product modules.

netlicensing_transfer_licenses

Transfer licenses

W

Transfer all licenses from one licensee to another.

Tool

Title

Access

Description

netlicensing_list_licenses

List licenses

R

List all licenses for a specific customer.

netlicensing_get_license

Get license

R

Get details of a specific license.

netlicensing_create_license

Create license

W

Assign a new license to a customer from a license template.

netlicensing_preview_update_license

Preview update of license

R

Preview a sensitive license update (price, currency, or active state).

netlicensing_update_license

Update license

W

Update a license's properties.

netlicensing_preview_delete_license

Preview deletion of license

R

Preview what would be deleted when deleting a license.

netlicensing_delete_license

Delete license

D

Delete a license permanently.

Tool

Title

Access

Description

netlicensing_list_tokens

List tokens

R

List all active tokens in the account.

netlicensing_get_token

Get token

R

Get details of a specific token.

netlicensing_create_shop_token

Create shop token

W

Generate a NetLicensing Shop one-time checkout URL for a customer.

netlicensing_create_api_token

Create API token

W

Create a scoped API token.

netlicensing_preview_delete_token

Preview deletion of token

R

Preview what would be revoked when deleting a token.

netlicensing_delete_token

Delete token

D

Revoke an API or shop token.

Tool

Title

Access

Description

netlicensing_list_transactions

List transactions

R

List all transactions in the account.

netlicensing_get_transaction

Get transaction

R

Get details of a specific transaction.

netlicensing_create_transaction

Create transaction

W

Create a new transaction.

netlicensing_update_transaction

Update transaction

W

Update a transaction's status or properties.

Tool

Title

Access

Description

netlicensing_list_payment_methods

List payment methods

R

List all payment methods configured for the account.

netlicensing_get_payment_method

Get payment method

R

Get details of a specific payment method.

netlicensing_preview_update_payment_method

Preview update of payment method

R

Preview a sensitive payment method update (active state change).

netlicensing_update_payment_method

Update payment method

W

Update a payment method's configuration.

Tool

Title

Access

Description

netlicensing_list_licensing_models

List licensing models

R

List all licensing models supported by the NetLicensing service.

netlicensing_list_license_types

List license types

R

List all license types supported by the NetLicensing service.

netlicensing_list_countries

List countries

R

List countries available for VAT and localization settings (249 without filters).

netlicensing_server_info

Get server info

R

Check this MCP server's setup and its NetLicensing connection.

Tool

Title

Access

Description

netlicensing_get_customer_health

Get customer health

R

Return a normalized health summary for one licensee.

netlicensing_explain_validation

Explain validation

R

Run a dry-run validation and return a plain-language explanation.

Good to know

  • Lists always return {"type": "list", "count": ..., "items": [...]}, even for zero or one result. They take page (0-based), page_size (1-100, default 25) and compact=true (only type, number, name, status, active). Results also carry total, page, total_pages and has_more; when more pages exist, next_page_hint holds the exact filter value for the next one. Payment methods, licensing models, license types and countries are not paged by NetLicensing. netlicensing_list_countries takes search and eu_only instead.

  • Filters: filter takes NetLicensing's key=value;key=value syntax. NetLicensing ignores some filter fields on some endpoints, so the server re-applies active, status and tokenType itself.

  • Invalid input fails early. Identifiers with / \ ? # %, whitespace or control characters, empty identifiers, and values outside a known list (license type, transaction status, time-volume period, licensing model, VAT mode, secret mode, API key role) are rejected before any request, with the allowed values in the message.

  • Get, create and update tools return one object. Every tool accepts include_raw=true to add the original NetLicensing response.

  • Every result is JSON text plus the same object as structuredContent; failed calls are flagged isError, and every tool declares an outputSchema. Tools also declare whether they read, write or delete, so clients can ask for approval at the right moments.


Prompt templates

Audits:

Prompt

Purpose

Arguments

audit_full

Run a full entitlement audit across all customers of a product.

product_number

audit_customer

Deep-dive audit of a single customer's license health.

licensee_number

audit_expiry

Find customers whose licenses expired or expire within N days, with renewal URLs.

product_number, days_threshold (optional)

audit_cleanup

Identify inactive, unused, or orphaned licenses for cleanup.

product_number

audit_anomaly

Detect anomalous usage patterns across all customers.

product_number

Setup and troubleshooting:

Prompt

Purpose

Arguments

setup_subscription_product

Create a product with a Subscription module and one TIMEVOLUME template per plan.

product_name, plans

setup_trial

Add a Try & Buy module to a product: a free, automatic TIMEVOLUME trial template and a FEATURE full-version template.

product_number, trial_days (optional)

onboard_customer

Create a licensee, assign a license from a template (or a bundle) and validate it with a dry run.

customer_name, product_number, licensee_number (optional), module_number (optional), license_template_number (optional)

migrate_customer

Preview both licensees and their licenses, then move all licenses from one licensee to another with netlicensing_transfer_licenses.

from_licensee_number, to_licensee_number

troubleshoot_validation

Find out why a licensee's validation fails and how to fix it, without side effects: setup check, dry-run validation, plain-language explanation, customer health.

licensee_number, product_number (optional), product_module_number (optional)

issue_api_key

Pick the least-privilege API key role for a purpose and create the key, which is shown once.

purpose

Argument details (formats, defaults): docs/TOOLS.md.

Examples (prompt name and argument values; how you pick a prompt depends on your client):

  • audit_full product_number="P001"

  • audit_customer licensee_number="I001"

  • audit_expiry product_number="P001" days_threshold="30"

  • audit_cleanup product_number="P001"

  • audit_anomaly product_number="P001"

  • setup_subscription_product product_name="Acme Cloud" plans="1 MONTH 9.99 EUR; 1 YEAR 99.00 EUR"

  • setup_trial product_number="P001" trial_days="14"

  • onboard_customer customer_name="Acme Corp" product_number="P001" (optional: licensee_number, module_number, license_template_number)

  • migrate_customer from_licensee_number="I001" to_licensee_number="I002"

  • troubleshoot_validation licensee_number="I001" (optional: product_number, product_module_number)

  • issue_api_key purpose="license validation in our desktop app"

All prompts are always available, but steps that need an unregistered tool (for instance audit_expiry creating shop tokens in read-only mode) can't run.


Configuration

All variables are optional, but you need either NETLICENSING_API_KEY or demo mode in stdio.

Variable

Default

Description

NETLICENSING_API_KEY

none

Your API key. Required in stdio unless demo mode is on. Not used in HTTP mode, where each request brings its own key.

NETLICENSING_ALLOW_DEMO

false

true enables sandbox demo mode (stdio only). Never in production.

NETLICENSING_BASE_URL

https://go.netlicensing.io/core/v2/rest

Override the REST API base URL (for example on-prem).

MCP_TRANSPORT

stdio

stdio or http; also a positional CLI argument.

MCP_HOST / MCP_PORT

127.0.0.1 / 8000

HTTP bind address (HTTP mode only).

MCP_TOOLSETS

all

Toolsets to register, comma-separated. See below.

MCP_READ_ONLY

false

true, 1 or yes registers read-only tools only. See below.

MCP_REDACT_FIELDS

none

Extra field names to redact, e.g. ssn,phone.

MCP_VERBOSE

false

true, 1, yes or -v: debug-log API traffic. Local debugging only: it also enables the MCP SDK's DEBUG output, which is not redacted, so don't keep those logs.

NETLICENSING_MCP_REDACT_SECRETS

false

true, 1 or yes masks the credential in create_api_token and create_shop_token results (number, shopURL), so it never enters the model context. The result says the secret was masked; it cannot be read back through this server. Default: the secret is returned once with shown_once.

NETLICENSING_MCP_REQUIRE_ELICITATION

false

true, 1 or yes: delete tools called with a confirm_token ask the user through MCP elicitation, and fail if the client does not support it. Without it, clients that support elicitation are still asked, and others fall back to the token flow.

MCP_CONSOLE_BASE_URL

https://ui.netlicensing.io/#

Base for the console_url links in results.

Confirmation tokens guard against accidents, not against an autonomous caller: the same agent can request a preview and redeem the token in one turn, so a token is not proof that a human approved the change. For delete tools the server therefore asks the user through MCP elicitation when the client supports it; set NETLICENSING_MCP_REQUIRE_ELICITATION=true to refuse deletes when it does not.

Invalid values in MCP_TOOLSETS or MCP_READ_ONLY are ignored with a warning on stderr. Logs always go to stderr.

Reduce the tool list / read-only mode

Some clients handle long tool lists poorly, and some deployments should never change data. Two variables shrink the list at startup:

  • MCP_TOOLSETS registers only the listed toolsets: products, bundles, modules, templates, licensees, licenses, tokens, transactions, payments, system, workflows, or all.

  • MCP_READ_ONLY=true keeps only read-only tools: lists, gets, preview_*, workflows and reference data. Everything that creates, updates or deletes is left out, and so are obtain_bundle, transfer_licenses and validate_licensee (it can check out floating sessions or bind nodes).

The toolset filter applies first, then read-only. netlicensing_server_info is always there, and the server tells the client when a restriction is active. In read-only mode a preview_* result is impact analysis only, since the tool that would take its confirmation token isn't registered.

# Only customer and license tools, read-only
MCP_TOOLSETS=licensees,licenses MCP_READ_ONLY=true NETLICENSING_API_KEY=your_key uvx netlicensing-mcp

Security

  • Deletes need confirmation. A delete first returns a preview (with requires_force_cascade and blocking_dependencies when other items depend on it) and a single-use token that expires after 5 minutes. Nothing is deleted until you send the token back, with the same force_cascade value it was issued for. force_cascade removes dependent items too and is only used when you ask for it.

  • Sensitive updates need confirmation too: product vat_mode and licensee_auto_create, license template price, currency and active state, and payment method active state. The token is bound to the exact values you previewed; different arguments are rejected. A preview that changes nothing returns no_change and no token.

  • Secrets are masked in every response and log line: apiKey, licenseeSecret, nodeSecret, password and secret fields (long values keep their first 3 and last 4 characters, like pk_****W3Od; short ones become ****). Payment method credentials are always ****. Add fields with MCP_REDACT_FIELDS. Token numbers are masked in lists; you can pass a masked number from list_tokens to get_token, preview_delete_token or delete_token when it identifies exactly one token.

  • Credentials appear once. create_api_token and create_shop_token mark their response "shown_once": true; later reads are masked.

  • Errors are short and safe: no stack traces, internal class names or gateway HTML reach your assistant, and error hints never contain your key.

  • No silent demo credentials, and in HTTP mode every request needs its own key in a header (never in the URL, since URLs get logged); a request without one gets 401 before any tool runs.

More in SECURITY.md.


Troubleshooting

Start with netlicensing_server_info. It reports whether a key is configured, whether NetLicensing accepts it and what to do next.

Read the error result. A failed call returns {"error": true, "status": ..., "detail": ...} (flagged isError), where detail is NetLicensing's own short message, plus hint (the next step), suggested_actions (tools to call next) and retryable. retryable means the failure is transient, not that repeating is safe: a write may already have been applied, so check the current state first.

{
  "error": true,
  "status": 400,
  "detail": "Requested licensee does not exist.",
  "hint": "The licensee was not found. Identifiers are case-sensitive: check the number, or look it up with netlicensing_list_licensees.",
  "suggested_actions": ["netlicensing_list_licensees"],
  "retryable": false
}

status

Meaning

retryable

400

Validation or business rule. NetLicensing also reports a missing entity (Requested … does not exist.), a duplicate number and a delete blocked by dependents as 400.

no

401 / 403

Missing or invalid key / key role too low. A 403 from a gateway (not NetLicensing) is described as blocked input, not a role problem.

no

402

Operation not in your pricing plan.

no

429

Over your plan's rate limit; wait retry_after_seconds.

yes

500, 502, 504

NetLicensing error, API unreachable or timed out.

yes

503

No API key configured.

no

Common issues

Symptom

Likely cause and fix

401 Unauthorized

Invalid or expired key. Create a new one at ui.netlicensing.io.

Server not listed in Claude

JSON syntax error in the config. Check it with python -m json.tool claude_desktop_config.json.

uvx: command not found

Install uv: pip install uv or see docs.astral.sh/uv.

Server exits immediately (stdio)

Neither NETLICENSING_API_KEY nor NETLICENSING_ALLOW_DEMO=true is set.

401 on every request (HTTP mode)

The client sends no X-NetLicensing-API-Key or Authorization: Bearer header.

Demo data instead of live data

The key isn't reaching the server, and demo mode is on. Export the key in the shell that starts the client, and unset NETLICENSING_ALLOW_DEMO.

"Invalid identifier"

Identifiers can't be empty or contain / \ ? # %, whitespace or control characters.

Logs. Claude Desktop writes the server's stderr to mcp-server-netlicensing.log in its log folder (~/Library/Logs/Claude on macOS, %APPDATA%\Claude\logs on Windows, ~/.config/Claude/logs on Linux); on macOS, tail -f ~/Library/Logs/Claude/mcp-server-netlicensing.log. To poke at the server in a browser UI (http://localhost:5173), run mcp dev src/netlicensing_mcp/server.py from a checkout.


Run it as a shared server

HTTP mode serves many teams from one deployment, because each request brings its own key:

docker run -d -p 8000:8000 -e MCP_HOST=0.0.0.0 ghcr.io/labs64/netlicensing-mcp:latest http
# or, without Docker: python -m netlicensing_mcp.server http

Labs64 does not run a public hosted endpoint: a shared server is one you run yourself, for example on AWS Fargate (below). Clients send the key as X-NetLicensing-API-Key: your_key or Authorization: Bearer your_key. Don't set NETLICENSING_API_KEY on the server; it isn't used.

Point clients at your deployment's URL (https://YOUR_DOMAIN/mcp, or the load balancer's http://ALB_DNS_NAME/mcp for a quick test):

# Claude Code
claude mcp add --transport http netlicensing https://YOUR_DOMAIN/mcp --header "X-NetLicensing-API-Key: YOUR_API_KEY"
// Cursor: mcpServers.netlicensing
{ "url": "https://YOUR_DOMAIN/mcp", "headers": { "X-NetLicensing-API-Key": "YOUR_API_KEY" } }

// VS Code: servers.netlicensing (use the inputs block from Setup to avoid typing the key into the file)
{ "type": "http", "url": "https://YOUR_DOMAIN/mcp", "headers": { "X-NetLicensing-API-Key": "${input:netlicensing-api-key}" } }

Claude Desktop can't connect to it: its custom connectors can't send the API key header. Use the local setup there.

Two unauthenticated probes come with HTTP mode:

Endpoint

Answers

Use it for

GET /health

Always 200 {"status":"ok","server":"netlicensing-mcp"} while the process serves HTTP.

Load balancer and container health checks (the Docker HEALTHCHECK uses it).

GET /ready

200 {"status":"ready",...} when the MCP endpoint runs and the NetLicensing API answers, else 503 with "status":"not_ready" and a reason.

Monitoring and post-deploy checks.

/ready sends one credential-less GET to NETLICENSING_BASE_URL (3 s timeout; any HTTP answer counts as reachable) and caches the result for 15 s (5 s after a failure). It reports only the API's host name.

AWS

deploy/aws/deploy.sh deploys to ECS Fargate behind an Application Load Balancer (App Runner is kept only for accounts that already use it):

cd deploy/aws
./deploy.sh fargate                                   # quick test, plain HTTP, sandbox keys only
./deploy.sh fargate --certificate-arn arn:aws:acm:us-east-1:123456789012:certificate/your-cert-id   # production HTTPS

HTTPS needs a DNS CNAME from your domain to the load balancer. Step by step, including client setup: deploy/aws/README.md.


Development

git clone https://github.com/Labs64/NetLicensing-MCP && cd NetLicensing-MCP
python -m venv .venv && source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install -e ".[dev]" && pip install hatch hatch-vcs
cp .env.example .env                                  # add your API key
mcp dev src/netlicensing_mcp/server.py                # MCP Inspector
pytest tests/ -v                                      # tests
hatch build --target wheel                            # local wheel
docker build -t ghcr.io/labs64/netlicensing-mcp:latest .

Contributions are welcome: read CONTRIBUTING.md first and open an issue before anything big. Report security problems as described in SECURITY.md. Release notes for each version are published on the GitHub Releases page.

License

Apache 2.0, see LICENSE.


NetLicensing-MCP MCP server

Available Tools

48 tools
netlicensing_create_api_tokenA

Create a scoped API token.

Args: api_key_role: ROLE_APIKEY_LICENSEE | ROLE_APIKEY_ANALYTICS | ROLE_APIKEY_OPERATION | ROLE_APIKEY_MAINTENANCE | ROLE_APIKEY_ADMIN licensee_number: Optional — scope token to a specific licensee

Inputs: api_key_role, licensee_number. Returns: result

netlicensing_create_bundleA

Create a new bundle grouping one or more license templates.

Args: number: Unique bundle number (e.g. 'B001') name: Human-readable bundle name license_template_numbers: List of license template numbers included in the bundle active: Whether the bundle is active price: Optional bundle price currency: ISO 4217 currency code (e.g. EUR, USD — leave empty for account default) description: Optional bundle description

Inputs: number (required), name (required), license_template_numbers (required), active, +3 more. Returns: result

netlicensing_create_licenseA

Assign a new license to a customer from a license template.

Args: licensee_number: Customer to assign the license to license_template_number: Template defining type and rules number: Optional custom license number (auto-generated if empty) active: Whether the license is active immediately name: Display name (defaults from template if empty) start_date: ISO 8601 datetime — mandatory for TIMEVOLUME type price: License price (overrides template default, omit to inherit) currency: ISO 4217 currency code (overrides template default) time_volume: Duration value — mandatory for TIMEVOLUME type time_volume_period: DAY | WEEK | MONTH | YEAR (TIMEVOLUME type) quantity: Usage quota — mandatory for PayPerUse / NodeLocked models parent_feature: Parent feature — mandatory for TIMEVOLUME + Rental model hidden: Hide license from end customer in Shop (omit to inherit)

Inputs: licensee_number (required), license_template_number (required), number, active, +9 more. Returns: result

netlicensing_create_licenseeA

Create a new customer (licensee) under a product.

Args: product_number: Product to associate the customer with number: Optional custom licensee number (auto-generated if empty) name: Optional display name for the customer active: Whether the licensee is active marked_for_transfer: Mark licensee for license transfer licensee_secret: Secret for licensee identification (when product licenseeSecretMode is PREDEFINED)

Inputs: product_number (required), number, name, active, +2 more. Returns: result

netlicensing_create_license_templateB

Create a license template.

Args: module_number: Parent product module number: Unique template number (e.g. 'LT01') name: Template display name license_type: FEATURE | TIMEVOLUME | FLOATING | QUANTITY price: Template price (0 for free) currency: ISO 4217 currency code (default EUR) automatic: Auto-assign this license to new licensees hidden: Hide template in NetLicensing Shop hide_licenses: Hide licenses derived from this template in the Shop active: Whether the template is active time_volume: Number of time units (TIMEVOLUME type) time_volume_period: DAY | WEEK | MONTH | YEAR (TIMEVOLUME type) max_sessions: Concurrent sessions allowed (FLOATING type) quantity: Usage quota (QUANTITY / PayPerUse type) grace_period: Allow grace period after expiry (Subscription model)

Inputs: module_number (required), number (required), name (required), license_type (required), +11 more. Returns: result

netlicensing_create_productB

Create a new product.

Args: number: Unique product number (e.g. 'P001') name: Human-readable product name version: Product version string active: Whether the product is active description: Optional product description licensing_info: Optional licensing information displayed in the shop licensee_auto_create: Auto-create licensees on first validation attempt vat_mode: GROSS or NET (leave empty to use account default) licensee_secret_mode: DISABLED, PREDEFINED, or CLIENT (leave empty for default)

Inputs: number (required), name (required), version, active, +5 more. Returns: result

netlicensing_create_product_moduleA

Create a product module with a licensing model.

Args: product_number: Parent product number: Unique module number (e.g. 'M01') name: Module name licensing_model: One of: TryAndBuy, Subscription, Rental, Floating, MultiFeature, PayPerUse, PricingTable, Quota, NodeLocked active: Whether the module is active max_checkout_validity: Maximum checkout validity in days (Floating model) yellow_threshold: Remaining time volume for yellow warning (Rental model) red_threshold: Remaining time volume for red warning (Rental model) node_secret_mode: PREDEFINED or CLIENT (NodeLocked model)

Inputs: product_number (required), number (required), name (required), licensing_model (required), +5 more. Returns: result

netlicensing_create_shop_tokenB

Generate a NetLicensing Shop one-time checkout URL for a customer.

Args: licensee_number: Customer to generate the shop URL for product_number: Optional — scope shop to a specific product license_template_number: Optional — pre-select a specific license template success_url: Optional URL to redirect to after successful purchase cancel_url: Optional URL to redirect to if customer cancels success_url_title: Optional button/link label for success redirect cancel_url_title: Optional button/link label for cancel redirect

Inputs: licensee_number (required), product_number, license_template_number, success_url, +3 more. Returns: result

netlicensing_create_transactionB

Create a new transaction.

Args: status: CANCELLED | CLOSED | PENDING source: Transaction source — SHOP or AUTO (default SHOP) licensee_number: Optional — associated licensee number: Optional custom transaction number (auto-generated if empty) name: Optional human-readable transaction name active: Whether the transaction is active date_created: Optional ISO 8601 creation timestamp date_closed: Optional ISO 8601 close timestamp payment_method: Optional payment method number

Inputs: status (required), source, licensee_number, number, +5 more. Returns: result

netlicensing_delete_bundleA

Delete a bundle permanently.

Args: bundle_number: Bundle to delete force_cascade: Force deletion even if dependencies exist

Inputs: bundle_number (required), force_cascade. Returns: result

netlicensing_delete_licenseA

Delete a license permanently.

Args: license_number: License to delete force_cascade: Force deletion even if dependencies exist

Inputs: license_number (required), force_cascade. Returns: result

netlicensing_delete_licenseeA

Delete a licensee and all their licenses permanently.

Args: licensee_number: Licensee to delete force_cascade: Also delete all dependent licenses

Inputs: licensee_number (required), force_cascade. Returns: result

netlicensing_delete_license_templateB

Delete a license template.

Args: template_number: Template to delete force_cascade: Also delete all dependent licenses

Inputs: template_number (required), force_cascade. Returns: result

netlicensing_delete_productB

Delete a product permanently.

Args: product_number: Product to delete force_cascade: Also delete all dependent modules, templates, licensees, and licenses

Inputs: product_number (required), force_cascade. Returns: result

netlicensing_delete_product_moduleA

Delete a product module.

Args: module_number: Module to delete force_cascade: Also delete all dependent license templates and licenses

Inputs: module_number (required), force_cascade. Returns: result

netlicensing_delete_tokenB

Revoke an API or shop token.

Args: token_number: Token to revoke

Inputs: token_number (required). Returns: result

netlicensing_get_bundleA

Get details of a specific bundle.

Args: bundle_number: Bundle identifier (e.g. 'B001')

Inputs: bundle_number (required). Returns: result

netlicensing_get_licenseB

Get details of a specific license.

Args: license_number: License identifier

Inputs: license_number (required). Returns: result

netlicensing_get_licenseeB

Get a specific licensee (customer).

Args: licensee_number: Licensee identifier (e.g. 'I001')

Inputs: licensee_number (required). Returns: result

netlicensing_get_license_templateB

Get a specific license template.

Args: template_number: Template identifier

Inputs: template_number (required). Returns: result

netlicensing_get_payment_methodC

Get details of a specific payment method.

Args: payment_method_number: Payment method identifier

Inputs: payment_method_number (required). Returns: result

netlicensing_get_productA

Get details of a specific product.

Args: product_number: Product identifier (e.g. 'P001')

Inputs: product_number (required). Returns: result

netlicensing_get_product_moduleA

Get a specific product module.

Args: module_number: Module identifier

Inputs: module_number (required). Returns: result

netlicensing_get_tokenC

Get details of a specific token.

Args: token_number: Token identifier

Inputs: token_number (required). Returns: result

netlicensing_get_transactionC

Get details of a specific transaction.

Args: transaction_number: Transaction identifier

Inputs: transaction_number (required). Returns: result

netlicensing_list_bundlesB

List all bundles in the NetLicensing account.

Inputs: no named parameters. Returns: result

netlicensing_list_countriesA

List all countries available for VAT and localization settings.

Inputs: no named parameters. Returns: result

netlicensing_list_licenseesA

List all customers (licensees) for a product.

Args: product_number: Product to list customers for filter: Optional server-side filter expression (e.g. 'active=true')

Inputs: product_number (required), filter. Returns: result

netlicensing_list_licensesB

List all licenses for a specific customer.

Args: licensee_number: Customer whose licenses to list filter: Optional server-side filter expression (e.g. 'active=true')

Inputs: licensee_number (required), filter. Returns: result

netlicensing_list_license_templatesA

List all license templates for a product module.

Args: module_number: Module whose templates to list filter: Optional server-side filter expression (e.g. 'active=true')

Inputs: module_number (required), filter. Returns: result

netlicensing_list_license_typesA

List all license types supported by the NetLicensing service.

Inputs: no named parameters. Returns: result

netlicensing_list_licensing_modelsA

List all licensing models supported by the NetLicensing service.

Inputs: no named parameters. Returns: result

netlicensing_list_payment_methodsA

List all payment methods configured for the account.

Args: filter: Optional server-side filter expression (e.g. 'active=true')

Inputs: filter. Returns: result

netlicensing_list_product_modulesC

List all modules (feature groups) for a product.

Args: product_number: Product whose modules to list filter: Optional server-side filter expression (e.g. 'active=true')

Inputs: product_number (required), filter. Returns: result

netlicensing_list_productsA

List all products in the NetLicensing account.

Args: filter: Optional server-side filter expression (e.g. 'active=true')

Inputs: filter. Returns: result

netlicensing_list_tokensA

List all active tokens in the account.

Args: filter: Optional server-side filter expression (e.g. 'tokenType=SHOP')

Inputs: filter. Returns: result

netlicensing_list_transactionsA

List all transactions in the account.

Args: filter: Optional server-side filter expression (e.g. 'status=CLOSED')

Inputs: filter. Returns: result

netlicensing_obtain_bundleB

Obtain a bundle for a customer — creates licenses from all license templates included in the bundle for the specified licensee.

Args: bundle_number: Bundle to obtain licensee_number: Customer (licensee) who receives the licenses

Inputs: bundle_number (required), licensee_number (required). Returns: result

netlicensing_transfer_licensesB

Transfer all licenses from one licensee to another.

Args: from_licensee_number: Source licensee to_licensee_number: Destination licensee

Inputs: from_licensee_number (required), to_licensee_number (required). Returns: result

netlicensing_update_bundleA

Update an existing bundle's fields.

Args: bundle_number: Bundle to update name: New name (leave empty to keep current) active: Set active state (omit to keep current) license_template_numbers: New list of license template numbers (omit to keep current) price: New price (omit to keep current) currency: New currency code (leave empty to keep current) description: New description (leave empty to keep current)

Inputs: bundle_number (required), name, active, license_template_numbers, +3 more. Returns: result

netlicensing_update_licenseA

Update a license's properties.

Args: license_number: License to update active: True to activate, False to deactivate (omit to keep current) name: New display name (leave empty to keep current) start_date: ISO 8601 datetime — TIMEVOLUME type (leave empty to keep current) price: License price (omit to keep current) currency: ISO 4217 currency code (leave empty to keep current) time_volume: Duration value — TIMEVOLUME type (leave empty to keep current) time_volume_period: DAY | WEEK | MONTH | YEAR (leave empty to keep current) quantity: Usage quota — PayPerUse model (leave empty to keep current) used_quantity: Used count — PayPerUse model (leave empty to keep current) parent_feature: Parent feature — Rental model (leave empty to keep current) hidden: Visibility in Shop (omit to keep current)

Inputs: license_number (required), active, name, start_date, +8 more. Returns: result

netlicensing_update_licenseeB

Update a licensee's properties.

Args: licensee_number: Licensee to update name: New name (empty to keep current) active: New active state (omit to keep current) marked_for_transfer: Mark for license transfer (omit to keep current) licensee_secret: Secret for licensee identification (leave empty to keep current)

Inputs: licensee_number (required), name, active, marked_for_transfer, +1 more. Returns: result

netlicensing_update_license_templateB

Update a license template's properties.

Args: template_number: Template to update name: New name (leave empty to keep current) active: Set active state (omit to keep current) price: New price (omit to keep current) currency: New ISO 4217 currency code (leave empty to keep current) automatic: Auto-assign to new licensees (omit to keep current) hidden: Hide template in NetLicensing Shop (omit to keep current) hide_licenses: Hide derived licenses in the Shop (omit to keep current) time_volume: Number of time units — TIMEVOLUME type (omit to keep current) time_volume_period: DAY | WEEK | MONTH | YEAR — TIMEVOLUME type (leave empty to keep current) max_sessions: Concurrent sessions — FLOATING type (omit to keep current) quantity: Usage quota — QUANTITY / PayPerUse type (omit to keep current) grace_period: Grace period after expiry — Subscription model (omit to keep current)

Inputs: template_number (required), name, active, price, +9 more. Returns: result

netlicensing_update_payment_methodB

Update a payment method's configuration.

Args: payment_method_number: Payment method to update active: Enable or disable the payment method paypal_subject: PayPal account e-mail address

Inputs: payment_method_number (required), active, paypal_subject. Returns: result

netlicensing_update_productB

Update an existing product's fields.

Args: product_number: Product to update name: New name (leave empty to keep current) active: Set active state (omit to keep current) version: New version string (leave empty to keep current) description: New description (leave empty to keep current) licensing_info: Licensing information for the shop (leave empty to keep current) licensee_auto_create: Auto-create licensees on first validation vat_mode: GROSS or NET (leave empty to keep current) licensee_secret_mode: DISABLED, PREDEFINED, or CLIENT (leave empty to keep current)

Inputs: product_number (required), name, active, version, +5 more. Returns: result

netlicensing_update_product_moduleA

Update a product module's properties.

Args: module_number: Module to update name: New name (leave empty to keep current) active: Set active state (omit to keep current) max_checkout_validity: Maximum checkout validity in days (Floating model, omit to keep current) yellow_threshold: Remaining time volume for yellow warning (Rental model, omit to keep current) red_threshold: Remaining time volume for red warning (Rental model, omit to keep current) node_secret_mode: PREDEFINED or CLIENT (NodeLocked model, leave empty to keep current)

Inputs: module_number (required), name, active, max_checkout_validity, +3 more. Returns: result

netlicensing_update_transactionB

Update a transaction's status or properties.

Args: transaction_number: Transaction to update status: CANCELLED | CLOSED | PENDING (leave empty to keep current) active: Set active state (omit to keep current) name: Human-readable name (leave empty to keep current) date_closed: ISO 8601 close timestamp (leave empty to keep current) payment_method: Payment method number (leave empty to keep current)

Inputs: transaction_number (required), status, active, name, +2 more. Returns: result

netlicensing_validate_licenseeA

Validate a customer's licenses across all product modules.

Returns per-module validity, type, expiry dates, and usage counts.

Args: licensee_number: Customer to validate product_number: Optional — scope validation to a specific product licensee_name: Human-readable name for auto-created licensees (when licenseeAutoCreate is enabled) session_id: Floating model — unique session identifier action: Floating model — 'checkOut' or 'checkIn' product_module_number: NodeLocked model — target product module node_secret: NodeLocked model — unique device/node secret

Inputs: licensee_number (required), product_number, licensee_name, session_id, +3 more. Returns: result

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 48 tools

    Disambiguation5/5

    Each tool clearly targets a specific entity and action (e.g., create/update/delete/list for products, modules, templates, licenses, licensees, bundles, transactions, payment methods, tokens). No two tools have overlapping responsibilities; even similar ones like create_license and obtain_bundle differ in scope and intent.

    Naming Consistency5/5

    All tools follow a strict 'netlicensing_verb_noun' pattern with consistent snake_case. Verbs are clear and consistently used (create, get, list, update, delete, obtain, transfer, validate), and resource nouns are unambiguous. No mixed conventions or vague verbs.

    Tool Count3/5

    At 48 tools, this is a large surface, but it mirrors the full CRUD and operational scope of a licensing management platform (products, modules, templates, licenses, licensees, bundles, transactions, tokens, payment methods, and metadata lookups). While heavy, every tool serves a distinct purpose and is justifiable for the domain.

    Completeness5/5

    The tool set covers the entire lifecycle for all core entities: create, read, update, delete, plus specialized operations like validation, license transfer, shop token generation, and bundle obtaining. It also includes necessary metadata endpoints (countries, license types, licensing models) and seems to have no missing critical operations for the stated purpose.

    Maintenance

    ActivityActive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      B
      maintenance
      A Model Context Protocol server for the Hetzner Cloud API that enables natural language management of cloud infrastructure. Users can list, create, and modify servers, networks, volumes, and load balancers through MCP-compatible clients.
      162
      1,209 npm
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      MCP server for integrating with n8n, enabling workflow automation and management through natural language.
      1
      -