
Mastercard Developers MCP
io.github.Mastercard由 GitHub 帳號 Mastercard 發布v0.1.0更新於 Oct 24, 2026
Access Mastercard Developers APIs, documentation, and API specifications through MCP.
概覽
一個本機 MCP 伺服器,讓助理以唯讀方式存取 Mastercard Developers 的服務、文件、API 規格與 OAuth 整合指南。
- 可以做什麼
- 列出 Mastercard Developers 的產品與服務,含標題、描述和服務 ID,可在啟動時限定於某個服務或 API 規格。瀏覽某服務的文件總覽、章節標題與導覽連結。讀取某個文件章節或頁面的完整內容。彙整 API 規格中的操作,含 HTTP 方法、路徑、標題和描述。取得單一 API 操作的自參定義與請求/回應結構。取得 OAuth 1.0a、OAuth 2.0 與 Open Finance 整合指南,含步驟、程式碼範例和最佳實務。
- 適用情境
- 適合在開發或偵錯 Mastercard API 整合時使用,讓助理在對話中直接查閱官方文件、操作結構與驗證說明。預先設定服務或規格 URL 可讓回答聚焦於單一產品。
- 執行需求
- 透過 npx 從 npm 套件 @mastercard/developers-mcp 以 stdio 在本機執行,需要 Node.js 18 或更新版本。需要能連線至 Mastercard Developers 的文件與規格 URL。未宣告帳號、API 金鑰或環境變數。可選 --service 或 --api-specification 參數用於聚焦;規格參數會覆寫服務參數並停用服務清單工具。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mastercard Developers MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Mastercard Developers MCP Server
[mastercard developers logo]A Model Context Protocol (MCP) server that provides access to Mastercard Developers documentation.
Overview
This MCP server acts as a bridge between MCP clients and Mastercard Developers resources, offering tools to:
- List available Mastercard services
- Query API specifications and their operations
- Access documentation for each service
- Retrieve integration guides for OAuth 1.0a, OAuth 2.0, and Open Finance
Available Tools
Service Discovery
get-services-list: Lists all available Mastercard Developers Products and Services with their basic information including title, description, and service ID.
Documentation
-
get-documentation: Provides an overview of all available documentation for a specific Mastercard service including section titles, descriptions, and navigation links. -
get-documentation-section-content: Retrieves the complete content for a specific documentation section. -
get-documentation-page: Retrieves the complete content of a specific documentation page.
API Operations
-
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. -
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.
Integration Guides
-
get-oauth10a-integration-guide: Retrieves the comprehensive OAuth 1.0a integration guide including step-by-step instructions, code examples, and best practices for Mastercard APIs. -
get-oauth20-integration-guide: Retrieves the comprehensive OAuth 2.0 integration guide including step-by-step instructions, code examples, and best practices for Mastercard APIs. -
get-openfinance-integration-guide: Retrieves the comprehensive Open Finance integration guide including setup instructions, API usage examples, and implementation best practices.
Configuration Options
You can pre-configure the server with a specific service or API specification by passing them as arguments. This is useful when you are working with a specific service, and you want to focus your agents
service: URL of the documentation of a service that you want the MCP to focus on e.g.https://developer.mastercard.com/mdes-customer-service/documentationapi-specification: URL of the API specification that you want the MCP tools to focus on e.g.https://static.developer.mastercard.com/content/match/swagger/match-pro.yaml. You can get the link fromDownload Specbutton in theAPI Referencepage of service. NOTE: Specifying this will override any value provided inserviceconfiguration.
If you specify service or api-specification then the get-services-list tool will be disabled.
Integration with MCP Clients
To use this server with MCP clients like Claude Desktop, add it to your MCP configuration:
For Specific Service
For Specific API Specification
Usage with VSCode
For quick installation, use one of the one-click installation buttons below:
[Install with NPX in VS Code] [Install with NPX in VS Code Insiders]
For manual installation, add the following JSON block to your User Settings (JSON) file in VS Code. You can do this by pressing Ctrl + Shift + P and typing Preferences: Open Settings (JSON).
Optionally, you can add it to a file called .vscode/mcp.json in your workspace. This will allow you to share the configuration with others.
Note that the mcp key is not needed in the .vscode/mcp.json file.
NPX
You can also provide configuration options as arguments, see above for examples.
Development
Pre-requisites: Node.js 18+
-
Install dependencies:
-
Build the project:
-
Run tests:
-
Start the server:
Watch for changes during development:
The server runs on stdio and will be available for MCP client connections.
With Configuration Options
To build the DXT file
You can build the DXT file for one-click installation for Claude Desktop by running:
Debugging the server
References
來源:modelcontextprotocol/README.md,提交 24df3ad
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分