NetLicensing MCP Server
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": 61
}
statusisok,warning(demo mode; a valid key whose role may not list products,403; or an API error that says nothing about the key) orerror(no key, key rejected with401, API unreachable).auth.sourceisenv,header(HTTP mode),demoornone.auth.validistruewhen NetLicensing accepted the key,falsewhen it rejected it,nullwhen that couldn't be checked.next_stepssays in plain words what to fix. Passcheck_connection=falseto skip the API call (thenokonly means a key is configured).
To share one server with a whole team instead, see Run it as a shared server.
What can you ask?
- "List all products in my account."
- "Create a licensee for
customer@example.comunder 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
61 tools cover products, modules, license templates, licensees, licenses, bundles, tokens, transactions and payment methods, grouped into toolsets (see [Reduce the tool list / read-only mode](#reduce-the-tool-list--read-only-mode)). Two read-only workflows, `get_customer_health` and `explain_validation`, return answers instead of raw data. `preview_*` tools show what a change will affect before you confirm it.61 tools in 11 toolsets, plus 11 prompts. R = read-only, W = writes data, D = destructive (deletes data). Parameters for every tool: docs/TOOLS.md.
Toolset products (7 tools)
| 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. |
Toolset bundles (7 tools)
| 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. |
Toolset modules (6 tools)
| 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. |
Toolset templates (7 tools)
| 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. |
Toolset licensees (8 tools)
| 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. |
Toolset licenses (6 tools)
| 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_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. |
Toolset tokens (6 tools)
| 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. |
Toolset transactions (4 tools)
| 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. |
Toolset payments (4 tools)
| 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. |
Toolset system (4 tools)
| 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. |
Toolset workflows (2 tools)
| 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 takepage(0-based),page_size(1-100, default 25) andcompact=true(only type, number, name, status, active). Results also carrytotal,page,total_pagesandhas_more; when more pages exist,next_page_hintholds the exactfiltervalue for the next one. Payment methods, licensing models, license types and countries are not paged by NetLicensing.netlicensing_list_countriestakessearchandeu_onlyinstead. - Filters:
filtertakes NetLicensing'skey=value;key=valuesyntax. NetLicensing ignores some filter fields on some endpoints, so the server re-appliesactive,statusandtokenTypeitself. - 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=trueto add the original NetLicensing response. - Every result is JSON text plus the same object as
structuredContent; failed calls are flaggedisError, and every tool declares anoutputSchema. Tools also declare whether they read, write or delete, so clients can ask for approval at the right moments.
Prompt templates
11 ready-made prompts run an audit or walk you through a setup. Pick one in your client, fill in its arguments, and the assistant runs the whole workflow with the matching tools. They ask for confirmation before each write and never delete anything themselves.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_fullproduct_number="P001"audit_customerlicensee_number="I001"audit_expiryproduct_number="P001" days_threshold="30"audit_cleanupproduct_number="P001"audit_anomalyproduct_number="P001"setup_subscription_productproduct_name="Acme Cloud" plans="1 MONTH 9.99 EUR; 1 YEAR 99.00 EUR"setup_trialproduct_number="P001" trial_days="14"onboard_customercustomer_name="Acme Corp" product_number="P001" (optional: licensee_number, module_number, license_template_number)migrate_customerfrom_licensee_number="I001" to_licensee_number="I002"troubleshoot_validationlicensee_number="I001" (optional: product_number, product_module_number)issue_api_keypurpose="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_TOOLSETSregisters only the listed toolsets:products,bundles,modules,templates,licensees,licenses,tokens,transactions,payments,system,workflows, orall.MCP_READ_ONLY=truekeeps only read-only tools: lists, gets,preview_*, workflows and reference data. Everything that creates, updates or deletes is left out, and so areobtain_bundle,transfer_licensesandvalidate_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_cascadeandblocking_dependencieswhen 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 sameforce_cascadevalue it was issued for.force_cascaderemoves dependent items too and is only used when you ask for it. - Sensitive updates need confirmation too: product
vat_modeandlicensee_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 returnsno_changeand no token. - Secrets are masked in every response and log line:
apiKey,licenseeSecret,nodeSecret,passwordandsecretfields (long values keep their first 3 and last 4 characters, likepk_****W3Od; short ones become****). Payment method credentials are always****. Add fields withMCP_REDACT_FIELDS. Token numbers are masked in lists; you can pass a masked number fromlist_tokenstoget_token,preview_delete_tokenordelete_tokenwhen it identifies exactly one token. - Credentials appear once.
create_api_tokenandcreate_shop_tokenmark 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
401before 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.
Metadata
Release files for netlicensing-mcp 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| netlicensing_mcp-1.1.3.tar.gz | 1.1 MB | With provenance | Details for netlicensing_mcp-1.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| netlicensing_mcp-1.1.3-py3-none-any.whl | Python 3 | none | any | Details for netlicensing_mcp-1.1.3-py3-none-any.whl |
Total release size: 1.2 MB
Release files / netlicensing_mcp-1.1.3.tar.gz
| Download URL | netlicensing_mcp-1.1.3.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
baf03e34d125fb360b8009b8ca87d553a462ba8f645cff8b8cf863ed15692672
|
|
BLAKE2b-256 checksum How to use checksums |
5f7e763e2c1c54e4b5485ed4657c394b568b37ad05ca2cb13703c104a584c4b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logRelease files / netlicensing_mcp-1.1.3-py3-none-any.whl
| Download URL | netlicensing_mcp-1.1.3-py3-none-any.whl |
|---|---|
| Size | 139.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e5723ca84dbcd172385199f51c2d2efa703eea9d8c07f010bb400b7fa05ba07d
|
|
BLAKE2b-256 checksum How to use checksums |
98d4bcdde39865b9e714828a54485b1b9e3be7b590f068d1090b4da0812ace67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logSecurity for netlicensing-mcp 1.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for netlicensing_mcp-1.1.3.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 23, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.