FourKites MCP Server
for AI Agents
Connect your AI agent to StackOne's FourKites MCP server and give it 43 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
43 Agent Actions
Agents can read, write and delete in FourKites. Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your FourKites MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every FourKites tool response scanned for prompt injection in about 2.5 ms, with 0.94 F1 on tool-response attacks, all running on a CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every FourKites call.
Tools Discovery →What is the FourKites MCP Server?
A FourKites MCP server lets AI agents read and write FourKites data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's FourKites MCP server ships with 43 pre-built actions, fully extensible via the Connector Builder, plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All FourKites MCP Tools
Every StackOne action for FourKites, ready for your agent. Read, write and delete, scoped to exactly what you need.
Shipments
- Create Shipment
Create a shipment (load) in FourKites for any mode: truckload, LTL, parcel, rail/intermodal, ocean or air.
- Get Shipments
List shipments with filters for customer, dates, stops, status and order number.
- Update Shipment
Update an existing shipment (load) by its FourKites ID.
- Delete Shipment
Delete one or more shipments by their FourKites tracking IDs.
Other (39)
- Create User Message
Post a message on a shipment by its FourKites tracking ID, optionally sending it to the driver.
- Create User Message By Load Number
Post a message on a shipment identified by its load number.
- Create Shipment Async
Create or upsert shipments asynchronously through the Async Standard API.
- Get Slots
List available Appointment Manager dock slots for a load on a date.
- Get Callbacks Count
Count webhook callbacks sent to your endpoints over a time range.
- Get Asset List
List the carrier assets (trucks and trailers) known to FourKites.
- Get Delivery
Get a delivery by its delivery identifier.
- Get Delivery E-URL
Get a shareable FourKites tracking URL for a delivery.
- Get Document
Get documents (such as proof of delivery) attached to a shipment.
- Get Tracking Quality And Analytics
Get tracking quality and consistency analytics from the Insights API.
- Get API Metrics
Get API usage metrics for your company over a date range.
- Get Orders
Get an order by an identifier key and value, such as orderNumber.
- Get Order Existence
Check whether an order exists in FourKites.
- Get Order Tracking URL
Get a shareable FourKites tracking URL for an order.
- Get Shipment Details
Get full details of one shipment by its FourKites shipment ID.
- Get Shipment Locations
List location pings recorded for a shipment.
- Get Shipment Milestones
List milestone events recorded for a shipment.
- Get Shipment E-URL
Get a shareable FourKites tracking URL for a shipment.
- Get Stop E-URL
Get a shareable FourKites tracking URL for a single stop of a shipment.
- Sync Delivery API
Create or update deliveries linked to orders.
- Reserve Slots
Temporarily reserve an Appointment Manager slot before booking.
- Reschedule Appointments
Schedule or reschedule a load's dock appointment.
- Check In Or Out
Record a check-in or check-out time for a load's appointment.
- Unblock Reserve Slots
Release a slot reservation so it becomes available again.
- Dispatcher Update Asynchronous
Send carrier updates for loads in batches: assignments, ETAs, events, locations, stop details and temperature.
- Async Delivery API
Create or update deliveries asynchronously through the async order endpoint.
- Delivery Exist
Check whether a delivery exists in FourKites.
- Demand Forecast Inventory
Send demand forecast data for Inventory Visibility.
- Supply Forecast Inventory
Send supply forecast data for Inventory Visibility.
- WMS Current Inventory
Send current on-hand inventory from a warehouse management system.
- Async Order Create
Create or upsert a purchase order asynchronously in Order Lifecycle Visibility.
- Order Update API
Update status and dates of an existing order asynchronously.
- Easy Load Create LTL Parcel
Create LTL or parcel loads asynchronously with a minimal payload of tracking identifiers.
- Async Load Create Rail
Create rail or intermodal loads asynchronously from equipment and waybill data.
- Easy Load Create Ocean
Create ocean loads from booking, bill of lading or container references.
- Easy Load Create Air
Create air loads from airway bill references.
- Ocean Update Shipment
Update an ocean load by its FourKites ID on the tracking API host.
- Mark Shipment Hot
Mark one or more shipments as Hot (high priority).
- Mark Shipment Delivered
Mark one or more shipments as delivered so FourKites stops tracking them.
Set Up Your FourKites MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to FourKites in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Platform Resources
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, the security risks they share, and when to use one, both or a hybrid.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
FAQ
FourKites MCP Server FAQ
origin_owner_id.