Skip to main content
Glama

Visa Acceptance

Visa Acceptance Model Context Protocol

The Visa Acceptance Model Context Protocol server allows you to integrate with Visa Acceptance APIs through function calling. This protocol supports various tools to interact with different Visa Acceptance services, including enhanced invoice management, and payment links functionality.

Quick Start

To run the Visa Acceptance MCP server using npx, use the following command:

# To set up all available tools npx -y @visaacceptance/mcp --tools=all --merchant-id=YOUR_MERCHANT_ID --api-key-id=YOUR_API_KEY_ID --secret-key=YOUR_SECRET_KEY # To set up specific tools npx -y @visaacceptance/mcp --tools=invoices.create,invoices.read,paymentLinks.create,paymentLinks.read --merchant-id=YOUR_MERCHANT_ID --api-key-id=YOUR_API_KEY_ID --secret-key=YOUR_SECRET_KEY # To configure test environment (default is true) npx -y @visaacceptance/mcp --tools=all --merchant-id=YOUR_MERCHANT_ID --api-key-id=YOUR_API_KEY_ID --secret-key=YOUR_SECRET_KEY --use-test-env=true

Make sure to replace the credential placeholders with your actual Visa Acceptance credentials. Alternatively, you could set these values in your environment variables.

Usage with Claude Desktop

Add the following to your claude_desktop_config.json. See here for more details.

{ "mcpServers": { "visa-acceptance": { "command": "npx", "args": [ "-y", "@visaacceptance/mcp", "--tools=all", "--merchant-id=YOUR_MERCHANT_ID", "--api-key-id=YOUR_API_KEY_ID", "--secret-key=YOUR_SECRET_KEY" ] } } }

Available Tools

ToolDescription
invoices.createCreate a new invoice with customer info and enhanced invoice parameters
invoices.updateUpdate an existing invoice including customer and invoice information
invoices.listList invoices with pagination support
invoices.getGet detailed invoice transaction
paymentLinks.createCreate a new payment link with optional shipping info
paymentLinks.updateUpdate an existing payment link
paymentLinks.listList payment links with pagination
paymentLinks.getRetrieve details of a specific payment link

Debugging the Server

To debug your server, you can use the MCP Inspector.

First build the server:

npm run build

Run the following command in your terminal:

# Start MCP Inspector and server with all tools npx @modelcontextprotocol/inspector node dist/index.js --tools=all --merchant-id=YOUR_MERCHANT_ID --api-key-id=YOUR_API_KEY_ID --secret-key=YOUR_SECRET_KEY

Debugging Instructions

  1. Replace the credential placeholders with your actual Visa Acceptance credentials.
  2. Run the command to start the MCP Inspector.
  3. Open the MCP Inspector UI in your browser and click Connect to start the MCP server.
  4. You can see the list of tools you selected and test each tool individually.

Configuration

You can also configure the server using environment variables:

# Visa Acceptance API Credentials # Both new simplified names and old names are supported # New simplified names take precedence if both are defined VISA_ACCEPTANCE_MERCHANT_ID=your_merchant_id VISA_ACCEPTANCE_API_KEY_ID=your_api_key_id VISA_ACCEPTANCE_SECRET_KEY=your_secret_key # Environment Configuration # When true, points to apitest.visa-acceptance.com (non-production) # When false, points to api.visa-acceptance.com (production) VISA_ACCEPTANCE_ENVIRONMENT=SANDBOX VISA_ACCEPTANCE_TOOLS=all

You can copy the .env.template file to get started:

cp .env.template .env

Local Development

This package is designed to be used as a local npm package during development. Follow these steps to set up the package for local development:

Installation

  1. Clone the repository:
    git clone https://github.com/visaacceptance/agent-toolkit.git cd agent-toolkit/modelcontextprotocol
  2. Install dependencies:
    npm install
  3. Build the package:
    npm run build

Local Package Linking

To use this package locally in another project:

  1. Link the package globally:
    npm link
  2. In your project directory, link to the package:
    npm link @visaacceptance/mcp
  3. You can now import and use the package in your project:
    import { VisaAcceptanceAgentToolkit } from '@visaacceptance/mcp'; // or const { VisaAcceptanceAgentToolkit } = require('@visaacceptance/mcp');

Development Workflow

  1. Make changes to the source code
  2. Rebuild the package:
    npm run build
  3. The linked projects will automatically use the updated version
-
security - not tested
A
license - permissive license
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

The Visa Acceptance Model Context Protocol server allows you to integrate with Visa Acceptance APIs through function calling. This server supports several tools to interact with various Visa Acceptance services.

  1. Quick Start
    1. Usage with Claude Desktop
      1. Available Tools
        1. Debugging the Server
          1. Debugging Instructions
        2. Configuration
          1. Local Development
            1. Installation
            2. Local Package Linking
            3. Development Workflow

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            This server implements the Model Context Protocol to facilitate meaningful interaction and understanding development between humans and AI through structured tools and progressive interaction patterns.
            Last updated -
            13
            51
            TypeScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that facilitates communication between ABAP systems and MCP clients, providing tools for managing ABAP objects, handling transport requests, and performing code analysis to enhance ABAP development workflows.
            Last updated -
            128
            35
            TypeScript
            MIT License
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that allows AI assistants to interact with the VRChat API, enabling retrieval of user information, friends lists, and other VRChat data through a standardized interface.
            Last updated -
            7
            22
            39
            TypeScript
            MIT License
            • Apple
          • PayPalofficial

            -
            security
            A
            license
            -
            quality
            The PayPal Model Context Protocol server allows you to integrate with PayPal APIs through function calling. This protocol supports various tools to interact with different PayPal services.
            Last updated -
            134
            129
            TypeScript
            Apache 2.0
            • Linux
            • Apple

          View all related MCP servers

          MCP directory API

          We provide all the information about MCP servers via our MCP API.

          curl -X GET 'https://glama.ai/api/mcp/v1/servers/visaacceptance/agent-toolkit'

          If you have feedback or need assistance with the MCP directory API, please join our Discord server