# CreditKit

> CreditKit is a freemium MCP server for developer tools. MCP server that lets coding agents add credits, a paywall and Stripe checkout to AI apps. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $29 a month
- **Platforms:** API, Web, VS Code, CLI
- **Website:** https://creditkit.dev/docs/mcp
- **Repository:** https://github.com/creditkit-dev/plugins
- **MCP Registry name:** dev.creditkit/mcp
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-11-23

## About

CreditKit's MCP server lets an AI coding assistant handle the billing setup for an app that charges for AI usage. Instead of writing a credit ledger, refund logic and webhook handling by hand, the assistant creates a project, defines what each action costs in credits, configures free credits and purchase packs, and adds the matching code to the codebase.

Access runs over Streamable HTTP with OAuth 2.1 sign-in through a CreditKit account. Everything the server touches stays in Test Mode, so purchases are simulated and the assistant only ever receives test keys. Live keys, Stripe account connection, plan changes and project deletion remain in the web console.

The server suits developers building AI products on Cursor, Claude Code, VS Code, Codex or similar MCP clients who want usage-based credits without building the billing layer themselves.

## Features

- **Action credit pricing:** Assign a credit cost to each AI action, optionally charged by tokens, seconds or rows.
- **Automatic refunds:** Credits held before an AI call are returned automatically if the call fails.
- **Free credit grants:** Give signed-in users a one-time, daily or monthly allowance of free credits.
- **Packs and plans:** Define credit packs and subscription plans, with a warning when a larger pack is worse value.
- **Setup verification:** Check which integration steps are working and get guidance on what to do next.
- **Balance and webhook debugging:** Look up user balances and transaction history, and resend failed webhook events.

## Good for

- Add pay-per-generation credits to an AI image or text app
- Give new users a starter credit allowance before they pay
- Sell credit packs through Stripe checkout in a web or mobile app
- Debug failed Stripe webhook deliveries during development
- Check a user's credit balance and transaction history when handling support requests

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add --transport http mcp https://mcp.creditkit.dev
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.creditkit.dev"
    }
  }
}
```

### Claude Desktop (Customize → Connectors → Add → Add custom connector)

```text
https://mcp.creditkit.dev
```

Paste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.creditkit.dev"
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.creditkit.dev"
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### ChatGPT (chatgpt.com → Plugins → + → Add custom MCP server)

```text
https://mcp.creditkit.dev
```

Paste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add mcp --url https://mcp.creditkit.dev
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.mcp]
url = "https://mcp.creditkit.dev"
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "httpUrl": "https://mcp.creditkit.dev"
    }
  }
}
```

Or run: gemini mcp add -s user --transport http mcp https://mcp.creditkit.dev

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "serverUrl": "https://mcp.creditkit.dev"
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.creditkit.dev",
      "transport": "http"
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.creditkit.dev"
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "mcp": {
      "url": "https://mcp.creditkit.dev"
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.creditkit.dev"
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.creditkit.dev"
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://mcp.creditkit.dev"
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Grok Bot (Grok Bot desktop app → Connect apps → Add a custom connector)

```sh
https://mcp.creditkit.dev
```

Enter a Name (for example "CreditKit"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp": {
      "type": "http",
      "url": "https://mcp.creditkit.dev"
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, 1 of 13 tools deletes data and 4 change data; 1 name doesn't say. From the server's own tool labels and tool names; not verified by us.

- `list_projects` (name suggests: reads): See your projects.
- `create_project` (name suggests: changes): Create a project and get its Test Mode keys.
- `get_test_keys` (name suggests: reads): A project's Test Mode keys as .env lines.
- `set_action` (name suggests: changes): Add or change an action and its credit cost.
- `remove_action` (name suggests: deletes): Remove an action.
- `set_free_credits` (name suggests: changes): Set free credits for signed-in users: once, daily or monthly.
- `set_packs` (name suggests: changes): Set the packs and plans users can buy.
- `get_setup_code` (name suggests: reads): Install steps and code for your stack and login library.
- `check_setup` (name suggests: reads): Show which setup steps have been seen working and what to do next.
- `get_user_balance` (name suggests: reads): Look up a user's credits.
- `list_user_transactions` (name suggests: reads): Look up a user's credit history.
- `list_webhook_events` (name suggests: reads): List webhook events for debugging.
- `retry_webhook`: Resend a failed webhook event.

## FAQ

### Does the MCP server give access to live payments?

No. It only works in Test Mode and cannot see or use live keys, connect Stripe or change plans.

### How does a tool connect to the server?

Point the MCP client at https://mcp.creditkit.dev. On first use you sign in to your CreditKit account and approve access.

### Is there a cost to use the server in Test Mode?

Free credits, Test Mode purchases and refunds for failed calls are free. Fees apply only when a real user buys credits.

### How long does access last?

Access tokens last an hour and renew for up to 30 days of use. You can disconnect a tool from the console.

### How do I add CreditKit to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp https://mcp.creditkit.dev

### What are the best alternatives to CreditKit?

The closest alternatives to CreditKit are Payments Ai MCP, App Store Connect MCP, Okaneland MCP, Arch Tools MCP and MCP Monetize - Drop-in Billing & Capability Token Engine.

## Where this comes from

- Description: written from the project's README, the project's website and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [Payments Ai MCP](https://ai-powered.com/mcp/payments-ai-mcp): Payments Ai MCP is a paid MCP server for finance and payments.
- [App Store Connect MCP](https://ai-powered.com/mcp/app-store-connect-mcp-5): App Store Connect MCP is an open-source MCP server for e-commerce.
- [Okaneland MCP](https://ai-powered.com/mcp/okaneland-mcp): Okaneland MCP is an open-source MCP server for developer tools.
- [Arch Tools MCP](https://ai-powered.com/mcp/arch-tools-mcp): Arch Tools MCP is a freemium MCP server for developer tools.
- [MCP Monetize - Drop-in Billing & Capability Token Engine](https://ai-powered.com/mcp/mcp-monetize-drop-in-billing-and-capability-token-engine): MCP Monetize - Drop-in Billing & Capability Token Engine is an open-source MCP server for developer tools.
- [Otterkit](https://ai-powered.com/mcp/otterkit): Otterkit is a paid MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/creditkit
