How to Use the Commerce.js MCP in Claude Code
Automate your store maintenance and order processing in the terminal with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Commerce.js MCP to Claude Code
Create your Vinkius account to connect Commerce.js to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Headless Commerce.js operations in Claude Code
Run store management tasks directly from your shell. Use `list_products` to pipe store data into your CI scripts or cron jobs, keeping your inventory information updated without a browser. The server integrates with your existing terminal workflows. You can trigger batch updates or pull product IDs for automated testing pipelines in a single command.
Terminal-based order management
Query your sales data during deployment or debugging. `list_orders` lets you scan recent transactions, while `get_order` pulls the exact record you need to verify a failed payment. This is perfect for DevOps tasks. You can build shell scripts that use these tools to monitor store health and alert you to issues in real-time.
Automated checkout testing
Simulate end-to-end purchasing in your test suites. Claude Code uses `create_cart`, `add_to_cart`, and `capture_order` to verify that your checkout flow remains stable after every commit. It handles the entire sequence programmatically. You can bake these checks into your deployment process to catch regressions before they reach your customers.
Set up Commerce.js MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seecommercejs-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Commerce.js transactions." It will automatically discover and invoke the available Commerce.js tools.
claude mcp add --transport http commercejs-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Commerce.js MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Commerce.js MCP today
We host it, we monitor it, we maintain it. You just paste one token.