commercetools / commercetools/mcp-essentials
Create order from cart using create_order tool return cb is not a function
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug
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"
}
2.
"input": {
"version": 15,
"id": "27c45def-2d00-400d-aec9-3c63afcc3526"
}
How we are running 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
### To Reproduce
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.
### Code snippets
```Python
```
### OS
macOS
### Language version
TS
### Library version
agent-essential v1.0.0
### API version
1.0.0
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.