DeltaVelocity

AI & MCP

The DeltaVelocity MCP server is available to brands. You connect with browser sign-in. DeltaVelocity enables each write operation separately.

Production · https://mcp.deltavelocity.in/mcp

Choose your client

Claude browser & desktop

  1. Open Claude in your browser on Windows, macOS or Linux. You can also use the Claude Desktop app. You do not need a terminal.
  2. Open Customize → Connectors and add a custom web connector. The path is Add → Custom → Web in some Claude versions and + → Add custom connector in others.
  3. Name the connector DeltaVelocity. Paste the MCP server URL shown below. Continue to the authentication settings.
  4. Choose browser sign-in. If Claude shows OAuth client options, choose Register automatically. Leave the client secret and the request headers empty.
  5. Add the connector. Choose Connect or Sign in now. Sign in to DeltaVelocity as a brand administrator. Check the application, the brand and the permissions, then approve.
  6. Return to Claude. In a chat, open + → Connectors and turn on DeltaVelocity for the conversation. Ask for the documentation for tracking a shipment.
https://mcp.deltavelocity.in/mcp

These steps follow the Claude documentation for custom connectors.

Official Claude browser & desktop documentation

Claude Code (CLI)

  1. Install Claude Code with the installation guide linked below. Claude Code runs on macOS, on Linux and on Windows, natively or in WSL. Open a terminal in the project where you want to use Claude Code. On native Windows, use PowerShell. In WSL, use your WSL terminal.
  2. Run the commands below. The first command adds DeltaVelocity. The second command opens browser sign-in. In a Claude Code session that is already open, you can use /mcp to sign in.
  3. Sign in to DeltaVelocity. Check the requested permissions, then approve. Return to the terminal. Run claude mcp get deltavelocity to check the connection.
claude mcp add --transport http deltavelocity https://mcp.deltavelocity.in/mcp
claude mcp login deltavelocity

Claude Code documents OAuth sign-in and token renewal for remote HTTP servers.

Official Claude Code (CLI) documentation · Installation guide

Codex CLI

  1. Run the commands below. The first command adds the server. The second command starts browser sign-in.
  2. Sign in to DeltaVelocity in your browser and approve the permissions. Return to Codex.
codex mcp add deltavelocity --url https://mcp.deltavelocity.in/mcp
codex mcp login deltavelocity

Codex documents browser sign-in for remote MCP servers.

Official Codex CLI documentation

Codex Desktop

  1. Open the MCP settings of the app. Add a remote HTTP server with the URL below. Start the sign-in for that server.
  2. Sign in to DeltaVelocity in your browser and approve the permissions. If your app version has different settings, follow the Codex documentation linked below.
https://mcp.deltavelocity.in/mcp

Codex documents remote MCP servers.

Official Codex Desktop documentation

Cursor

  1. Add the server below to your Cursor mcp.json file.
  2. In Cursor, start the OAuth connection for the server. Sign in to DeltaVelocity in your browser and approve the permissions.
{
  "mcpServers": {
    "deltavelocity": { "url": "https://mcp.deltavelocity.in/mcp" }
  }
}

Cursor documents automatic OAuth for remote servers.

Official Cursor documentation

Antigravity

  1. Add the server below to your MCP configuration. Antigravity uses the serverUrl key for a remote server.
  2. Start the OAuth connection. Sign in to DeltaVelocity in your browser and approve the permissions. If Antigravity asks for a code from the browser, follow the instructions that Antigravity shows. Do not paste an API secret.
{
  "mcpServers": {
    "deltavelocity": { "serverUrl": "https://mcp.deltavelocity.in/mcp" }
  }
}

Antigravity documents automatic OAuth registration and token renewal.

Official Antigravity documentation

OpenCode

  1. Add the server below to your OpenCode configuration.
  2. Run opencode mcp auth deltavelocity. Sign in to DeltaVelocity in your browser and approve the permissions.
{
  "mcp": {
    "deltavelocity": {
      "type": "remote",
      "url": "https://mcp.deltavelocity.in/mcp"
    }
  }
}

OpenCode documents automatic OAuth registration for remote servers.

Official OpenCode documentation

Grok

  1. Open https://grok.com/connectors and choose New Connector → Custom. On a Business account or an Enterprise account, a team administrator must set up the connector first.
  2. Enter the MCP server URL below. Start the connection. Follow the sign-in that Grok offers.
  3. Sign in to DeltaVelocity as a brand administrator. On the consent screen, check the brand and the requested permissions. Approve only the read permissions that you need for your test.
  4. Return to Grok. Ask Grok to list the DeltaVelocity operations, to describe one read operation and to run it for your brand. Check that the connection appears in Dashboard → Settings → Developer → Connected apps.
  5. If the registration or the sign-in fails, send the error message and the time of the failure to DeltaVelocity support.
