-
Notifications
You must be signed in to change notification settings - Fork 31
Added Mastercard Developers AI agent plugins for Claude Code, Codex and Cursor #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kshamajha
wants to merge
6
commits into
Mastercard:main
Choose a base branch
from
kshamajha:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
4930aad
Added Mastercard Developers plugins for Claude Code, Codex and Cursor
kshama0602 3a8b5f2
Updated version to be in sync and npx command along with README changes
kshama0602 05ec0dc
Fix Cursor MCP config, add skills-sync CI guard and README changes
kshama0602 75057a8
Updated README
kshama0602 6190b3a
Updated plugin.json with relevant keywords
kshama0602 17b0199
Implemented review feedback
kshama0602 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "name": "mastercard-developers", | ||
| "metadata": { | ||
| "description": "Official Mastercard Developers plugins and skills for AI coding agents, including the Mastercard Developers MCP server and best practices for building integrations with Mastercard APIs." | ||
| }, | ||
| "owner": { | ||
| "name": "Mastercard", | ||
| "email": "apisupport@mastercard.com" | ||
| }, | ||
| "plugins": [ | ||
| { | ||
| "name": "mastercard-developers", | ||
| "source": "./providers/claude/plugin/", | ||
| "description": "Mastercard Developers", | ||
| "version": "1.0.0", | ||
| "author": { | ||
| "name": "Mastercard" | ||
| } | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| { | ||
| "name": "mastercard-developers", | ||
| "metadata": { | ||
| "description": "Official Mastercard Developers plugins and skills for AI coding agents, including the Mastercard Developers MCP server and best practices for building integrations with Mastercard APIs." | ||
| }, | ||
| "owner": { | ||
| "name": "Mastercard", | ||
| "email": "apisupport@mastercard.com" | ||
| }, | ||
| "plugins": [ | ||
| { | ||
| "name": "mastercard-developers", | ||
| "version": "1.0.0", | ||
| "source": { | ||
| "source": "git-subdir", | ||
| "url": "https://github.com/Mastercard/developers-agent-toolkit.git", | ||
| "path": "providers/codex/plugin", | ||
| "ref": "main" | ||
| }, | ||
| "policy": { | ||
| "installation": "AVAILABLE", | ||
| "authentication": "NONE" | ||
| }, | ||
| "category": "Finance" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| { | ||
| "name": "mastercard-developers", | ||
| "metadata": { | ||
| "description": "Official Mastercard Developers plugins and skills for AI coding agents, including the Mastercard Developers MCP server and best practices for building integrations with Mastercard APIs." | ||
| }, | ||
| "owner": { | ||
| "name": "Mastercard", | ||
| "email": "apisupport@mastercard.com" | ||
| }, | ||
| "plugins": [ | ||
| { | ||
| "name": "mastercard-developers", | ||
| "source": "./providers/cursor/plugin/", | ||
| "description": "Mastercard Developers", | ||
| "version": "1.0.0", | ||
| "author": { | ||
| "name": "Mastercard" | ||
| } | ||
| } | ||
| ] | ||
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| name: Guard Skills Sync | ||
| 'on': | ||
| push: | ||
| branches: | ||
| - main | ||
| - develop | ||
| pull_request: | ||
| branches: | ||
| - main | ||
| - develop | ||
| workflow_dispatch: | ||
| jobs: | ||
| skills-in-sync: | ||
| name: Verify provider skills match canonical skills/ | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: 'Use Node.js 20.x' | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '20.x' | ||
| - name: Check skills are in sync | ||
| run: node scripts/sync.js --check |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| .DS_Store | ||
| .vscode | ||
| .idea | ||
| *.iml | ||
| .eslintcache | ||
| .npmrc | ||
| .mcpregistry* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| # Provider Plugins | ||
|
|
||
| This directory contains plugins for different AI code editors and agent harnesses. | ||
|
|
||
| Each provider has the same layout: | ||
|
|
||
| ``` | ||
| providers/<provider>/plugin/ | ||
| ├── skills/ # Agent skills (mastercard-developers-bestpractice) | ||
| ├── .mcp.json | mcp.json # Mastercard Developers MCP server wiring | ||
| └── .<provider>-plugin/ # Provider-specific plugin manifest (plugin.json) | ||
| ``` | ||
|
|
||
| ## Providers | ||
|
|
||
| | Provider | Plugin manifest | MCP config | | ||
| |----------|-----------------|------------| | ||
| | `claude` | `.claude-plugin/plugin.json` | `.mcp.json` | | ||
| | `codex` | `.codex-plugin/plugin.json` | `.mcp.json` | | ||
| | `cursor` | `.cursor-plugin/plugin.json` | `mcp.json` | | ||
|
|
||
| ## MCP server | ||
|
|
||
| Every plugin connects to the remote Mastercard Developers MCP server at | ||
| `https://developer.mcp.mastercard.com`, which requires **no authentication**. | ||
| A local `npx -y @mastercard/developers-mcp` alternative is documented in the | ||
| skill. | ||
|
|
||
| ## Skills | ||
|
|
||
| Each plugin ships the `mastercard-developers-bestpractice` skill under | ||
| `skills/`. The skill instructs agents on how to set up the Mastercard | ||
| Developers MCP server (remote and local) and how to reach Mastercard | ||
| documentation in `llms.txt` format. | ||
|
|
||
| > **Do not edit the skill copies under `providers/*/plugin/skills/`.** They are | ||
| > generated from the canonical [`skills/`](../skills/) directory at the | ||
| > repository root. Edit the canonical file, then run `node scripts/sync.js` | ||
| > to propagate the change to every provider. `node scripts/sync.js --check` | ||
| > (also run in CI) verifies the copies are in sync. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| { | ||
| "name": "mastercard-developers", | ||
| "description": "Mastercard Developers plugin for Claude to help build integrations with Mastercard APIs, including best practices and the Mastercard Developers MCP server.", | ||
| "version": "1.0.0", | ||
| "author": { | ||
| "name": "Mastercard", | ||
| "url": "https://developer.mastercard.com" | ||
| }, | ||
| "homepage": "https://developer.mastercard.com", | ||
| "repository": "https://github.com/Mastercard/developers-agent-toolkit", | ||
| "license": "MIT", | ||
| "keywords": [ | ||
| "mastercard", | ||
| "mastercard-developers", | ||
| "payments", | ||
| "api", | ||
| "open-banking", | ||
| "open-finance", | ||
| "integration", | ||
| "mcp", | ||
| "modelcontextprotocol", | ||
| "agent-toolkit" | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| { | ||
| "mcpServers": { | ||
| "mastercard-developers": { | ||
| "type": "http", | ||
| "url": "https://developer.mcp.mastercard.com" | ||
| } | ||
| } | ||
| } |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.