Authorize.net MCP server

Authorize.net MCP server

authorize-net-mcp•byzmarty

An MCP server that exposes Authorize.net payment operations as MCP tools so AI agents can charge cards and create hosted invoices.

License: MIT License•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Provides a takePayment tool that takes a credit card number, expiration date, CVV, and amount and charges the card immediately.
  • •Provides a createInvoice tool that prepares a transaction without card data and returns a URL to a hosted Authorize.net payment page.
  • •Advertises its tools and input schemas to any connected MCP client over stdio.
  • •Uses the Authorize.net Node SDK inside MCP tool handlers to build and send transaction requests with provided credentials.

BEST FOR

  • •AI assistants that need to charge a credit card immediately through Authorize.net.
  • •Automation workflows that need to send customers a hosted payment page link for an invoice.

ABOUT AUTHORIZE-NET-MCP

Authorize.net MCP server is cataloged as an MCP server attributed to zmarty. An MCP server that exposes Authorize.net payment operations as MCP tools so AI agents can charge cards and create hosted invoices. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Authorize.net MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server handle credit card data for hosted invoices?

For invoices, no card data is included in the request; card details are collected through a hosted Authorize.net form, and the server returns a URL to that page.

上游原版 README

在 GitHub 查看同一版本原文

README.md · ba341fc88bbc · 采集于 2026-11-13 12:47:47 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

authorize-net-mcp

This project is a Model Context Protocol (MCP) server that integrates with the Authorize.net Node SDK to provide two primary payment operations:

  1. takePayment – Immediately charge a credit card (AUTH_CAPTURE).
  2. createInvoice – Generate a hosted payment page (invoice) for customers to pay online.

By exposing these operations as MCP tools, AI agents and other platforms using the MCP Node SDK can seamlessly call Authorize.net functionality without directly handling credit card or transaction logic themselves.

What Is the Model Context Protocol (MCP)?

Model Context Protocol (MCP) is a specification and software development kit (SDK) that standardizes how AI models (e.g., large language models) communicate with external tools and services. MCP servers provide “tools” (methods) that an AI assistant or automation platform can discover and invoke programmatically. The goals of MCP include:

  • Discoverability: Tools advertise their functionality and input/output schemas.
  • Standardized I/O: An AI model or any client can call a tool with a JSON-based schema and receive structured output, making automation workflows more reliable.
  • Security & Compatibility: Tools run in isolated processes and communicate via well-defined channels (e.g., stdio), which helps sandbox them from the AI model environment.

In this project, the takePayment and createInvoice methods are defined as MCP tools with input schemas (amount, card details, invoice info) and structured JSON output. This means any AI model or system that implements the MCP protocol can query this server to learn about available tools, then call them with the correct parameters to process payments via Authorize.net.


How It Works

  1. MCP Node SDK – Provides the framework for creating and running MCP servers in Node.js. We use classes like Server, StdioServerTransport, and schema definitions (ListToolsRequestSchema, CallToolRequestSchema) to register tools and respond to requests over stdio.

  2. Authorize.net Node SDK – Manages the low-level payment transaction calls. Inside our MCP tool handlers, we import the authorizenet package and build requests (e.g., CreateTransactionRequest) with your Authorize.net credentials.

  3. MCP Tools –

    • takePayment: Takes a credit card number, expiration date, CVV, and amount, then charges the card immediately.
    • createInvoice: Prepares a transaction with no card data (the card data is collected via a hosted Authorize.net form) and returns a URL to which the customer can be directed to pay the invoice securely.

When the server starts, it advertises these two tools (and their input schemas) to any connected MCP client. The client can then call them as needed.


Project Structure

authorize-net-mcp/
├── package.json
├── tsconfig.json
├── src
│   ├── index.ts               # MCP server initialization
│   ├── models
│   │   └── authorizeNetModel.ts   # JSON schemas & tool specifications
│   └── handlers
│       └── authorizeNetHandlers.ts # Implementations of takePayment & createInvoice
└── README.md
  • src/index.ts: Creates an MCP Server, registers tool handlers, and listens for requests via stdio.
  • src/models/authorizeNetModel.ts: Defines the input/output schemas for the two tools in JSON schema format (advertised to MCP clients when they call ListTools).
  • src/handlers/authorizeNetHandlers.ts: Contains the core logic that integrates with Authorize.net (charging cards, creating hosted invoices).

