-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When configuring the MCP with isAdmin set to false some tools don't show up.
It looks that for many resources, no actions are exposed when the isAdmin is not passed
e.g
| return []; |
To Reproduce
npx -y @commercetools/mcp-essentials \
--tools=standalone-price.read,standalone-price.create,standalone-price.update \
--authType=client_credentials \
--clientId=CLIENT_ID \
--clientSecret=CLIENT_SECRET \
--projectKey=PROJECT_KEY \
--authUrl=AUTH_URL \
--apiUrl=API_URL
When passing all tools
npx -y @commercetools/mcp-essentials \
--tools=all \
--authType=client_credentials \
--clientId=CLIENT_ID \
--clientSecret=CLIENT_SECRET \
--projectKey=PROJECT_KEY \
--authUrl=AUTH_URL \
--apiUrl=API_URLOnly subset of tools are available to the client

Expected behavior
Enabled tools get exposed to the client
Code snippets
OS
macOs
Language version
TS
Library version
@commercetools/mcp-essentials
API version
2.3.0"
Additional context
No response
mrjackdavis
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working