# How to connect Detrack to Claude

```json
{
  "title": "How to connect Detrack to Claude",
  "toolkit": "Detrack",
  "toolkit_slug": "detrack",
  "framework": "Claude Cowork",
  "framework_slug": "claude-cowork",
  "url": "https://composio.dev/toolkits/detrack/framework/claude-cowork",
  "markdown_url": "https://composio.dev/toolkits/detrack/framework/claude-cowork.md",
  "updated_at": "2026-11-06T09:08:06.476Z"
}
```

## Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.
This guide walks you through the easiest and most secure way to connect your Detrack account to Claude via Composio Connect, enabling it to list all deliveries scheduled for today, edit delivery details for a specific order, view all vehicles in your fleet, and more such actions on your behalf without compromising your account security.
Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/detrack).

## Also integrate Detrack with

- [Claude Code](https://composio.dev/toolkits/detrack/framework/claude-code)
- [OpenAI Agents SDK](https://composio.dev/toolkits/detrack/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/detrack/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/detrack/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/detrack/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/detrack/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/detrack/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/detrack/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/detrack/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/detrack/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/detrack/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/detrack/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/detrack/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/detrack/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/detrack/framework/autogen)

## Connect Detrack to Claude Cowork

### Connecting Detrack to Claude Web, Desktop, and Cowork
Two ways to add the Composio connector. Pick whichever you prefer.
### 1. Add with one click
Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.
[Add to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Composio&connectorUrl=https%3A%2F%2Fconnect.composio.dev%2Fmcp)
### Add manually
In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.
Click Add custom connector and paste in the Composio MCP server URL:

```bash
https://connect.composio.dev/mcp
```

## What is the Detrack MCP server, and what's possible with it?

The Detrack MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Detrack account. It provides structured and secure access to your delivery management system, so your agent can perform actions like tracking deliveries, managing jobs, editing or deleting jobs, and viewing vehicles on your behalf.
- Real-time delivery and collection management: Instantly create, edit, or delete delivery and collection jobs, letting your agent keep your schedules and records up to date.
- Comprehensive job search and filtering: Ask your agent to search for deliveries, collections, or vehicles with flexible criteria—by date, status, country, and more.
- Bulk actions for efficient operations: Direct your agent to delete all deliveries or collections for a specific date, making large-scale updates a breeze.
- Fleet visibility and vehicle management: Retrieve a complete list of all your vehicles, so your agent can help with asset tracking and resource planning.
- Detailed job listing and reporting: Let your agent fetch and summarize all jobs or collections, providing daily overviews and insights for your logistics workflow.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `DETRACK_ADD_COLLECTION` | Add Collection | Add a new collection job in Detrack. A collection is a pickup job where items are collected from a location. The Delivery Order (do) number must be unique per date. Include the country name in the address for better geocoding. |
| `DETRACK_CREATE_BULK_DEPOTS` | Bulk Create Depots | Tool to create multiple depot locations in one request. Use when you need to create several depots at once. Each depot requires at least a name and an address that can be geocoded. Include country name in addresses for accurate geocoding. |
| `DETRACK_CREATE_DEPOT` | Create Depot | Create a new depot in Detrack. A depot serves as a starting/ending point for delivery routes. Requires at least a name and an address that can be geocoded. The address should be complete and include the country name for accurate geocoding. |
| `DETRACK_DELETE_ALL_COLLECTIONS` | Delete All Collections | Tool to delete all collections in the account. Use when you need to purge every collection for a specific date after confirmation. |
| `DETRACK_DELETE_ALL_DELIVERIES` | Delete All Deliveries | Tool to delete all deliveries for a specific date. Use when you need to purge deliveries in bulk before scheduling new ones. |
| `DETRACK_DELETE_DELIVERY` | Delete Delivery | Tool to delete one or more deliveries by date and D.O. number. Use after confirming delivery entries to avoid accidental data loss (max 100 items per call). |
| `DETRACK_DELETE_DEPOTS_BULK` | Bulk Delete Depots | Tool to delete multiple depots in a single request. Use when you need to remove depots that are no longer needed. |
| `DETRACK_DELETE_JOB_BY_QUERY` | Delete Job by Query | Delete a delivery or collection job by its DO number, optionally narrowing the lookup by date and job type. The result reports when the job is not found; a successful result indicates that the deletion request succeeded, rather than independently confirming the deletion. |
| `DETRACK_EDIT_DELIVERY` | Edit Delivery | Edit one or more existing deliveries by date and D.O. number. Use this tool to update delivery details such as address, recipient, phone, instructions, or vehicle assignment. The delivery must already exist in Detrack (identified by date + D.O. number combination). Limitations: - Maximum 100 deliveries per request - Date and D.O. must match an existing delivery |
| `DETRACK_GET_JOB_BY_DO_AND_DATE` | Get Job by DO and Date | Tool to retrieve a specific job by its DO (Delivery Order) number and date. Use when you need to fetch detailed information about a specific delivery or collection job. Returns comprehensive job details including status, tracking, items, and proof of delivery information. |
| `DETRACK_GET_JOB_BY_QUERY` | Get Job By Query | Tool to retrieve a single job by DO number using query parameters. Use when you need to fetch detailed information about a specific delivery or collection job. |
| `DETRACK_LIST_DEPOTS` | List Depots | Tool to list all depot locations with pagination. Use when you need to retrieve depot information including addresses and coordinates. Supports pagination to handle large numbers of depots. |
| `DETRACK_LIST_JOBS_V2` | List Jobs V2 | Tool to list jobs with pagination and filtering using Detrack API v2. Use when you need to retrieve jobs with filters by date, type, assign_to, status, DO number, or search query. Supports sorting and pagination for efficient data retrieval. |
| `DETRACK_SEARCH` | Search | Search for delivery or collection jobs using supplied criteria, with pagination and ordering options. |
| `DETRACK_SEARCH_JOBS` | Search Jobs | Search jobs using the Detrack v2 search API with a date range, general query, status, job type, or assigned driver. Results are paginated. |
| `DETRACK_UPDATE_DEPOTS_BULK` | Update Depots Bulk | Update multiple depot locations in a single request. Each depot requires a name; updates can include an ID, address, contact information, or coordinates. |
| `DETRACK_VIEW_ALL_COLLECTIONS` | View All Collections | View all collection jobs scheduled for a specific date in Detrack. Returns collection details including delivery order number, pickup address, status, tracking link, and items. Use this to retrieve all collections for a particular day by providing a date in YYYY-MM-DD format. |
| `DETRACK_VIEW_ALL_DELIVERIES` | View All Deliveries | Tool to view all deliveries for a specific date. Use when you need to retrieve all delivery jobs on a given date. |
| `DETRACK_VIEW_ALL_VEHICLES` | View All Vehicles | Retrieve vehicles registered in your Detrack account, including available location, speed, connection status, and vehicle details, to get an overview of your fleet. This uses Detrack's legacy V1 API, which is no longer actively maintained and is slated for future deprecation; Detrack recommends V2. |

## Supported Triggers

None listed.

## Troubleshooting

### 1. Why does Claude not use the Composio connector for Detrack?

The connector can show as connected, but Claude must use it in each Detrack conversation.
- Click + at the lower left of the chat, or type /.
- Hover Connectors.
- Turn on Composio.
- Ask Claude to connect to Detrack again.

### 2. Why does Claude show an MCP server error before Detrack connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Detrack.
- Check that the connector URL is https://connect.composio.dev/mcp.
- Connectors run from Anthropic's cloud, so your device network is usually not the problem.
- Add the connector again from Customize > Connectors, then ask Claude to connect Detrack.
- If it fails again, send the error and the ofid_ reference id to support@composio.dev.

### 3. Why does the Detrack authorization link not work?

The Composio connector is one server. Your Detrack account connects separately when Claude asks for it.
- If the browser does not open, or the link expires, ask Claude to retry the Detrack connection.
- Composio creates a fresh Detrack authorization link.
- Open that link in your browser and finish the Detrack sign-in.

### 4. Why do Detrack actions fail after they worked before?

The Detrack connection can expire or lose permission.
- Ask Claude to inspect the Detrack connection.
- If the connection is unhealthy, disconnect it when Claude prompts you.
- Reconnect the Detrack account and retry the action.
- If Claude shows a permission prompt, approve it before Claude changes data in Detrack.
- If the action still fails with a permission error, check that the connected account has that permission in Detrack itself.

### 5. How do I switch to a different Detrack account?

Claude can manage the Detrack connection for you.
- Ask Claude to disconnect or delete the current Detrack account.
- Ask Claude to connect Detrack again.
- Open the new Composio authorization link for Detrack.
- Sign in with the other Detrack account in the browser.
- After the account connects, ask Claude to retry the Detrack task.

### 6. Why is my Detrack connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Detrack connection works in Claude Web, Desktop, and Cowork.
- In Claude Desktop, open Customize > Connectors.
- Next to Composio, click ⋮ and click Clear cache.
- If Detrack tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
- On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Detrack.

## Creating MCP Server - Stand-alone vs Composio SDK

The Detrack MCP server connects Claude Web, Desktop, and Cowork to your Detrack account through Composio. Once connected, Claude can use the available Detrack tools and triggers to complete tasks on your behalf.

## Complete Code

None listed.

## How to build Detrack MCP Agent with another framework

- [Claude Code](https://composio.dev/toolkits/detrack/framework/claude-code)
- [OpenAI Agents SDK](https://composio.dev/toolkits/detrack/framework/open-ai-agents-sdk)
- [Claude Agent SDK](https://composio.dev/toolkits/detrack/framework/claude-agents-sdk)
- [Codex](https://composio.dev/toolkits/detrack/framework/codex)
- [OpenClaw](https://composio.dev/toolkits/detrack/framework/openclaw)
- [Hermes](https://composio.dev/toolkits/detrack/framework/hermes-agent)
- [Atomic Agent](https://composio.dev/toolkits/detrack/framework/atomic-agent)
- [Google ADK](https://composio.dev/toolkits/detrack/framework/google-adk)
- [LangChain](https://composio.dev/toolkits/detrack/framework/langchain)
- [Vercel AI SDK](https://composio.dev/toolkits/detrack/framework/ai-sdk)
- [Mastra AI](https://composio.dev/toolkits/detrack/framework/mastra-ai)
- [LlamaIndex](https://composio.dev/toolkits/detrack/framework/llama-index)
- [CrewAI](https://composio.dev/toolkits/detrack/framework/crew-ai)
- [Pydantic AI](https://composio.dev/toolkits/detrack/framework/pydantic-ai)
- [AutoGen](https://composio.dev/toolkits/detrack/framework/autogen)

## Related Toolkits

- [0CodeKit](https://composio.dev/toolkits/0codekit) - 0CodeKit is a utility API platform for AI, document, image, and data workflows. Use it to convert, validate, generate, store, and automate data without custom backend code.
- [Airtop](https://composio.dev/toolkits/airtop) - Airtop is a cloud browser platform for AI-powered web automation. Use it to navigate sites, extract data, and run reusable browser workflows.
- [Apify MCP](https://composio.dev/toolkits/apify_mcp) - Apify MCP is the official MCP server for Apify's web scraping and browser automation platform. Use it to run actors, collect structured web data, and automate crawling workflows.
- [Apilio](https://composio.dev/toolkits/apilio) - Apilio is a home automation platform that lets you connect and control smart devices from different brands. It helps you build flexible automations with complex conditions, schedules, and integrations.
- [Basin](https://composio.dev/toolkits/basin) - Basin is a no-code form backend for quickly setting up reliable contact forms. It lets you collect and manage form submissions without writing any server-side code.
- [Bika.ai](https://composio.dev/toolkits/bika) - Bika.ai is an AI automation database platform for managing spaces, teams, records, automations, and outgoing webhooks. It helps teams organize structured data and automate database-driven workflows in one place.
- [Botster](https://composio.dev/toolkits/botster) - Botster is a web automation service for running configurable data collection bots. Use it to collect structured web data without building and maintaining scrapers yourself.
- [Bouncer](https://composio.dev/toolkits/bouncer) - Bouncer is an email validation platform that verifies the authenticity of email addresses in real-time and batch. It helps boost deliverability and reduce bounce rates for your communications.
- [BrowserAct](https://composio.dev/toolkits/browseract) - BrowserAct is a hosted browser-automation service for running web workflows. Use it to execute repeatable browser tasks with templates, proxies, and APIs.
- [Celigo](https://composio.dev/toolkits/celigo) - Celigo is an integration platform as a service for connecting apps, data, and business workflows. It helps teams automate cross-system processes without building every integration from scratch.
- [CheckFlow](https://composio.dev/toolkits/checkflow) - CheckFlow is a workflow and checklist platform for repeatable processes, tasks, templates, teams, data sets, and automation. Use it to standardize operations, track process execution, and keep teams aligned.
- [Conveyor](https://composio.dev/toolkits/conveyor) - Conveyor is a platform that automates security reviews with a Trust Center and AI-driven questionnaire automation. It streamlines compliance and vendor security processes for faster, hassle-free reviews.
- [CrewAI](https://composio.dev/toolkits/crew_ai) - CrewAI is a platform for running deployed automations and managing AMP control-plane resources. Use it to automate workflows and centrally control SaaS automation resources.
- [Cronfree Time Scheduler](https://composio.dev/toolkits/cronfree_time_scheduler) - Cronfree Time Scheduler is an API-based scheduler for recurring webhook calls. Use it to create and remove timezone-aware schedules without running cron.
- [Crowdin](https://composio.dev/toolkits/crowdin) - Crowdin is a localization management platform that streamlines translation workflows and collaboration. It helps teams centralize multilingual content, boost productivity, and automate translation processes.
- [Databox](https://composio.dev/toolkits/databox) - Databox is a business analytics platform that connects your data from any tool and device. It helps you track KPIs, build dashboards, and discover actionable insights.
- [Dify](https://composio.dev/toolkits/dify) - Dify is a platform for running and managing published workflow apps via a Service API. Use it to execute workflows and inspect configuration and run history quickly.
- [Digital Humani](https://composio.dev/toolkits/digital_humani) - Digital Humani is a reforestation API for browsing planting projects, submitting tree requests, and tracking planted trees. It helps teams connect climate action directly to products, campaigns, and customer experiences.
- [Dnsfilter](https://composio.dev/toolkits/dnsfilter) - Dnsfilter is a cloud-based DNS security and content filtering solution. It helps organizations block online threats and manage safe internet access with ease.
- [EnforcedFlow](https://composio.dev/toolkits/enforcedflow) - EnforcedFlow is a work routing platform for advanced round-robin groups, agent criteria, availability, and email assignments. It helps teams distribute work fairly and quickly using configurable assignment rules.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Detrack MCP?

With a standalone Detrack MCP server, the agents and LLMs can only access a fixed set of Detrack tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Detrack and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Claude Cowork?

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Detrack tools.

### Can I manage the permissions and scopes for Detrack while using Tool Router?

Yes, absolutely. You can configure which Detrack scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Detrack data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
