Skip to content
MCP server

MCP Pagar Me

MCP server for Pagar.me — orders, charges, recipients, transfers, plans, subscriptions…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.2
Listing updated
5 days ago

About MCP Pagar Me

MCP Pagar Me is an open-source MCP server. It runs locally on your machine and is started by your AI client.

MCP server for Pagar.me — orders, charges, recipients, transfers, plans, subscriptions, webhooks

Install

Run in a terminal

claude mcp add mcp-pagar-me --env PAGARME_API_KEY='<PAGARME_API_KEY>' -- npx -y @codespar/mcp-pagar-me

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-pagar-me": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagar-me"
      ],
      "env": {
        "PAGARME_API_KEY": "<PAGARME_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-pagar-me": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagar-me"
      ],
      "env": {
        "PAGARME_API_KEY": "<PAGARME_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-pagar-me": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagar-me"
      ],
      "env": {
        "PAGARME_API_KEY": "<PAGARME_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-pagar-me": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagar-me"
      ],
      "env": {
        "PAGARME_API_KEY": "<PAGARME_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-pagar-me": {
      "command": "npx",
      "args": [
        "-y",
        "@codespar/mcp-pagar-me"
      ],
      "env": {
        "PAGARME_API_KEY": "<PAGARME_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • PAGARME_API_KEYSecret key (sk_xxx) for Pagar.meRequired
  • PAGARME_PUBLIC_KEYPublic key (pk_xxx) for card tokenization (required only for create_card_token)

Pricing

Open source

MCP Pagar Me FAQ

Is MCP Pagar Me free?

Yes. MCP Pagar Me is open source, so you can use and self-host it for free.

How do I add MCP Pagar Me to Claude Code?

Run this command in your terminal: claude mcp add mcp-pagar-me --env PAGARME_API_KEY='<PAGARME_API_KEY>' -- npx -y @codespar/mcp-pagar-me

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers