Skip to content

Conversation

@ajimae
Copy link
Member

@ajimae ajimae commented Nov 20, 2025

Summary

Fix issues with tools configuration and error due to untrimmed configured tools.

In this fix, we moved the isAdmin check up one layer from individual tools to the namespace list, this will help us to filter out configured tools efficiently and gives us the flexibility to make adjustments easily in the future. Also, the --tools=all argument now requires that --isAdmin is set to true.

Completed Tasks

  • fix issues with untrimmed configured tools
  • fix issues with configured tools not being obeyed when isAdmin is false.
  • crefactor and adjust tests accordingly

Related Issue

#39

@changeset-bot
Copy link

changeset-bot bot commented Nov 20, 2025

🦋 Changeset detected

Latest commit: 1a0be5c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@commercetools/agent-essentials Patch
@commercetools/mcp-essentials Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@ajimae ajimae requested review from a team, behnamt and islam3zzat and removed request for behnamt November 20, 2025 15:36
@carlocaprini-ct
Copy link

@ajimae can we make these configuration details explicit also in the readme file?

Copy link
Contributor

@islam3zzat islam3zzat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, this has been an annoying bug

ajimae and others added 3 commits November 21, 2025 11:48
- fix issues with untrimmed configured tools
- fix issues with configured tools not being obeyed when isAdmin is false.
- refactor and adjust tests accordingly
Add release changeset for `patch` release.
- add and update info in README.md files
@ajimae ajimae force-pushed the fix/tool-configuration-and-issue-w-untrimmed-tools branch from a91abcd to 1a0be5c Compare November 21, 2025 10:51
@ajimae ajimae merged commit 2bae83e into main Nov 24, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants