UPS MCP Server
UPS MCPサーバー
UPS配送および物流API用のModel Context Protocolサーバーです。AIエージェントが配送の作成、荷物の追跡、料金の取得、住所の検証、集荷の予約、UPS拠点の検索を行えるようにします。
クイックインストール
MCP設定(~/.cursor/mcp.json、.cursor/mcp.json、または claude_desktop_config.json)に追加してください:
{
"mcpServers": {
"ups": {
"command": "npx",
"args": ["-y", "ups-mcp"],
"env": {
"UPS_CLIENT_ID": "your_client_id",
"UPS_CLIENT_SECRET": "your_client_secret",
"UPS_ACCOUNT_NUMBER": "123456",
"UPS_ENVIRONMENT": "sandbox"
}
}
}
}UPS Developer Portalで認証情報を取得してください。
ツール
ツール | 説明 |
| 配送を作成し、配送ラベルを生成する |
| 配送をキャンセルし、ラベルを無効化する |
| 完全なアクティビティ履歴で荷物を追跡する |
| 利用可能なすべてのサービスの配送料を取得する |
| 到着予定日を取得する |
| 米国/プエルトリコの住所を検証する |
| 荷物の集荷を予約する |
| 予約済みの集荷をキャンセルする |
| 近隣のUPSストアやドロップオフポイントを検索する |
Related MCP server: Easyship MCP
前提条件
Node.js 20以上
UPS Developer Portalの認証情報(開始方法)
UPSアカウント番号(配送および料金計算用)
インストール
npx ups-mcpまたはグローバルにインストール:
npm install -g ups-mcp設定
環境変数
変数 | 必須 | 説明 |
| はい | UPS Developer PortalのOAuthクライアントID |
| はい | OAuthクライアントシークレット |
| いいえ |
|
| いいえ | 6桁のUPSアカウント(配送/料金計算に必要) |
クライアント | 設定ファイル |
Cursor (プロジェクト) |
|
Cursor (グローバル) |
|
Claude Desktop |
|
VS Code |
|
使用例
配送の作成
"123 Main St, Atlanta GA 30301から456 Oak Ave, Los Angeles CA 90001まで、UPS Groundで5ポンドの荷物を発送して"
料金の取得
"NYCからシカゴまでの10ポンドの荷物の配送料はいくらですか?"
荷物の追跡
"荷物 1Z999AA10123456784 を追跡して"
住所の検証
"1600 Pennsylvania Ave NW, Washington DC 20500 は有効な住所ですか?"
集荷の予約
"明日午前9時に、倉庫にある3つの荷物の集荷を予約して"
開発
git clone https://github.com/roscoej/ups-mcp.git
cd ups-mcp
npm install
npm run buildMCP Inspectorでのテスト
npm run inspectorローカルでの実行
cp .env.example .env
# Edit .env with your credentials
npm run build
node dist/index.jsアーキテクチャ
src/
├── index.ts # Entry point (stdio transport)
├── config.ts # Environment variable resolution
├── server.ts # MCP server factory
├── client/
│ ├── auth.ts # OAuth 2.0 token manager
│ ├── http.ts # HTTP client with retry + error handling
│ └── errors.ts # Structured error types
├── tools/
│ ├── tracking.ts # track_package
│ ├── shipping.ts # create_shipment, void_shipment
│ ├── rating.ts # get_rates, get_time_in_transit
│ ├── address.ts # validate_address
│ ├── pickup.ts # schedule_pickup, cancel_pickup
│ ├── locator.ts # find_locations
│ ├── builders.ts # Shared request payload builders
│ ├── constants.ts # UPS API codes and enumerations
│ └── schemas.ts # Zod input schemas
└── types/
├── config.ts # Server configuration
├── shipping.ts # Shipment types + service codes
├── tracking.ts # Tracking types
├── rating.ts # Rating types
├── address.ts # Address validation types
└── pickup.ts # Pickup typesセキュリティ
API認証情報は機密情報です。バージョン管理システムには絶対にコミットしないでください。環境変数またはシークレットマネージャーを使用してください。
免責事項
このプロジェクトは独立した非公式のサードパーティ製ツールです。United Parcel Service, Inc. (UPS) またはその子会社とは提携、推奨、後援されておらず、公式な関係もありません。
"UPS"およびUPSブランドマークは、United Parcel Service of America, Inc.の登録商標です。その他のすべての商標は、それぞれの所有者に帰属します。これらの名称の使用は、識別および相互運用性の目的のみであり、推奨を意味するものではありません。
本ソフトウェアは「現状のまま」提供され、いかなる種類の保証もありません。ユーザーは以下の事項について単独で責任を負うものとします:
UPS Technology Agreementおよび適用されるすべてのUPS利用規約、レート制限、および利用ポリシーの遵守。
API認証情報およびUPSアカウントの保護。
本ツールを通じてUPSアカウントで行われるすべてのアクティビティ。
居住管轄区域における適用されるすべての法律および規制の遵守。
作成者および貢献者は、本ソフトウェアまたは本ソフトウェアを通じてアクセスされるUPS APIの使用から生じる損害について、一切の責任を負いません。
貢献
貢献を歓迎します!ガイドラインについてはCONTRIBUTING.mdを参照してください。
ライセンス
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI agents to integrate with UPS shipping and logistics capabilities, including package tracking with delivery status and transit information, and address validation for U.S. and Puerto Rico locations.29MIT

Easyship MCPofficial
Alicense-qualityDmaintenanceEnables AI agents to manage global shipping operations, including rate comparison, shipment creation, label purchasing, tracking, pickup scheduling, address validation, billing, and analytics, via natural language.30MIT- Alicense-qualityBmaintenanceEnables AI agents to buy US shipping labels (USPS, UPS, FedEx) with automatic cheapest-rate selection, track parcels, and refund unused labels via the EasyPost API. Stateless, bring-your-own API key, free test keys available.MIT
- Alicense-qualityCmaintenanceEnables AI agents to ship parcels across India via Delhivery, Bluedart, Ekart, and more through the Shiprocket API, with tools for serviceability checks, order creation, tracking, and cancellation.MIT
Related MCP Connectors
Multi-carrier shipping for AI agents: compare rates, buy labels, track packages, validate addresses
India shipping for AI agents: Shiprocket courier serviceability, create orders, track AWB.
US shipping labels for AI agents: buy USPS/UPS/FedEx, track and refund via EasyPost.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/roscoej/ups-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server