Mercury Invoicing Mcp

Created By
klodra month ago
Mercury Banking MCP server with full Invoicing API support — first MCP to expose Mercury's accounts receivable endpoints. 34 tools covering banking, treasury, recipients, internal transfers, customers, recurring invoices, and webhooks. Built-in safeguards: dual-window rate limiting, dry-run mode, and redacted audit log.
Overview

mercury-invoicing-mcp

Mercury Banking MCP server with full Invoicing API support — first MCP to expose Mercury's accounts receivable endpoints. A Model Context Protocol (MCP) server giving AI assistants (Claude, Cursor, Continue, etc.) full programmatic access to your Mercury business banking account, including the Invoicing API (one-shot + recurring) which is missing from every other Mercury MCP.

Features

  • 34 tools across Banking (accounts, transactions, recipients, statements), Treasury, Invoicing (AR), Customers (AR), and Webhooks.
  • Internal transfers between your own Mercury accounts.
  • Recurring invoices + invoice attachments.
  • Webhooks full CRUD (incl. update_webhook).
  • Built-in safeguards: dual-window rate limit (daily + monthly), dry-run mode, redacted audit log.
  • Sandbox auto-detect — tokens starting with mercury_sandbox_ automatically point at api-sandbox.mercury.com.

Installation

npm install -g mercury-invoicing-mcp

Or directly via npx:

npx mercury-invoicing-mcp

Configuration

The server reads MERCURY_API_KEY from the environment. Get your API key at Mercury Settings → API Tokens.

{
  "mcpServers": {
    "mercury-invoicing": {
      "command": "npx",
      "args": ["-y", "mercury-invoicing-mcp"],
      "env": {
        "MERCURY_API_KEY": "secret-token:mercury_production_xxxxxxxxxxxxxxxx"
      }
    }
  }
}

Safety

Outbound payments depend on YOUR Mercury approval policy. The MCP can only ever create the API call; what Mercury does with it is up to your workspace configuration. Set a strict approval policy in Mercury (e.g. require approval for any outbound payment, regardless of amount) if you intend to expose write tools to an agent.

License

MIT

Server Config

{
  "mcpServers": {
    "mercury-invoicing": {
      "command": "npx",
      "args": [
        "-y",
        "mercury-invoicing-mcp"
      ],
      "env": {
        "MERCURY_API_KEY": "secret-token:mercury_production_xxxxxxxxxxxxxxxx"
      }
    }
  }
}
Project Info
Created At
a month ago
Updated At
a month ago
Author Name
klodr
Star
-
Language
-
License
-
Category

Recommend Servers

View All