Register custom tools
After you deploy your custom tools server, register its MCP endpoint with the Shopper MCP Server. Registration adds your endpoint to the Commerce Shopper MCP Server Registry for your Adobe Commerce instance. The Shopper MCP Server then lists your tools alongside its default tools and calls your endpoint when an agent uses a custom tool.
You register the endpoint with the Adobe-provided bin/onboard-custom-tools script, which you run from your Commerce instance.
Before you begin before-you-begin
- Deploy your custom tools server and note its MCP endpoint URL. The endpoint must use HTTPS on
<namespace>.adobeioruntime.netorruntime.adobe.io. The script rejects other hosts. - Upload the
onboard-custom-toolsscript to thebinfolder in your Adobe Commerce root folder. - Confirm that the Commerce Services Connector uses Adobe Commerce JWT credentials (
Magento_JWTmode). The script signs requests with these credentials. If the connector uses IMS technical-account credentials, the script warns that the registry might reject the request.
Register your endpoint register
Run these commands from the Adobe Commerce root folder. Replace the URL with the endpoint from your own deployment. The registry uses the exact URL that you supply and does not append /mcp.
-
Preview the registration request without sending it:
code language-bash php bin/onboard-custom-tools onboard --dry-run \ --runtime-url=https://<namespace>.adobeioruntime.net/api/v1/web/<package>/mcp-tool -
Register the endpoint:
code language-bash php bin/onboard-custom-tools onboard --env=production --created-by="<your-name>" \ --runtime-url=https://<namespace>.adobeioruntime.net/api/v1/web/<package>/mcp-toolTo add the custom tools server to the sandbox registry, use
--env=sandbox. -
Confirm the registration and the discovered tools:
code language-bash php bin/onboard-custom-tools get -
In your MCP client, call
tools/listand confirm that your custom tools appear.
Manage the registration manage
php bin/onboard-custom-tools refreshphp bin/onboard-custom-tools getonboard again with the new --runtime-urlphp bin/onboard-custom-tools deleteCommand reference reference
Commands commands
onboard--runtime-url.refreshgetdeleteOptions options
--env=production|sandboxmagento_saas/environment, then production.--runtime-url=<url>onboard. The script does not append /mcp.--created-by=<text>--tenant-id=<id>--registry-url=<url>--dry-run-h, --helpRegistry endpoints registry-endpoints
https://commerce-storefront.adobe.io/mcp-registry/graphqlhttps://commerce-storefront-sandbox.adobe.io/mcp-registry/graphql