Skip to content
VS Code

usps mcp for VS Code

io.github.mrfentmen/usps-mcp

USPS shipping, tracking, address validation, and label creation.

client:VS Code transport:stdio runtime:npm

Install usps mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "usps-api-key",
      "description": "USPS_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "usps-username",
      "description": "USPS_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "usps-password",
      "description": "USPS_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "usps-api-url",
      "description": "USPS_API_URL",
      "password": true
    }
  ],
  "servers": {
    "usps-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "usps-mcp"
      ],
      "env": {
        "USPS_API_KEY": "${input:usps-api-key}",
        "USPS_USERNAME": "${input:usps-username}",
        "USPS_PASSWORD": "${input:usps-password}",
        "USPS_API_URL": "${input:usps-api-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

usps mcp in other clients