-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
We are using Essential mcp and "@modelcontextprotocol/sdk": "^1.17.5"
when we trying to create order from cart using create_order tool , it gave us cb is not a function error.
We are able to create order with same cart using api. But we got this error when we are using mcp server create_order tool.
we have tried following input to tool
1."input": {
"version": 15,
"orderNumber": "27c45def-2d00-400d-aec9-3c63afcc3526",
"id": "27c45def-2d00-400d-aec9-3c63afcc3526"
}
"input": {
"version": 15,
"id": "27c45def-2d00-400d-aec9-3c63afcc3526"
}
To Reproduce
Steps to reproduce the behavior:
- Create cart for a logged in user
- Add Line Item
- Add shipping and billing address
- add shipping method
- create order from cart. using create_order tool.
Expected behavior
it should create order . We are able to create order with same cart using api.
Logs
If applicable, add logs to help explain your problem.
Additional context
How we run our mcp server
npx -y @commercetools/mcp-essentials
--tools=all
-- isAdmin=true
--authType=client_credentials
--clientId=CLIENT_ID
--clientSecret=CLIENT_SECRET
--projectKey=PROJECT_KEY
--authUrl=AUTH_URL
--apiUrl=API_URL
--remote=true
--stateless=true
--port=8888