mcpField
M
mcp-circle

mcp-circle

Local
github.com/codesparFinance275Updated 4w ago

About mcp-circle

mcp-circle is an MCP server for Circle, covering USDC stablecoin wallets, payments, payouts and transfers. It exposes 23 tools for managing these flows and querying balances. It is intended for businesses and developers settling in USDC.

Key features

  1. 0123 MCP tools for wallets, payments, payouts, transfers
  2. 02Business account balance and transaction queries
  3. 03Creation and deletion of webhook notification subscriptions
  4. 04Settlement and chargeback lookup

Use cases

  1. 01Creating USDC transfers or payments through an agent
  2. 02Checking business account balance and transaction history
  3. 03Managing webhook notification subscriptions

MCP support

This project is an MCP server that exposes Circle wallet, payment, payout, transfer, settlement, chargeback and notification subscription operations as tools for MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"codespar-mcp-circle": {
"command": "npx",
"args": [
"-y",
"@codespar/mcp-circle"
],
"env": {
"CIRCLE_API_KEY": "<CIRCLE_API_KEY>"
}
}
}
}
Run commandnpx -y @codespar/mcp-circle
Environment variables to set
CIRCLE_API_KEYSecretAPI key for circle

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@codespar/mcp-circle0.2.2

Tools

23

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
descriptionstringNoWallet description
idempotencyKeystringYesUnique idempotency key (UUID)

Details

From the project README

@codespar/mcp-circle

MCP server for Circle — USDC stablecoin payments, payouts, transfers, and wallets

npm License: MIT

Quick Start

Claude Desktop

Add to ~/.config/claude/claude_desktop_config.json:

{
  "mcpServers": {
    "circle": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-circle"],
      "env": {
        "CIRCLE_API_KEY": "your-key"
      }
    }
  }
}
Claude Code
claude mcp add circle -- npx @codespar/mcp-circle
Cursor / VS Code

Add to .cursor/mcp.json or .vscode/mcp.json:

{
  "servers": {
    "circle": {
      "command": "npx",
      "args": ["-y", "@codespar/mcp-circle"],
      "env": {
        "CIRCLE_API_KEY": "your-key"
      }
    }
  }
}

Tools (23)

ToolPurpose
create_walletCreate a new Circle business-account wallet
get_walletGet wallet details by ID
list_walletsList all Circle wallets
create_paymentAccept a USDC payment via Circle
get_paymentGet payment details by ID
create_payoutCreate a payout from Circle (USDC to fiat)
get_payoutGet payout details by ID
list_payoutsList payouts with optional filters
create_transferCreate a USDC transfer between Circle wallets (or to blockchain address)
get_transferGet transfer details by ID
list_transfersList transfers with optional filters
create_cardRegister card data for on-ramp payments
get_cardGet card details by ID
list_cardsList registered cards
list_settlementsList settlements (card payment batches)
get_settlementGet settlement details by ID
list_chargebacksList chargebacks
get_chargebackGet chargeback details by ID
create_subscriptionRegister a notification subscription (webhook)
list_subscriptionsList notification subscriptions (webhooks)
delete_subscriptionDelete a notification subscription
get_balanceGet business-account balance
list_transactionsList transactions with optional filters

Authentication

Circle uses a Bearer API key for authentication.

Sandbox / Testing

Circle provides a sandbox at api-sandbox.circle.com. Use a sandbox API key for testing.

Get your credentials
  1. Go to Circle Developer Portal
  2. Create a developer account
  3. Generate a sandbox API key
  4. Set the CIRCLE_API_KEY environment variable

Environment Variables

VariableRequiredDescription
CIRCLE_API_KEYYesAPI key from Circle

Roadmap

v0.2 (planned)
  • create_card_payment — Create a card payment
  • create_wire_payment — Create a wire transfer payment
  • create_ach_payment — Create an ACH payment
  • get_settlement — Get settlement details
  • list_settlements — List settlements with filters
v0.3 (planned)
  • smart_contract_calls — Execute smart contract calls
  • cross_chain_transfers — Transfer assets across blockchains

Want to contribute? Open a PR or request a tool.

Links

Enterprise

Need governance, budget limits, and audit trails for agent payments? CodeSpar Enterprise adds policy engine, payment routing, and compliance templates on top of these MCP servers.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.