Creem MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Creem MCP or direct API to create products, manage checkouts and subscriptions, process transactions, and issue refunds through natural language.

Creem logoCreem
Api Key

Creem is a merchant-of-record platform for managing products, checkouts, subscriptions, customers, licenses, discounts, transactions, refunds, and revenue operations. Helps businesses handle billing, compliance, and revenue workflows with a unified billing stack.

48 Tools

Try Creem now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Creem
Try asking
TOOLS

Supported Tools

Every Creem action and event your agent gets out of the box.

Activate License

Activate a Creem license key for a named device or instance.

Archive Product

Archive a product so it can no longer be purchased.

Cancel Subscription

Cancel an active Creem subscription immediately, at the end of its current billing period, or according to the store default.

Close Credit Account

Experimental Creem API: permanently close a credit account in the connected production store.

Create Checkout

Create a live checkout session in the connected Creem production store for a one-time payment or subscription.

Create Credit Account

Experimental Creem API: create a credit account for a customer in the connected production store, optionally with an initial balance.

Create Customer

Create a customer record in the connected Creem production store.

Create Customer Portal Link

Generate a sensitive customer portal link for managing billing, subscriptions, and payment methods in the connected Creem production store.

Create Discount

Create a promotional discount for products in the connected Creem production store.

Create Product

Create a product in the connected Creem production store for a one-time payment, free purchase, or subscription.

Credit Account

Experimental Creem API: add credits to a customer credit account in the connected production store and return the resulting ledger transaction.

Deactivate License

Deactivate one device instance for a Creem license key and free its activation slot.

Debit Account

Experimental Creem API: irreversibly deduct credits from a customer credit account in the connected production store and create a live ledger transaction.

Delete Discount

Permanently delete a Creem discount code and prevent any further use.

Freeze Credit Account

Experimental Creem API: freeze a credit account in the connected production store, preventing new transactions against its live credit balance.

Get Affiliate

Retrieve a single affiliate by ID, including referral link, click and conversion counts, and lifetime commission.

Get Checkout

Retrieve a Creem checkout session by ID, including its status, product, customer, payment relationships, issued licenses, and metadata.

Get Credit Account

Experimental Creem API: retrieve a customer credits account by its unique identifier, including its owner, unit label, status, and timestamps.

Get Credit Account Balance

Experimental Creem API: retrieve a credit account's current projected balance or its balance at an optional historical timestamp.

Get Customer

Retrieve one Creem customer by exactly one lookup field: customer_id or email.

Get Discount

Retrieve Creem discount details by exactly one lookup field: discount_id or discount_code.

Get Product

Retrieve a single Creem product by its unique identifier.

Get Store Metrics

Retrieve Creem store counts, revenue, and monthly recurring revenue in integer cents, optionally filtered and grouped by a date range.

Get Subscription

Retrieve a Creem subscription by ID, including its status, billing cycle, customer, product, items, payment history, and timestamps.

Get Transaction

Retrieve a single Creem transaction by ID, including payment amounts, status, tax details, and associated resource IDs.

List Affiliate Commissions

Retrieve one page of an affiliate's commissions, optionally filtered by pending, approved, or paid settlement status.

List Affiliates

Retrieve one page of joined Creem affiliates with referral links, click and conversion counts, and lifetime commission.

List Credit Account Entries

Experimental Creem API: retrieve one page of a credit account's credit and debit history, with forward or backward ID-based pagination.

List Credit Accounts

Experimental Creem API: list customer credit accounts for the authenticated store, excluding system accounts.

List Customer Licenses

Retrieve one page of license keys for a specific Creem customer.

List Customer Orders

Retrieve one page of orders for a specific customer, including monetary details, statuses, related resource IDs, and pagination totals.

List Customers

Retrieve one page of customers, including customer details and pagination totals.

List Discounts

Search and retrieve one page of Creem discounts, optionally filtered by product, status, type, or creation date.

List License Instances

Retrieve one page of activated instances for a Creem license.

List Products

Search and retrieve one page of Creem products, optionally filtered by lifecycle status.

List Subscriptions

Retrieve one page of Creem subscriptions across the store or for one customer, including product, customer, billing, transaction, and pagination details.

