Skip to main content
Note
This feature is currently in beta and subject to change. To learn more about the Beta program for this feature, contact your Marqeta representative.
The Marqeta Model Context Protocol (MCP) Server allows your AI agents to interact seamlessly with Marqeta’s payment platform using natural language processing (NLP). Built on the open-source Model Context Protocol standard developed by Anthropic, the MCP Server provides a secure, standardized bridge between AI applications and Marqeta’s extensive payment APIs. Use the Marqeta MCP Server with your own AI agents to query data from a designated set of Marqeta’s Core API endpoints. You can access the Marqeta MCP server through the Marqeta MCP Server GitHub repository. After setting up the MCP Server, run the MCP server locally to integrate it with your agentic AI use cases. If you require additional support, you can either raise an issue in the Marqeta MCP Server GitHub repository or contact your Marqeta representative.

Marqeta MCP Server core functionalities

Marqeta’s MCP Server provides the following assistive functionalities for use with your card program:
  • Virtual card issuance: Create instant-issue virtual cards that are ready for immediate use.
  • User management: Retrieve cardholder information using criteria such as the cardholder’s phone number, associated user tokens, or retrieve a list of all users for your program.
  • Spend controls: Set customizable velocity limits, spending caps, and merchant restrictions.
  • Transaction intelligence: Query, analyze, and monitor payment activity through natural language interactions.
  • Dispute resolution: Submit and manage transaction disputes conversationally with automatic data collection.
For more information on how to use Marqeta’s MCP server to enable these assistive functionalities for your card program, see the Available tools section of Marqeta’s MCP Server GitHub repository.

MCP Server features

The following features are included when you install the Marqeta MCP Server:
  • Marqeta MCP tools: Includes MCP Server tools generated from Marqeta API specifications.
  • Common API usage coverage: Supports the Marqeta endpoints listed in the Available tools section on GitHub.
  • Basic authentication: Includes secure authentication using a username and password combination.
  • Docker integration: Supports containerized deployment with Docker.

Prerequisites

To run the Marqeta MCP server locally, have the following installed or available:
  • Node.js 20 (or higher) or Docker
  • Marqeta API credentials, including username, password, and program short code. Refer to the Core API Quick Start guide to learn how to get API keys.
Note
The MCP Server will also work with a public sandbox, in which case no program short code is needed.

Installing the Marqeta MCP Server

To install the Marqeta MCP Server, clone the Marqeta MCP Server GitHub repository and install all dependencies. For more detailed instructions, refer to the MCP Server’s ReadMe file on GitHub.