https://mcp.deltavelocity.in/mcp

Grok documents custom connectors for remote MCP servers. DeltaVelocity has not tested a live Grok connection.

Official Grok documentation

How the connection works

Connect your AI client to DeltaVelocity at https://mcp.deltavelocity.in/mcp. The server uses the Streamable HTTP transport of MCP, so your client must support remote MCP servers.

Your client supplies the AI model. DeltaVelocity runs every operation on its own servers. You do not install any DeltaVelocity software.

Every client follows the same sequence. Add the URL in your client. Start the Connect or Login action. Sign in to DeltaVelocity in your browser as a brand administrator. On the consent screen, check the application, the callback address, the brand and the requested permissions. Approve, then return to your client.

DeltaVelocity uses OAuth dynamic client registration, so your client registers itself. The sign-in uses the OAuth authorisation code flow with S256 PKCE. Do not paste an API key, a client secret or a bearer token into your client.

Your client renews its access with a refresh token. Each renewal replaces the refresh token. A connection expires after 30 days, even if your client renews its access. Sign in again after the connection expires or after you revoke it.

Permissions

When you approve, your client gets access to the brand that you signed in to. Your client gets only the permissions that the consent screen shows. Approve only the permissions that you need.

A connection never has more access than your own account. The connection loses its access if your user or your brand is disabled, if your role changes or if you revoke the connection.

Documentation for an operation does not give your connection permission to run the operation. Before your assistant runs an operation, ask it to list the available tools, to search for the operation and to describe it.

Your connection can run an operation only when two conditions are true. You approved the permissions that the operation needs. DeltaVelocity has enabled the operation. A write is an operation that changes data, for example a shipment cancellation. DeltaVelocity enables each write separately.

Some reads need these permissions:

  • Analytics needs analytics:read.
  • COD analytics also needs wallet:read.
  • Stored freight analytics also need billing:read.
  • Billing reads need billing:read. COD requests and COD settlements also need wallet:read.

To see or revoke your connections, open Dashboard → Settings → Developer → Connected apps. If you remove the server from your client, you do not revoke the DeltaVelocity connection. Revoke the connection in Connected apps.

Try a request

To read documentation, ask your assistant to find the documentation for booking an order and to explain the required fields.

To read your data, ask your assistant to show the tracking status of a shipment for your brand. Your connection needs the read permission for that data.

Before a write, ask your assistant to describe the operation and to show the exact changes. Check the IDs and the effects before you approve a courier assignment, a cancellation or another write.

A documentation answer states the guide revision and the file hashes that the server used. This website can be newer than that revision.

Troubleshooting and environments

If you cannot connect, check that the URL is for the correct environment. If the URL is correct, contact support.

If the sign-in repeats, check these points:

  • Your client supports OAuth for remote HTTP servers.
  • The browser returned you to your client after you approved.
  • You signed in as a brand administrator.

Your client version, your plan and the policies of your organisation decide whether you can add a connector and which features you get. The setup steps on this page follow the documentation of each vendor. If a step does not match your client, use the vendor documentation linked under the steps.

A 401 response can have one of these causes:

  • The token expired.
  • The connection was revoked.
  • The token is for a different resource URL.
  • The token is for a different environment.

In each case, sign in again through your browser. If a token renewal returns invalid_grant, sign in again. Do not send the old refresh token again. If you send it again, DeltaVelocity revokes the connection.

A 403 response means that your connection is not permitted to run the operation. Check your permissions and your current access. Do not keep retrying the request.

This page is for the environment at https://mcp.deltavelocity.in/mcp. The production URL is https://mcp.deltavelocity.in/mcp. The staging URL is https://mcp.stg.deltavelocity.in/mcp.

Follow these rules for the URL:

  • Use a connection only with the environment where you created it.
  • Enter the URL exactly, with no slash at the end.
  • Do not use an API hostname in place of the MCP hostname.

An MCP token does not work for REST API requests or for dashboard requests.

Approve a write

Some writes need your approval before DeltaVelocity runs them, for example a courier assignment, a shipment warehouse change, an order cancellation or a shipment cancellation. DeltaVelocity first makes a preview of the exact changes. Check the IDs and every change in the preview before you approve.

DeltaVelocity asks for your approval in one of two ways:

  • In a form that your client shows. You answer YES in the form. This works when your client supports MCP forms and connects with MCP protocol version 2026-07-28. MCP calls this feature form elicitation.
  • On a DeltaVelocity dashboard page. Every other client gets an approval link. Open the link and sign in with the same DeltaVelocity account that you used to connect the client. Review the actions, then approve or decline them. The link expires in 5 minutes. Approval runs only the actions that the page shows. The page shows the progress and the result.

