TL;DR – get started in 5 minutes
1
Pick your MCP client
Follow the setup guide for your tool:
- Claude (claude.ai, Claude Desktop)
- Claude Code
- ChatGPT
- Cursor
- Microsoft Copilot (Copilot Studio)
- VS Code (GitHub Copilot)
- Agent plugins (Claude Code, Cursor, Codex, GitHub Copilot CLI)
- Other MCP clients
2
Add the connector URL
Point the client at
https://mcp.terminal49.com. No API key needed.3
Sign in to Terminal49
The server supports OAuth 2.1: your client opens a browser window, you sign in with your Terminal49 credentials and approve access. That’s it.
4
Ask a question
“Using the Terminal49 MCP server, search for container CAIU1234567 and summarize its status.”
5
Explore tools
“List the tools available in the Terminal49 MCP server and what they’re for.”
Need test container numbers? See Test Numbers for containers you can use during development.
Transports
Authentication:
- OAuth 2.1 (recommended) – no API key needed. Add the connector URL, sign in with your Terminal49 credentials in the browser window your client opens, and approve access. Clients discover the authorization server (
https://auth.terminal49.com) automatically and use authorization code with PKCE and Dynamic Client Registration. - API key (for clients without OAuth support) – create a key in the developer portal and pass
Authorization: Token YOUR_API_KEY. Use theTokenscheme for API keys; theBearerscheme is used for OAuth access tokens, which OAuth clients obtain automatically. - The local stdio server reads the
T49_API_TOKENenvironment variable instead.
Setup guides
Claude
claude.ai and Claude Desktop connectors
Claude Code
One
claude mcp add command from your terminalChatGPT
Custom connector with Developer mode
Cursor
mcp.json or Cursor Settings → MCPMicrosoft Copilot
Copilot Studio agent tools
VS Code
GitHub Copilot agent mode
Agent plugins
Terminal49 plugin for Claude Code, Cursor, Codex, and Copilot CLI
Other MCP clients
Generic OAuth or API-key configuration
Any MCP client
Use the same hosted Streamable HTTP endpoint in any MCP-compatible client. With an OAuth-capable client, no credentials are needed — just the URL:Monitoring
Self-hosted deployments can enable Sentry MCP Monitoring by settingSENTRY_DSN. This captures MCP tool calls, resource reads, prompt usage, performance spans, and errors in Sentry.
Tools reference
Every tool is read-only except
track_container, which creates a tracking request. If a container for the number is already in your account, track_container returns it instead of creating a new request; otherwise it creates a tracking request, so repeated calls before a container links can create additional requests.search_container
Find containers by container number, BL, booking, or your own reference. This is the fastest way to locate containers.
Parameters
query(string, required) – container number, BL, booking, or reference
Example MCP request
Example MCP request
Example response
Example response
- “Find this container and tell me where it is”
- “Show all containers with reference PO-12345”
track_container
Start tracking a new container. Creates a tracking request and returns container details.
Parameters
number(string, required) – container number, BL, or booking numbernumberType(string, optional) – override inference (container,bill_of_lading,booking_number)scac(string, optional) – shipping line code, e.g.,MAEUfor MaerskrefNumbers(string[], optional) – your reference numbers
Example MCP request
Example MCP request
- “Track container CAIU1234567 with Maersk”
- “Start tracking this new shipment”
get_container
Get detailed container information with flexible data loading. Choose what to include based on your question.
Parameters
id(uuid, required) – Terminal49 container UUIDinclude(string[], optional) – what to load:shipment– routing, BOL, line, ref numbers (lightweight)pod_terminal– terminal name, location (lightweight)transport_events– full event history (heavy, 50-100 events)
Example MCP request
Example MCP request
Example response (mapped)
Example response (mapped)
- “What’s the status of this container?”
- “Is it available for pickup? Any holds?”
- “When does demurrage start?”
get_container_transport_events
Get the full event timeline for a container’s journey.
Parameters
id(uuid, required) – Terminal49 container UUID
Example response
Example response
- “Show me the journey timeline”
- “What happened to this container?”
- “How long was the rail portion?”
get_shipment_details
Get shipment-level information including routing, BOL, and all containers.
Parameters
id(uuid, required) – Terminal49 shipment UUIDinclude_containers(boolean, optional) – include container list (default: true)
- “Tell me about this shipment”
- “What containers are on this BL?”
- “Show me the routing”
get_supported_shipping_lines
List carriers supported by Terminal49 with their SCAC codes.
Parameters
search(string, optional) – filter by name or SCAC
- “What carriers do you support?”
- “What’s the SCAC code for CMA CGM?”
get_container_route
Get detailed multi-leg routing with vessel itinerary.
Parameters
id(uuid, required) – Terminal49 container UUID
- “What’s the routing for this container?”
- “Which transshipment ports?”
- “What vessel is it on?”
list_shipments
List shipments with optional filters and pagination.
Parameters
status,port,carrier,updated_after(string, optional)include_containers(boolean, optional)page,page_size(number, optional)
- “List recent shipments”
- “Show in-transit shipments for MAEU”
list_containers
List containers with optional filters and pagination.
Parameters
status,port,carrier,updated_after(string, optional)include(string, optional) – comma-separated include listpage,page_size(number, optional)
- “List containers updated in the last 24h”
- “Show containers at a specific POD port”
list_tracking_requests
List tracking requests with optional filters and pagination.
Parameters
filters(object, optional) – raw query filterspage,page_size(number, optional)
- “Show failed tracking requests”
- “List latest tracking activity”
Prompts reference
Prompts are pre-built workflows that guide the AI through multi-step analysis.track-shipment
Quick container tracking with optional carrier specification.
Arguments
container_number(string, required) – e.g.,CAIU1234567carrier(string, optional) – SCAC code, e.g.,MAEU
“Using Terminal49, track container CAIU1234567 and show me its current status, location, and ETA.”
check-demurrage
Analyze demurrage/detention risk for a container.
Arguments
container_id(uuid, required) – fromsearch_containerorget_container
“Using Terminal49, check demurrage risk for container CAIU1234567 and explain which fees apply and when.”
analyze-delays
Identify delays and root causes in a container’s journey.
Arguments
container_id(uuid, required) – Container UUID
“Using Terminal49, analyze delays for container CAIU1234567 and tell me what caused them.”
Resources reference
Resources provide static or dynamic data that AI clients can read.Example resources/read request
Example resources/read request
Not yet supported
These Terminal49 API capabilities are available via the SDK but not yet exposed as MCP tools:Shipment/container list operations are available via MCP. Update/stop/resume tracking operations still require REST API or direct SDK usage.
Related guides
- MCP Server Quickstart – Full setup, local dev, deployment
- Rate Limiting – Same limits apply to MCP
- Test Numbers – Containers for testing
- Webhooks – Real-time updates (use with MCP for best results)