Scan your whole stack
From OX Research Newsroom
Latest version: v0.3.1
PostNL was last scanned on 27 Nov 2026 at version 0.3.1. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.3.1 LATEST | 27 Nov 2026 | No rules fired |
| 0.3.0 | 27 Nov 2026 | No rules fired |
Findings for v0.3.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.3.1; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Een Model Context Protocol (MCP) server voor de PostNL API. Maak zendingen aan, genereer barcodes, volg pakketten, bereken bezorgdata en vind afhaalpunten — allemaal via natuurlijke taal in je AI-app.
Let op: Dit is een onofficieel, community-onderhouden project en is niet verbonden aan of goedgekeurd door PostNL.
A community-built Model Context Protocol (MCP) server for the PostNL API. Create shipments, generate barcodes, track parcels, calculate delivery dates, and find pickup locations — all through natural language via any MCP-compatible AI client.
Note: This is an unofficial, community-maintained project and is not affiliated with or endorsed by PostNL.
The server supports MCP specification 2026-07-28. Clients that use the 2025 handshake also work.
Je hoeft deze repo niet te clonen.
npx op je machine)You do not need to clone this repo.
npx on your machine)Cowork runs inside Claude Desktop and uses the same connected MCP servers and permissions.
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\\Claude\\claude_desktop_config.jsonmcpServers):{
"mcpServers": {
"postnl-mcp": {
"command": "npx",
"args": ["-y", "postnl-mcp"],
"env": {
"POSTNL_API_KEY": "your-api-key",
"POSTNL_CUSTOMER_CODE": "your-customer-code",
"POSTNL_CUSTOMER_NUMBER": "your-customer-number"
}
}
}
}
Most MCP apps have an "Add MCP Server" screen where you can fill in:
npx-y postnl-mcpPOSTNL_API_KEY=..., POSTNL_CUSTOMER_CODE=..., POSTNL_CUSTOMER_NUMBER=...If your app wants JSON, paste this and adapt the top-level key name to your client (common keys are mcpServers, servers, or context_servers):
{
"<servers-key>": {
"postnl-mcp": {
"command": "npx",
"args": ["-y", "postnl-mcp"],
"env": {
"POSTNL_API_KEY": "your-api-key",
"POSTNL_CUSTOMER_CODE": "your-customer-code",
"POSTNL_CUSTOMER_NUMBER": "your-customer-number"
}
}
}
}
Missing required env vars or startup validation errors.POSTNL_API_KEY, POSTNL_CUSTOMER_CODE, and POSTNL_CUSTOMER_NUMBER to server env and restart your app.npx: command not found or server fails to start.401/403 or empty business data.Retry-After header supportThis MCP server is not tied to one coding agent. It works with any MCP-compatible client or agent runtime that can start a stdio MCP server.
| Client / runtime | Docs |
|---|---|
| Claude Code | MCP in Claude Code |
| Anthropic API (Messages API) | Remote MCP servers |
| Codex CLI (OpenAI) | Codex CLI docs |
| Gemini CLI (Google) | Gemini CLI MCP server docs |
| VS Code (Copilot) | Use MCP servers in VS Code |
| Claude Desktop | MCP in Claude Desktop |
| Cursor | Cursor docs |
| Windsurf | Windsurf MCP docs |
| Cline | Cline MCP docs |
| Zed | Zed context servers docs |
| Any other MCP host | Use command/args/env from Generic MCP Server Config |
Claude currently has multiple MCP-related concepts that are easy to mix up:
claude_desktop_config.json and started on your machine (docs).Verified against vendor docs on 2026-03-05.
If Quick Start worked in your client, you can skip this section. These are additional per-client setup options and CLI one-liners.
Use this as the baseline in any host:
npx["-y", "postnl-mcp"]POSTNL_API_KEY, POSTNL_CUSTOMER_CODE, POSTNL_CUSTOMER_NUMBERPOSTNL_CACHE_TTL, POSTNL_MAX_RETRIES, POSTNL_TOOLSETS (see Configuration)Minimal JSON (adapt the top-level key to your host):
{
"<servers-key>": {
"postnl-mcp": {
"command": "npx",
"args": ["-y", "postnl-mcp"],
"env": {
"POSTNL_API_KEY": "your-api-key",
"POSTNL_CUSTOMER_CODE": "your-customer-code",
"POSTNL_CUSTOMER_NUMBER": "your-customer-number"
}
}
}
}
Host key mapping:
| Host | Top-level key | Notes |
|---|---|---|
| VS Code | servers |
Add "type": "stdio" on the server object |
| Claude Desktop / Cursor / Windsurf / Cline | mcpServers |
Same command/args/env block |
| Zed | context_servers |
Same command/args/env block |
| Codex CLI (TOML) | mcp_servers |
Uses TOML, shown below |
claude mcp add --scope user postnl-mcp \
--env POSTNL_API_KEY=your-api-key \
--env POSTNL_CUSTOMER_CODE=your-customer-code \
--env POSTNL_CUSTOMER_NUMBER=your-customer-number \
-- npx -y postnl-mcp
codex mcp add postnl-mcp \
--env POSTNL_API_KEY=your-api-key \
--env POSTNL_CUSTOMER_CODE=your-customer-code \
--env POSTNL_CUSTOMER_NUMBER=your-customer-number \
-- npx -y postnl-mcp
~/.codex/config.toml alternative:
[mcp_servers.postnl-mcp]
command = "npx"
args = ["-y", "postnl-mcp"]
env = { "POSTNL_API_KEY" = "your-api-key", "POSTNL_CUSTOMER_CODE" = "your-customer-code", "POSTNL_CUSTOMER_NUMBER" = "your-customer-number" }
gemini mcp add postnl-mcp -- npx -y postnl-mcp
Set POSTNL_API_KEY, POSTNL_CUSTOMER_CODE, and POSTNL_CUSTOMER_NUMBER in ~/.gemini/settings.json.
Open Command Palette (Cmd+Shift+P / Ctrl+Shift+P) > MCP: Add Server > Command (stdio), or use .vscode/mcp.json with top-level key servers and the canonical command/args/env block from Generic MCP Server Config.
Cowork runs inside Claude Desktop and uses the same connected MCP servers and permissions. Configure once in Claude Desktop, then the server is available in Cowork.
Use the canonical config block and place it in the host file below with the matching top-level key.
| Client | Config location | Top-level key |
|---|---|---|
| Claude Desktop (macOS) | ~/Library/Application Support/Claude/claude_desktop_config.json |
mcpServers |
| Claude Desktop (Windows) | %APPDATA%\\Claude\\claude_desktop_config.json |
mcpServers |
| Cursor (project) | .cursor/mcp.json |
mcpServers |
| Cursor (global) | ~/.cursor/mcp.json |
mcpServers |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
mcpServers |
| Cline | MCP settings UI | mcpServers |
| Zed (macOS/Linux) | ~/.zed/settings.json or ~/.config/zed/settings.json |
context_servers |
docker run -i --rm \
-e POSTNL_API_KEY=your-api-key \
-e POSTNL_CUSTOMER_CODE=your-customer-code \
-e POSTNL_CUSTOMER_NUMBER=your-customer-number \
ghcr.io/bartwaardenburg/postnl-mcp
Use the values from Generic MCP Server Config.
What is portable across hosts:
command, args, env)stdio command server)What is host/vendor-specific (not portable as-is):
servers, mcpServers, context_servers, mcp_servers)| Variable | Description |
|---|---|
POSTNL_API_KEY |
Your PostNL API key |
POSTNL_CUSTOMER_CODE |
Your PostNL customer code (used in barcode generation and shipments) |
POSTNL_CUSTOMER_NUMBER |
Your PostNL customer number (used in shipment requests) |
Get your API credentials from the PostNL Developer Portal. Your customer code and customer number can be found in your PostNL business account.
| Variable | Description | Default |
|---|---|---|
POSTNL_CACHE_TTL |
Response cache lifetime in seconds. Set to 0 to disable caching. |
120 |
POSTNL_MAX_RETRIES |
Maximum retry attempts for rate-limited (429) requests with exponential backoff. | 3 |
POSTNL_TOOLSETS |
Comma-separated list of tool categories to enable (see Toolset Filtering). | All toolsets |
Depending on which tools you use, subscribe to:
| API Subscription | Tools |
|---|---|
| Barcode API | generate_barcode |
| Labelling API (Shipment v2) | create_shipment |
| Status API (Shipment v2) | get_shipment_status |
| Delivery Date API | get_delivery_date |
| Timeframe API | get_delivery_options |
| Locations API | find_locations, get_location |
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.