authorize-net-mcp logo

authorize-net-mcp

by zmarty

This project is a Model Context Protocol (MCP) server that integrates with the Authorize.net Node SDK to provide payment operations like taking payments and creating invoices. It allows AI agents and other platforms to seamlessly call Authorize.net functionality without directly handling sensitive transaction logic.

View on GitHub

Last updated: N/A

What is authorize-net-mcp?

The authorize-net-mcp is an MCP server that acts as a bridge between AI models/platforms and the Authorize.net payment gateway. It exposes payment operations as MCP tools, enabling AI agents to initiate payments and create invoices through a standardized protocol.

How to use authorize-net-mcp?

  1. Clone the repository and install dependencies using npm install. 2. Set your Authorize.net API credentials as environment variables (AUTHORIZE_NET_API_LOGIN_ID and AUTHORIZE_NET_TRANSACTION_KEY). 3. Build the project using npm run build. 4. Start the server using npm start. 5. Interact with the server using an MCP-compatible client to call the takePayment or createInvoice tools with appropriate JSON payloads.

Key features of authorize-net-mcp

  • Exposes Authorize.net functionality as MCP tools

  • Supports immediate credit card charges (takePayment)

  • Supports hosted payment page invoice generation (createInvoice)

  • Provides standardized JSON input/output schemas for easy integration with AI models

Use cases of authorize-net-mcp

  • Enabling AI assistants to process payments on behalf of users

  • Automating invoice creation and payment collection workflows

  • Integrating payment processing into AI-powered e-commerce platforms

  • Providing a secure and standardized interface for AI models to interact with payment gateways

FAQ from authorize-net-mcp

What is MCP?

Model Context Protocol (MCP) is a specification and SDK that standardizes how AI models communicate with external tools and services.

What are the required environment variables?

You need to set AUTHORIZE_NET_API_LOGIN_ID and AUTHORIZE_NET_TRANSACTION_KEY with your Authorize.net API credentials.

How do I switch to production?

Switch the base URL in the authorizeNetHandlers.ts file to production endpoints and use your production API keys.

What security measures should I take?

Never commit real API keys to source control. Use environment variables or secret management solutions. Ensure you’re using HTTPS endpoints or secure tunnels.

What is the license of this project?

This project is released under the MIT License.

authorize-net-mcp - MCP Server | MCP Directory