Skip to main content
The Creem TypeScript SDK ships an MCP server. Point Claude Code, Claude Desktop, Cursor or any MCP client at it and your agent can create products, open checkouts, manage subscriptions, issue refunds and inspect your store — by calling the real API, with your key.
Skill files vs MCP server. Skill files are reference material your agent reads — they teach it how Creem works. The MCP server is a set of tools your agent runs — it changes live data. Most teams want both.

Requirements

Nothing to install: npx fetches the creem package on demand.

Quickstart

The server speaks MCP over stdio and exits when the client disconnects.
Test-mode keys require --server test. Without it the SDK targets production, and every tool call fails with 401 Unauthorized — Invalid API Key, even though your key is valid. This is the single most common setup problem.

Claude Code

Claude Desktop

Add to claude_desktop_config.json:

Cursor

Add the same block to .cursor/mcp.json in your project, or to ~/.cursor/mcp.json for every project.

Available tools

49 tools, covering the API surface.

Security

An API key grants an agent every tool, including destructive ones — transactions-refund, subscriptions-cancel, products-archive, discounts-delete and customer-credits-debit-account. There are no read-only or scoped keys today.
Two things to do about that: Develop against test mode. Use a test key while you build. Nothing you break is real. Mount only the tools you need. --tool is repeatable and limits what the server exposes:
This is a client-side allowlist, not a credential restriction — anyone who can edit the config can remove it. Treat the API key itself as the real boundary.

Options

Verifying it works

A green “Connected” does not mean it’s configured correctly. claude mcp list — and the equivalent status in other clients — only confirms the server process started and completed the MCP handshake. It runs before any API call, so it passes even when the environment is wrong.A test key without --server test reports ✔ Connected and then fails 401 on the first tool call.
Confirm with a real call instead. Ask your agent something harmless and read-only:
If products come back, the key, environment and tools are all wired up. If you get a 401, see below.

Troubleshooting

You’re using a test key without --server test, so requests go to production. Add the flag and restart your MCP client.Note that your client will still have shown the server as connected — the health check can’t see this.
Check node --version — v22 or newer is required. Then run the command directly in a terminal; MCP clients often swallow startup errors.
Restart the MCP client after editing its config — most read it only at launch. Then confirm the server is listed and connected in your client’s MCP settings.
Start with --log-level debug and check your client’s MCP logs.