Skip to content
Cursor

PostNL for Cursor

io.github.bartwaardenburg/postnl-mcp

Create shipments, generate barcodes, track parcels, and find pickup locations via the PostNL API

client:Cursor transport:stdio runtime:npm

Install PostNL in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "postnl-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "postnl-mcp"
      ],
      "env": {
        "POSTNL_API_KEY": "<POSTNL_API_KEY>",
        "POSTNL_CUSTOMER_CODE": "<POSTNL_CUSTOMER_CODE>",
        "POSTNL_CUSTOMER_NUMBER": "<POSTNL_CUSTOMER_NUMBER>",
        "POSTNL_CACHE_TTL": "<POSTNL_CACHE_TTL>",
        "POSTNL_MAX_RETRIES": "<POSTNL_MAX_RETRIES>",
        "POSTNL_TOOLSETS": "<POSTNL_TOOLSETS>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

PostNL in other clients