machship-mcp
The Machship MCP Server integrates AI assistants with the Machship freight management platform, providing ~65 tools to manage the full freight lifecycle — from quoting and booking to tracking and manifesting.
Authentication: Verify login status and retrieve current user/company session info.
Consignment Management: Create (standard, complex, or existing items), edit, delete, clone, and retrieve consignments by ID, reference, carrier ID, or pending ID; list by status (unmanifested, active, completed, recent); update tracking statuses, despatch dates, and ETAs; search by reference numbers.
Quotes & Routing: Create quotes (standard and complex items), list and retrieve quotes, get available freight routes.
Labels & Documents: Download consignment/item/manifest label PDFs, batch ZIP item labels, dangerous goods declarations, commercial invoice PDFs, MO41 documents, and special instructions; send labels to printer; get PDF metadata.
Manifests: List manifests, group unmanifested consignments (preview), create manifests/book with carriers, rebook pickups.
Carrier Invoices: List invoices and line entries, reprice consignment items, attempt auto-reconciliation.
Financial Invoices: List posted invoices by date range, retrieve by document number, download invoice PDFs.
Attachments: Upload/download attachments, get POD reports, batch download as ZIP.
Companies & Locations: List companies, carriers, accounts, and services; manage company locations (warehouses, depots, stores) and permanent scheduled pickups; search locations by suburb/postcode.
Company Items (Products/SKUs): Get, list, create, edit, and delete standard and complex items; look up by SKU (single or batch).
Consolidation: Group consignments, perform consolidation, or group-and-consolidate in one step.
Custom Schemas: CRUD operations for custom fields extending Machship entities.
Identity & Access Management: Create, update, delete, disable/re-enable identities; link/unlink to companies with role assignments; manage identity providers and public keys.
Notes: Retrieve notes attached to consignments.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@machship-mcpCreate a consignment for a 5kg box from Auckland to Wellington"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Machship MCP Server
A Model Context Protocol server that integrates AI assistants with the Machship freight management platform. Built on a production-ready TypeScript foundation, it provides comprehensive access to Machship for consignment management, quoting, labelling, manifesting, and more — through any MCP-compatible AI client.
Built by Devkind — cutting-edge software development serving businesses globally.
Features
Full Machship API Coverage: ~65 tools across 21 modules — consignments, quotes, labels, manifests, carriers, locations, and more
Dual Transport Support: STDIO and HTTP transports for AI assistant and web integration
Type Safety: Full TypeScript implementation with Zod schema validation
npx Ready: Zero-install usage via
npx machship-mcpDocker Support: Production Docker image on Docker Hub
Any MCP Client: Works with Claude Desktop, Cursor, VS Code, Windsurf, and more
Related MCP server: Merge MCP Server
Available Tools
Module | Tools |
Authenticate | ping |
Attachments | get, POD report, batch download, upload |
CarrierInvoices | list, entries, reprice, auto-reconcile |
CommercialInvoices | upload |
Companies | list, carriers/accounts/services |
CompanyItems | get, list, by-sku, complex variants, create, delete |
CompanyLocations | get, list, create, edit, permanent pickups |
Consignments | get, batch, by-reference, create, edit, delete, search, statuses |
Consolidation | group, perform, group+perform |
CustomSchemas | get all, get by id, create, update, delete |
FinancialInvoice | list posted, get by document number |
Labels | consignment PDF, item PDF, manifest PDF, batch zip, print, dangerous goods |
Locations | search, exact match, with options |
Manifests | list, group, manifest/book, rebook pickup |
Notes | get consignment notes |
OrganisationLinks | get links, add, remove, public key management |
PendingConsignments | create, get, batch, by-reference, recent, delete |
Quotes | create, create with complex items, list, get |
Routes | get routes, batch routes, complex items routes |
Total: ~65 tools
Quick Start (No Install Required)
No cloning, no global installs — just Node.js 18+ and a Machship API token.
Step 1 — Get your Machship API token
Log into your Machship account
Go to Settings → API
Generate a Bearer token — this is your
MACHSHIP_API_TOKEN
Step 2 — Add to your MCP client (pick one below)
Step 3 — Restart your client and start chatting
To verify it works, ask: "Ping the Machship API" — you should get a successful response.
Client Setup
Claude Desktop
Edit ~/.claude/claude_desktop_config.json (create it if it doesn't exist):
{
"mcpServers": {
"machship": {
"command": "npx",
"args": ["-y", "machship-mcp"],
"env": {
"MACHSHIP_API_TOKEN": "your-token-here"
}
}
}
}Restart Claude Desktop — the Machship tools will appear automatically.
Claude Code (CLI)
Run once to add to your project MCP config:
claude mcp add machship -- npx -y machship-mcpThen set the token in your environment or .env:
export MACHSHIP_API_TOKEN=your-token-hereOr add it directly to .mcp.json after running the command above:
{
"mcpServers": {
"machship": {
"command": "npx",
"args": ["-y", "machship-mcp"],
"env": {
"MACHSHIP_API_TOKEN": "your-token-here"
}
}
}
}One-click install:
Manual setup:
Go to Cursor Settings → MCP → Add new MCP Server:
Name: Machship MCP
Type: command
Command:
npx -y machship-mcpEnvironment variable:
MACHSHIP_API_TOKEN=your-token-here
Install via the VS Code CLI (one command):
code --add-mcp '{"name":"machship","command":"npx","args":["-y","machship-mcp"],"env":{"MACHSHIP_API_TOKEN":"your-token-here"}}'Or follow the MCP setup guide and use this config:
{
"mcpServers": {
"machship": {
"command": "npx",
"args": ["-y", "machship-mcp"],
"env": {
"MACHSHIP_API_TOKEN": "your-token-here"
}
}
}
}Follow the Windsurf MCP documentation and add to your MCP configuration file:
{
"mcpServers": {
"machship": {
"command": "npx",
"args": ["-y", "machship-mcp"],
"env": {
"MACHSHIP_API_TOKEN": "your-token-here"
}
}
}
}Go to Advanced settings → Extensions → Add custom extension:
Name: Machship MCP
Type: STDIO
Command:
npx -y machship-mcpEnvironment variable:
MACHSHIP_API_TOKEN=your-token-here
Go to Program in the right sidebar → Install → Edit mcp.json and add:
{
"mcpServers": {
"machship": {
"command": "npx",
"args": ["-y", "machship-mcp"],
"env": {
"MACHSHIP_API_TOKEN": "your-token-here"
}
}
}
}Go to Settings → AI → Manage MCP Servers → + Add, or use the slash command /add-mcp in the Warp prompt:
{
"mcpServers": {
"machship": {
"command": "npx",
"args": ["-y", "machship-mcp"],
"env": {
"MACHSHIP_API_TOKEN": "your-token-here"
}
}
}
}Run directly (test / CLI use)
# STDIO mode — pipe JSON-RPC directly
MACHSHIP_API_TOKEN=your-token npx -y machship-mcp
# HTTP mode — exposes a local MCP endpoint
MACHSHIP_API_TOKEN=your-token TRANSPORT=http npx -y machship-mcp
# MCP endpoint: http://localhost:3000/mcp
# Health check: http://localhost:3000/healthEnvironment Variables
Variable | Required | Default | Description |
| Yes | — | Machship Bearer token |
| No |
| Override API base URL |
| No |
|
|
| No |
| HTTP port (when |
Example Interactions
Once connected, ask your AI assistant:
"Search for freight routes from Melbourne 3000 to Sydney 2000 for a 10kg parcel"
"Create a consignment for company 123 shipping to Brisbane"
"Get all unmanifested consignments for company 456"
"What carriers and services are available for company 789?"
"Get the label PDF for consignment 12345"
"Show me completed consignments from last week"
"Create a quote with complex items for express delivery"Transport Modes
Mode | When to use |
| AI desktop clients (Claude Desktop, Cursor, VS Code, etc.) — JSON-RPC over stdin/stdout |
| Web integrations, remote servers, or anything that needs an HTTP MCP endpoint |
Set the mode via the TRANSPORT environment variable (see Environment Variables below).
Docker
Pull and run from Docker Hub — no Node.js required:
docker run -e MACHSHIP_API_TOKEN=your-token \
-e TRANSPORT=http \
-p 3000:3000 \
devkind/machship-mcp:latestFor stdio mode in MCP clients:
{
"mcpServers": {
"machship": {
"command": "docker",
"args": ["run", "--rm", "-i",
"-e", "MACHSHIP_API_TOKEN=your-token-here",
"devkind/machship-mcp:latest"]
}
}
}Development
Quick Start
# Clone and install
git clone https://github.com/devkindhq/machship-mcp.git
cd machship-mcp
yarn install
# Build
yarn build
# Run in STDIO mode
MACHSHIP_API_TOKEN=your-token yarn start
# Run in HTTP mode
MACHSHIP_API_TOKEN=your-token TRANSPORT=http yarn start
# Development with watch mode
MACHSHIP_API_TOKEN=your-token yarn devScripts
yarn build # Compile TypeScript to dist/
yarn dev # Watch mode with tsx
yarn start # Run compiled server
yarn clean # Remove dist/
# Docker
yarn docker:build # Build image as devkind/machship-mcp:latest
yarn docker:build:version # Tag with package version + latest
yarn docker:run # Run locally in HTTP mode on port 3000
yarn docker:push # Push latest to Docker Hub
yarn docker:push:version # Push version tag + latest to Docker Hub
yarn docker:release # Full pipeline: build + tag + pushPublishing to npm
# Login to npm
npm login
# Publish
npm publishPublishing to Docker Hub
# Login to Docker Hub
docker login
# Build, tag, and push
yarn docker:releaseLicense
Resources
Devkind — the team behind this server
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- 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/devkindhq/machship-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server