After a dashboard approval, DeltaVelocity runs the actions. Ask your assistant to check the result of the same operation ID. It must not send the write again. If the link expired, ask your assistant for a new approval link.

DeltaVelocity has not tested the form with Codex, with the Cursor desktop app or with Grok Build. Support for MCP forms in general does not prove that the form works in a client.

Cancel a shipment

The shipments.cancel operation cancels a shipment. Your connection has this operation only if DeltaVelocity has enabled it and you approved its permission. Ask your assistant to search for the operation and to read its current description before it acts.

A shipment cancellation needs your approval, as described in Approve a write. After you approve, DeltaVelocity checks your permissions and the shipment status again. Then it cancels the shipment.

Before you approve, check the shipment IDs, the courier, the channel and every change to Shopify fulfillments in the preview. The operation makes only the courier changes and the channel changes that the preview shows. A cancellation can reverse the wallet charge or hold for the shipment. For channels other than Shopify, DeltaVelocity makes no channel changes.

For a Shopify order, these rules apply:

  • DeltaVelocity cancels only the Shopify fulfillments that the preview lists.
  • DeltaVelocity does not cancel the Shopify order or the other fulfillments of that order. Cancellation of the Shopify order itself is not available.
  • DeltaVelocity does not send a separate request to cancel a fulfillment order.
  • Shopify can change or create fulfillment orders for the cancelled items, so that the items can be fulfilled again. Shopify describes this behaviour at https://shopify.dev/docs/api/admin-graphql/2026-04/mutations/fulfillmentCancel.
  • If the fulfillments of the shipment change after the preview, you need a new preview and a new approval.

DeltaVelocity refuses a cancellation in these cases:

  • DeltaVelocity has no clear record of which Shopify fulfillments and quantities belong to the shipment. The record is missing or ambiguous. An older shipment that has no record is one such case. The error is confirmation_scope_unsupported.
  • The shipment status does not allow a cancellation, for example draft, out for pickup, in transit, out for delivery or delivered. The error is shipment_not_cancellable.

If DeltaVelocity cannot cancel a shipment, it takes no other action. It does not force the cancellation, start an RTO or rebook the shipment.

Result format for Python code

This section is for assistants and developers who write Python code for the execute_python tool. Your client shows this tool in its tool list when your connection can use it. The code runs on DeltaVelocity servers. The code can only read data. It cannot write data, open files or use the network. The rules below apply to the result that the code returns.

A business call is a successful call to an operation that returns the data of your brand. A docs.* read is not a business call. A search for operations or a description of an operation is not a business call.

The code must return one of these results:

  • Records exactly as a business call returned them.
  • Parts of those records. You can leave fields out. Do not rename a field or change a value.
  • Calculated values in the metrics and tables format below.

A calculated result is a JSON object with a metrics list, a tables list or both. The object must contain at least one metric or one table. Do not add other keys. A result can have up to 20 metrics.

Each metric has these fields:

  • name is a field of the cited source records or that field with one of these suffixes: _sum, _total, _count, _avg, _min, _max, _rate, _percent or _share. A suffix word alone is also a valid name. Put a category or a period in dimensions, not in the name.
  • value is a finite number.
  • sources lists the positions of the business calls that the value comes from. It has at least one position.
  • unit is optional. It is one of count, percent, ratio, INR, kg, grams, cm3, days, hours, minutes or seconds.
  • dimensions is optional. Its fields and values must all match one source record.

Each table has these fields:

  • source is the position of one business call.
  • rows holds records or parts of records from that call, with every field name and value exactly as returned.

With every result, DeltaVelocity returns a list named provenance. The list has one entry for each successful operation call, in call order. A docs.* read is an operation call. A search or a description is not. A position is the place of a call in this list. The first position is 0. DeltaVelocity builds the list. Your code cannot change it.

A docs.* read takes a position in the provenance list, but you cannot cite it as a source. Cite only business calls.

For example, one business call succeeded and it is at position 0. The code calculates a percentage from the data of that call and returns {"metrics":[{"name":"share","value":25,"sources":[0],"unit":"percent"}]}. The value 25 only shows the format. Calculate the value from the data that the call returned.

DeltaVelocity rejects free text conclusions and source values that no call returned. Return the result from the code. Do not print the result, because the stdout of the response is always empty.

DeltaVelocity checks the format of a result and its sources. DeltaVelocity does not check that the arithmetic is correct or that a metric means what its name says. Check the source data before you use a calculated value for a decision.