Getting Started

1. Installation

  1. Clone or download this repository.

  2. Install dependencies:

    npm install
    

2. Set Environment Variables

You must provide your Authorize.net API credentials. For testing, you can use Authorize.net Sandbox credentials. The server will look for:

  • AUTHORIZE_NET_API_LOGIN_ID
  • AUTHORIZE_NET_TRANSACTION_KEY
  • AUTHORIZE_NET_SANDBOX (optional, set to "true" for sandbox mode)

Set them before you build or start the server:

For Linux/Mac:

export AUTHORIZE_NET_API_LOGIN_ID="YOUR_SANDBOX_LOGIN_ID"
export AUTHORIZE_NET_TRANSACTION_KEY="YOUR_SANDBOX_TRANSACTION_KEY"
export AUTHORIZE_NET_SANDBOX="true"

For Windows (Command Prompt):

set AUTHORIZE_NET_API_LOGIN_ID=YOUR_SANDBOX_LOGIN_ID
set AUTHORIZE_NET_TRANSACTION_KEY=YOUR_SANDBOX_TRANSACTION_KEY
set AUTHORIZE_NET_SANDBOX=true

For Windows (PowerShell):

$env:AUTHORIZE_NET_API_LOGIN_ID="YOUR_SANDBOX_LOGIN_ID"
$env:AUTHORIZE_NET_TRANSACTION_KEY="YOUR_SANDBOX_TRANSACTION_KEY"
$env:AUTHORIZE_NET_SANDBOX="true"

For Claude Desktop:

You can configure this MCP server in the Claude Desktop settings by adding this to your config.json:

{
  "mcpServers": {
    "authorize-net-mcp": {
      "command": "node",
      "args": ["C:\\git\\authorize-net-mcp\\build\\index.js"],
      "env": {
        "DEBUG": "*",
        "AUTHORIZE_NET_API_LOGIN_ID": "YOUR-LOGIN-ID-HERE",
        "AUTHORIZE_NET_TRANSACTION_KEY": "YOUR-KEY-HERE",
        "AUTHORIZE_NET_SANDBOX": "true"
      }
    }
  }
}

Make sure to replace the placeholder values with your actual Authorize.net credentials.

3. Build and Run

# Build the TypeScript
npm run build

# Start the MCP server (listening on stdio)
npm start

The server will run and wait for MCP requests. Typically, an AI assistant or automation tool that understands MCP will spawn or connect to this process and invoke the takePayment or createInvoice tools by name.


Using the MCP Tools

Within an MCP-compatible environment (e.g., an AI chat that supports MCP), the workflow might be:

  1. List available tools (the server returns [takePayment, createInvoice] plus their schemas).

  2. Call the takePayment tool with arguments:

    {
      "amount": 19.99,
      "cardNumber": "4242424242424242",
      "expirationDate": "0825",
      "cardCode": "123"
    }
    
    • The server returns whether the payment was successful and includes transaction details in the response message.
  3. Call the createInvoice tool with arguments:

    {
      "amount": 50.0,
      "invoiceNumber": "INV-1001",
      "description": "T-shirt order"
    }
    
    • The server responds with a URL for the hosted payment page. Direct the customer to that link to enter card details securely.

Notes on Production Usage

  • Security: Never commit real API keys to source control. Use environment variables or secret management solutions in production.
  • HTTPS: In a real deployment, ensure you’re using HTTPS endpoints or secure tunnels for any inbound requests, if you plan to call it outside of an MCP host.
  • Sandbox vs. Production: Switch the base URL in the authorizeNetHandlers.ts file to production endpoints once you’re ready to go live.

Further Reading


License

This project is released under the MIT License. Please see the repository's LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Authorize.net MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/authorize-net-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics