PostNL for Gemini CLI
io.github.bartwaardenburg/postnl-mcp
Create shipments, generate barcodes, track parcels, and find pickup locations via the PostNL API
client:Gemini CLI
transport:stdio
runtime:npm
Install PostNL in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"postnl-mcp": {
"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>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs