Mastercard Developers MCP

v0.1.0
io.github.Mastercard/developers-mcp Checked 3 days ago Published 8 months ago

Access Mastercard Developers APIs, documentation, and API specifications through MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get-services-list Get Services List

Lists all available Mastercard Developers Products and Services with their basic information including title, description, and service id. IMPORTANT: The response contains both 'Products' (business offerings) and 'Services' (technical APIs with serviceIds). Use "serviceId" for each service for any tools that require serviceId as the parameter.

get-documentation Get Documentation

Provides an overview of all available documentation for a specific Mastercard service including section titles, descriptions, and navigation links. It takes one argument: - serviceId (str): The unique identifier of the Mastercard service (e.g., 'send', 'loyalty', 'locations')

ParameterTypeDescription
serviceId *stringThe unique identifier of the Mastercard service (e.g., 'send', 'loyalty', 'locations')

get-documentation-section-content Get Documentation Section Content

Retrieves the complete content for a specific documentation section. IMPORTANT: A section is not a single page, but rather a collection of pages that are grouped together. It takes two arguments: - serviceId (str): The unique identifier of the Mastercard service (e.g., 'send', 'loyalty', 'locations') - sectionId (str): The specific section identifier within the service documentation (e.g., 'getting-started', 'api-reference')

ParameterTypeDescription
sectionId *stringThe specific section identifier within the service documentation (e.g., 'getting-started', 'api-reference')
serviceId *stringThe unique identifier of the Mastercard service (e.g., 'send', 'loyalty', 'locations')

get-documentation-page Get Documentation Page

Retrieves the complete content of a specific documentation page. Takes one argument: - pagePath (str): The full path to the documentation page (e.g., '/send/documentation/use-cases/index.md')

ParameterTypeDescription
pagePath *stringThe full path to the documentation page (e.g., '/send/documentation/use-cases/index.md')

get-oauth10a-integration-guide Get OAuth 1.0a Integration Guide

Retrieves the comprehensive OAuth 1.0a integration guide including step-by-step instructions, code examples, and best practices for Mastercard APIs. Optionally specify a programming language to get language-specific examples and guidance.

ParameterTypeDescription
languagestringProgramming language for language-specific examples and guidance

get-openfinance-integration-guide Get Open Finance Integration Guide

Retrieves the comprehensive Open Finance (previously known as Open Banking) integration guide including setup instructions, API usage examples, and implementation best practices.

get-api-operation-list Get API Operation List

Provides a summary of all API operations for a specific Mastercard API specification including HTTP methods, request paths, titles, and descriptions. It takes one argument: - apiSpecificationPath (str): The path to the API specification file e.g., '/open-finance-us/swagger/openbanking-us.yaml')

ParameterTypeDescription
apiSpecificationPath *stringThe path to the API specification file (e.g., /open-finance-us/swagger/openbanking-us.yaml)

get-api-operation-details Get API Operation Details

Provides detailed information about a specific API operation including parameter definitions, request and response schemas, and technical specifications for successful API calls. It takes three arguments: - apiSpecificationPath (str): The path to the API specification file (e.g. The path would be /open-finance-us/swagger/openbanking-us.yaml for https://static.developer.mastercard.com/content/open-finance-us/swagger/openbanking-us.yaml, https://developer.mastercard.com/open-finance-us/swagger/openbanking-us.yaml, or /open-finance-us/swagger/openbanking-us.yaml) - method (str): The HTTP method…

ParameterTypeDescription
apiSpecificationPath *stringThe path to the API specification (e.g., /open-finance-us/swagger/openbanking-us.yaml)
method *stringThe HTTP method of the operation (e.g., GET, POST, PUT, DELETE)
path *stringThe API endpoint path from the specification (e.g., /payments, /accounts/{id})