List Transactions

Search and retrieve one page of Creem payment transactions, optionally filtered by customer, order, or product.

Pause Subscription

Pause a Creem production subscription immediately or after its current billing period, stopping live billing while retaining it for later resumption.

Refund Payment

Issue an irreversible full refund of a payment's entire remaining refundable amount using its transaction ID.

Resume Subscription

Resume a paused or scheduled-cancel Creem production subscription.

Reverse Credit Transaction

Experimental Creem API: reverse a previous credit or debit in the connected production store by creating a new compensating transaction; the original transaction remains in the ledger.

Screen Prompt

Evaluate a text prompt against Creem content policies before generation.

Unfreeze Credit Account

Experimental Creem API: unfreeze a frozen credit account in the connected production store, allowing live credit and debit transactions again.

Update Customer

Update the name or metadata of an existing customer in the connected Creem production store.

Update Product

Update at least one field on a product in the connected Creem production store.

Update Subscription

Update items, units, seats, or add-ons on a Creem production subscription.

Upgrade Subscription

Upgrade a subscription to a different product or plan in Creem production.

Validate License

Verify that a Creem license key is valid and active for a specific instance, including its activation status and expiration.

SETUP GUIDE

Connect Creem MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK for Python or TypeScript
2

Initialize Client and Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
Import and initialize the Composio client, then create a Tool Router session for Creem
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'YOUR_SPECIFIC_PROMPT_HERE'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent (Anthropic Claude or Mastra)
SETUP GUIDE

Connect Creem API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Creem Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'YOUR_SPECIFIC_PROMPT_HERE'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Creem actions with your Agent

Why Use Composio?

AI Native Creem Integration

  • Supports both Creem MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for reading, writing, and querying your Creem data

Managed Auth

  • Built-in OAuth handling with automatic token refresh and rotation
  • Central place to manage, scope, and revoke Creem access
  • Per user and per environment credentials instead of hard-coded keys

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Creem
  • Scoped, least privilege access to Creem resources
  • Full audit trail of agent actions to support review and compliance

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Yes, Creem requires you to configure your own API key credentials. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Yes. Composio is SOC 2 Type II compliant and is built to keep your Creem connection and credentials secure. OAuth tokens and API keys are encrypted, and sensitive customer data is protected at rest and in transit.

Composio also undergoes independent security testing and continuously monitors its systems for security threats. You can review the latest reports and policies in the Composio Trust Center.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Create the key in your Creem account settings, then paste it once on Composio's connection page. Composio stores it encrypted and uses it only for the Creem actions your agent runs. Nobody else in your workspace can read it, and you can revoke it inside Creem at any time.

When you connect a Creem account through Composio, every action runs under that account, so anything the agent creates, sends, or changes shows up in Creem as done by you. Keep an approval step in your prompt for actions with side effects, such as sending or deleting, and have the agent draft first.

Whatever the credentials you connect allow inside Creem. If Creem lets you scope a key to specific permissions, create a scoped one so the agent can only do what you intend. You can revoke the key inside Creem at any time.

Yes. Composio supports multiple connected accounts for the same app, and that works in Claude, ChatGPT, or any other assistant you connect through Composio. Give each Creem connection a name such as work or personal, and the assistant uses the one you mention in the request. Each account keeps its own credentials and nothing is merged.

The connection stops working the moment Creem rejects the old key. Create a new key in Creem and reconnect the account from the Composio dashboard or by asking your agent to reconnect Creem. Nothing else changes.

Composio's free Hobby plan includes 100,000 tool calls per month with no credit card, which covers most personal Creem use. Paid plans add higher limits and team features. Your Creem plan and its API limits still apply as usual.

Built-in connectors usually give one AI access to a limited set of apps. Many people use Composio because it lets their AI connect to more apps than it normally supports, or connect to multiple accounts for the same app (e.g. connect Claude to multiple Creem accounts).

With Composio, you connect Creem once and then use it across different AI assistants without setting it up separately in each one. Connect your apps to Composio once, then connect Composio to whichever AI you use, whether that's Claude, ChatGPT, Hermes, or your own custom assistant.

Start with Creem.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Creem tool your agent needs.Free to start.

Start building