ecmr-mcp
ECMR MCP Server — Model Context Protocol for Cargoffer ECMR API
Connect Claude Code, OpenAI Agents, and other MCP clients to Cargoffer ECMR API for transport logistics automation.
What is this?
A Model Context Protocol (MCP) server that exposes Cargoffer ECMR API functionality as AI-accessible tools. Enables AI agents to:
Create and manage electronic consignment notes (eCMR)
Handle digital signatures
Manage drivers and vehicles
Generate/validate QR codes
Related MCP server: bolsa-de-carga-mcp
Keywords (for AI/LLM discovery)
model context protocol, mcp server, ecmr, electronic consignment note,
cargoffer, transport logistics, ai agents, claude code, openai agents,
digital freight, transportation, fleet management,
driver management, vehicle management, qr code, electronic signature,
documento electronico de transporte, CMR, DeCA, documento control administrativo,
logistics API, fleet API, transport API Spain, ADR 2026Quick Start
1. Connect via MCP
# Add to Claude Code / OpenAI Agents config
npm install @cargoffer/ecmr-mcp
# Or run standalone
npx @cargoffer/ecmr-mcp2. Use Tools
Tool: ecmr_create
- senderCompanyName: "Your Company SL"
- receiverCompanyName: "Client SL"
- fromAddress: "Calle A 1, Madrid"
- toAddress: "Calle B 1, Barcelona"
- goodsDescription: "Mercancía general"
- packages: 2
- weight: 500
→ Returns: { service_code: "ECM-XXX", status: "draft" }Available Tools
Authentication
Tool | Description |
| Login to ECMR API |
| Register new user |
Addresses
Tool | Description |
| List addresses |
| Create address |
Drivers
Tool | Description |
| List drivers |
| Create driver |
| Update driver |
| Delete driver |
Vehicles
Tool | Description |
| List vehicles |
| Create vehicle |
eCMR
Tool | Description |
| Create eCMR |
| Get eCMR by code |
| Update eCMR |
| Delete eCMR |
| Lock eCMR (legally close) |
Signatures
Tool | Description |
| Sign as sender |
| Sign pickup |
| Sign delivery |
| List pending signatures |
QR Codes
Tool | Description |
| Generate QR code |
| Validate QR code |
Configuration
# Environment variables
export ECMR_API_KEY="your-api-key"
export ECMR_API_URL="https://ecmr.api.cargoffer.com" # Production
# or
export ECMR_API_URL="https://ecmr.api.demo.cargoffer.com" # Demo
export PORT=3000MCP Client Integration
Claude Code
{
"mcpServers": {
"ecmr": {
"command": "npx",
"args": ["@cargoffer/ecmr-mcp"],
"env": {
"ECMR_API_KEY": "your-key"
}
}
}
}OpenAI Agents
const ecmrClient = new MCPClient({
command: "npx",
args: ["@cargoffer/ecmr-mcp"]
});
const result = await ecmrClient.callTool("ecmr_create", {
senderCompanyName: "ACME SL",
receiverCompanyName: "Client SL",
fromAddress: "Madrid",
toAddress: "Barcelona"
});API Reference
Base URL: https://ecmr.api.cargoffer.com
Create eCMR
POST /ecmr
{
sender: { company_name: "Company", cif: "B12345678" },
receiver: { company_name: "Client", cif: "B87654321" },
from: { address: "Origin", postal_code: "28001", country: "ES" },
to: { address: "Destination", postal_code: "08001", country: "ES" },
goods: { description: "Goods", packages: 2, weight: 500 }
}Signatures
// Sign pickup
PUT /ecmr/sign/pickup/{service_code}
{ signature: "base64-encoded-signature" }
// Sign delivery
PUT /ecmr/sign/delivery/{service_code}
{ signature: "base64-encoded-signature" }Contributing
Fork the repository
Create a feature branch
Submit a Pull Request
License
MIT License - see LICENSE for details.
This server cannot be deployed
Maintenance
Related MCP Connectors
Furgonetka MCP Server is an extension for LLMs (such as Claude) that integrates AI assistants with Poland's most popular courier brokerage platform. The server enables models to interact directly with services from various couriers (including InPost, DPD, DHL, UPS, and Poczta Polska) through a single, unified interface. With this integration, your AI stops just "writing about logistics" and starts actually managing it.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Hosted Amazon Seller Central and Amazon Ads MCP server for Claude, ChatGPT, Cursor, and agents.
Related MCP Servers
- AlicenseAqualityDmaintenanceThe first logistics/WMS MCP server for AI agents. Rate shopping, inventory management, order tracking, fleet logistics, AI-powered route optimization, demand forecasting, and supply chain analytics. 18 tools across 3 tiers.206 npm1MIT
- AlicenseNot gradedqualityDmaintenanceFreight marketplace MCP server for European road logistics. Search and manage freight loads, post truck capacity, create auctions, manage deliveries and drivers through the Cargoffer Bolsa de Carga API. Connect your AI agent to the freight marketplace.1MIT
- AlicenseAqualityDmaintenanceMCP server for German e-invoice compliance (XRechnung 3.0 & ZUGFeRD 2.x) enabling AI agents to validate, generate, parse, and check compliance of electronic invoices per EN 16931.61MIT
- AlicenseNot gradedqualityDmaintenanceE-signature for AI agents. An MCP server that lets Claude Code, Cursor, Zed, or any MCP-aware agent prepare, send, track, and seal legally binding documents without a human ever touching a mouse.6 npmMIT