onX MCP Server
This fulfillmenttools MCP Server provides a standardized interface for interacting with fulfillmenttools. Built on the Model Context Protocol (MCP) and implementing the Order Network eXchange (onX) Protocol, it enables system-to-system communication, letting AI agents, orchestration layers, and external platforms manage orders in natural language without relying on proprietary APIs.
Designed for agentic commerce applications, the onX MCP Server exposes tools AI agents can invoke to query inventory, for example, on user instruction or as part of automated workflows.
Example interactions:
What's the current stock level for SKU-12345?
Show me all products in the electronics category
List available variants for product PRD-001
Check inventory availability across all facilities
The onX MCP Server acts as a protocol adapter. It doesn't implement business logic, infer missing data, or modify requests or responses. It transparently passes them between the AI agent and the fulfillmenttools backend.
Using the onX MCP Server with an agent
The onX MCP Server allows any compatible agent (for example, Claude Desktop or Claude Code) to securely access and interact with onX functionality in a standardized way.
To use this feature, you first need to make the onX MCP Server known to the agent you plan to work with.
The following example describes the general setup using the onX MCP server, as demonstrated with a Claude agent. The same steps apply to other agents that support MCP integration.
Agent connection
Start by configuring your agent to recognize the onX MCP Server endpoint.
This typically involves adding the onX MCP server URL and name (for example, ocff-myproject.mcp.api.fulfillmenttools.com/onx, replace myproject with your fulfillmenttools projectId) to the agent's MCP or tools configuration.


Once configured, the onX MCP Server is available, and your agent can call onX capabilities via the onX MCP Server. Connect to it to complete this step.
Authorization
You'll either need to configure a token for your agent or log in on your first interaction with the service by providing your credentials in a fulfillmenttools login form. See the Authentication section below for more information.
Successful authorization ensures the agent can securely make requests to the fulfillmenttools MCP Server on your behalf.

Interaction
After you complete configuration and authorization, the agent can start interacting with onX through the fulfillmenttools onX MCP Server. When you ask the agent to perform an onX-related task, it uses the onX MCP Server in the background to retrieve data or trigger actions. It returns the results directly in its response.

The video below shows a working example:
Intended usage and primary user audience
Target audience
Inventory managers
Query stock levels and availability across facilities
Merchandising teams
Access product catalog and variant information
eCommerce platforms
Integrate inventory and product data into automated workflows
Developers and integrators
Build agentic commerce applications using fulfillmenttools data
Primary use cases
Inventory queries: Check stock levels and availability across facilities
Order and return queries: Check order and return information
Shipment tracking: Shipments, parcels, carriers, and tracking information
Product catalog access: Retrieve product information and metadata
Variant lookup: Query product variants and their attributes
Agentic workflows: Enable AI agents to access fulfillment data for automated decision-making
Future target audiences
The following audiences will be supported as additional tools are implemented in the future:
Customer service teams
Handle order inquiries and process cancellations
Order queries, cancel orders
Operations managers
Monitor order status and fulfillment progress
Order queries, fulfillment operations
eCommerce administrators
Create and manage orders through AI workflows
Create order, update order
Returns and support teams
Process customer returns and refunds
Return processing
User interaction model
Authentication
Every request to the server requires authentication. The agent acts on behalf of a user, not on its own, so the server enforces the OAuth 2.1 Authorization Code Flow with PKCE and disallows the implicit and ROPC flows.
See the MCP servers article for authentication options.
Permissions
Access to this service requires the user to have the following permissions:
Stock availabilities
Read
STOCK_AVAILABILITIES_READ
Listing
Read
LISTING_READ
Orders
Read
ORDER_READ and ADMIN_MODULES_READ
Fulfillments
Read
SHIPMENT_READ and CARRIER_READ
Returns
Read
RETURN_READ
More information can be found in the Users, roles, and permissions article.
Allowed and expected data
The onX MCP Server accepts structured data through its standardized tools:
Query tools (read operations)
get-inventory
Facility ID or filter criteria
Stock levels and availability
get-products
Product ID or filter criteria
Product catalog records
get-product-variants
Product ID or variant filters
Product variant details
get-orders
Order ID or filter criteria
Order details
get-fulfillments
Shipping ID or filter criteria
Shipping details and tracking information
get-returns
Return ID or filter criteria
Return details
All inputs must conform to the onX protocol schema. fulfillmenttools validates requests against this schema before forwarding them to the backend.
Data flow

Data flow steps:
User request: User issues a natural language request to the AI agent
AI interpretation: The AI parses the intent and invokes the appropriate MCP tool with structured parameters
Protocol translation: The onX MCP Server validates the request against the onX specifications and translates it to the fulfillmenttools API format
Backend execution: fulfillmenttools processes the request against the production data
Response return: Results flow back through the onX MCP Server to the AI agent
Human-readable output: The AI presents the information in natural language to the user
Output characteristics and limitations
Output description
Response characteristics:
Structured format: All responses follow consistent JSON schemas defined by the onX Protocol specification
Transparent errors: Backend errors are returned exactly as received, without modification or interpretation
Data currency: Query results reflect the current state in fulfillmenttools at the time of the request
Response types:
Queries
Requested data in a structured format
Error code and message from backend
Known limitations
Read-only operations
Only query tools (inventory, products, variants) are currently available
Use fulfillmenttools APIs and clients for order management and other write operations
No real-time streaming
Results are returned as complete responses, not streamed
Use polling for status updates on long-running operations
No file attachments
Can't upload or download files such as invoices or shipping labels
Access documents through the fulfillmenttools clients or via APIs
No data inference
fulfillmenttools won't guess or auto-fill missing information
Provide all required fields in requests
fulfillmenttools reserves the right to impose usage quotas on this feature.
Using unimplemented operations returns a FEATURE_NOT_AVAILABLE response with guidance on alternatives.
Last updated
Was this helpful?

