Instruction file imported from commercetools/mcp-essentials (
.cursor/rules/docs.mdc). Copyright stays with the author.
Creating a New namespace tool Function in @commercetools/agent-essentials
Updating the README.md file in the project root with the newly added feature or namespaces
This document outlines the steps taken to implement an updated README.md file by connecting to the official commercetools API.
The following steps are defining implementation of an example products.create. So the (namespace) here refers to product.
Implementation Steps
- Gather info regarding the (namespace)
- Search commercetools docs at https://docs.commercetools.com/api and find the (namespace)
- In this example
https://docs.commercetools.com/api/projects/products
- Define Available Tools
In the
### Special Tool Optionssection of theAvailable Toolsadd to the end of the table the newly created or provided namespaces- Using the namespace fetched in previous step and complete the table like the example provided below using the product namespace
| products.read | Read product information |
| products.create | Create product information |
| products.update | Update product information |
- After updating the Available Tools table, ensure all the original formatting is maintained and do not add or carryout any other special editing or formatting.