--- title: "Delhivery One MCP Setup" slug: "delhivery-one-mcp-setup" description: "Learn how to set up Delhivery One MCP for AI-powered logistics and supply chain automation. Automate shipment tracking, order management, pickups and NDRs." tags: ["AI Workflows", "Delhivery AI", "AI Automation", "MCP"] updated: 2026-11-03T04:57:12Z published: 2026-11-03T04:57:12Z canonical: "help.delhivery.com/delhivery-one-mcp-setup" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.delhivery.com/llms.txt > Use this file to discover all available pages before exploring further. # Delhivery One MCP Setup # Delhivery One MCP The Delhivery One MCP lets you connect Delhivery One to AI coding assistants such as Cursor and Kiro, allowing you to interact with your shipping data using natural language. Want to know what you can do with Delhivery One MCP? Explore real-world workflows and automation examples in our [MCP Use Cases & Examples](/home/docs/delhivery-one-mcp-use-cases-examples) guide. Currently, the MCP supports read-only operations, including tracking shipments, checking shipping rates, viewing orders, wallet balance, and support tickets. Write and update operations will be available in a future release. Support for AI assistants such as ChatGPT and Claude is also coming soon. ### Before You Start Make sure you have: - Cursor or Kiro installed - `uv` installed on your system ### Install `uv` **macOS** ```bash brew install uv ``` **Using pip** ```bash pip install uv ``` Verify the installation: ```bash uvx --version ``` --- ### Where to Find the MCP Configuration You can copy your MCP configuration anytime from: **Settings → API & MCP Setup** All your Delhivery credentials are automatically populated in the generated MCP JSON. Simply copy the configuration and paste it into your AI IDE. No manual configuration is required. --- ### Quick Setup #### Step 1: Copy the MCP Configuration Go to **Settings → API & MCP Setup** and copy the generated MCP JSON. #### Step 2: Paste into Your IDE **Cursor** Paste the configuration into: ```plaintext .cursor/mcp.json ``` **Kiro** Paste the configuration into: ```plaintext .kiro/settings/mcp.json ``` #### Step 3: Restart the MCP Server After saving the configuration, restart or refresh the MCP server in your IDE. Once connected, **Delhivery One** should appear as an available MCP server. --- ## MCP Tools and Use Cases | Tool Name | Description | Example Customer Query / Use Case | | --- | --- | --- | | **1. List Exceptions** | Search and view shipments with delivery exceptions, including failed delivery attempts (NDR), based on status and exception type. | "Show me all my shipments where delivery attempts have failed and action is required." | | **2. International Order Listing** | Search, list, and track international (cross-border) orders with filters, sorting, and pagination. | "Show me all my international orders and their current status." | | **3. Apply EMS Exception** | Take action on shipments where a delivery attempt has failed (NDR), such as requesting a delivery reattempt or returning the shipment to origin (RTO). | "Reattempt delivery for AWB 1234567890123" or "Return this shipment to origin." | | **4. B2C Bulk Rate Calculator** | Calculate estimated shipping charges for multiple B2C shipments in a single request. | "Calculate the shipping charges for these 10 orders across different pincodes." | | **5. List Pickup Requests** | Search and view pickup requests along with their current status. | "Show me all my pending pickup requests." | | **6. GET Pickup Request Details** | Retrieve detailed information about a specific pickup request using its pickup ID. | "What's the status of my pickup request PR12345?" | | **7. List Pickup Locations** | View all registered pickup locations and their addresses associated with the customer's account. | "Show me all my registered pickup addresses." | | **8. GET Wallet Details** | Retrieve the customer's current wallet balance and wallet configuration. | "What's my current wallet balance?" | | **9. AWB or Shipment Search** | Search and filter shipments based on shipment status and other available criteria. | "Show me all my shipments that are currently in transit." | | **10. GET Sale Order Details** | Retrieve detailed information about a specific sale order using its order ID. | "Show me the details of order ORD12345." | | **11. List Sale Orders** | Search and list sale orders associated with the customer's account. | "Show me my latest orders." | | **12. GET Shipment Details** | Retrieve detailed shipment information, including its current status, using the AWB number. | "Where is my shipment with AWB 1234567890123?" | | **13. List Support Tickets** | Retrieve a list of support tickets raised by the customer, including their current status. | "Show me all my open support tickets." | | **14. Get Ticket Details** | Retrieve complete information and available updates for a specific support ticket. | "What's the latest update on support ticket TKT12345?" | | **15. List Client Mappings** | Retrieve the service client accounts mapped to the authenticated company. | "Which Delhivery service accounts are mapped to my company?" | | **16. GET AWB Transit History** | Retrieve the transit history of a shipment, including its movement through different logistics facilities. | "Show me the complete tracking history of AWB 1234567890123." | ## Tool Categories | Category | Tools | Customer Objective | | --- | --- | --- | | **Shipment Tracking & NDR Management** | DelhiveryOne List Exceptions, Apply EMS Exception, AWB or Shipment Search, GET Shipment Details, GET AWB Transit History | Track shipments, identify delivery failures, and take reattempt or return actions. | | **Order Management** | List Sale Orders, GET Sale Order Details, StarFleet (XB) Order Listing | Search, view, and track domestic and international orders. | | **Pickup Management** | List Pickup Requests, GET Pickup Request Details, List Pickup Locations | Track pickup requests and view registered pickup addresses. | | **Shipping Rate Calculation** | B2C Bulk Rate Calculator | Estimate shipping charges for multiple shipments. | | **Wallet & Account Management** | GET Wallet Details, List Client Mappings | Check wallet balance and view mapped service accounts. | | **Customer Support** | List Support Tickets, Get Ticket Details | Track support tickets and check their latest updates. | ## Key Customer Benefits - **Shipment visibility:** Customers can track orders, shipment movements, and delivery statuses through natural-language queries. - **NDR action management:** Customers can identify failed deliveries and request reattempt or return actions without manually navigating shipment details. - **Pickup visibility:** Customers can check pickup requests and registered pickup locations. - **Shipping cost estimation:** Customers can calculate estimated shipping charges for multiple B2C shipments. - **Support self-service:** Customers can check support tickets and their statuses without contacting customer support. - **Wallet and account visibility:** Customers can retrieve wallet balances and mapped service accounts. ### Try It Out Open your AI assistant and ask: - Track shipment **AWB 123456789** - Show my recent shipments - Calculate shipping charges from Bangalore to Delhi - Schedule a pickup - List my support tickets - Check my wallet balance Your AI assistant will automatically use the relevant Delhivery One APIs and return the results. --- ### Frequently Asked Questions **Where can I find my MCP JSON?** Go to **Settings → API & MCP Setup** and copy the generated MCP configuration. All required credentials are already included. **Do I need to enter any API credentials manually?** No. All required Delhivery credentials are automatically populated in the generated MCP JSON. **Which AI IDEs are supported?** Currently, Delhivery One MCP supports **Cursor** and **Kiro**. **Claude** and **ChatGPT** support will be available soon. **Do I need Python installed?** No. You only need **uv**, which provides everything required to run the MCP server. **How do I know if the connection is successful?** After restarting the MCP server, **Delhivery One** should appear as a connected MCP server in your IDE. **What can I do once connected?** You can try these: - Track shipments ![](https://cdn.document360.io/99cfd8a0-cd1b-4550-bd86-3e4e610f163b/Images/Documentation/Screenshot%202026-07-30%20at%2010.19.20%E2%80%AFAM.png) - Get shipment details. ![](https://cdn.document360.io/99cfd8a0-cd1b-4550-bd86-3e4e610f163b/Images/Documentation/image-1785388117277.png) ![](https://cdn.document360.io/99cfd8a0-cd1b-4550-bd86-3e4e610f163b/Images/Documentation/image-1785388149073.png) ![](https://cdn.document360.io/99cfd8a0-cd1b-4550-bd86-3e4e610f163b/Images/Documentation/image-1785388176089.png) - Calculate shipping rates ![](https://cdn.document360.io/99cfd8a0-cd1b-4550-bd86-3e4e610f163b/Images/Documentation/Screenshot%202026-07-30%20at%2010.09.10%E2%80%AFAM.png) - Check pickup request details ![](https://cdn.document360.io/99cfd8a0-cd1b-4550-bd86-3e4e610f163b/Images/Documentation/Screenshot%202026-07-30%20at%2010.13.44%E2%80%AFAM(1).png) ![](https://cdn.document360.io/99cfd8a0-cd1b-4550-bd86-3e4e610f163b/Images/Documentation/image-1785387937175.png) - Check wallet balance ![](https://cdn.document360.io/99cfd8a0-cd1b-4550-bd86-3e4e610f163b/Images/Documentation/Screenshot%202026-07-30%20at%2010.10.32%E2%80%AFAM.png) - Get support ticket details - Access other Delhivery One APIs using natural language ### The MCP server isn't connecting. What should I do? - Verify that `uv` is installed. - Restart or refresh the MCP server. - If the issue persists, contact your Delhivery account manager or support team. ## Related - [Delhivery One MCP : Use Cases & Examples](/delhivery-one-mcp-use-cases-examples.md)