4,500+ servers built on MCP Fusion
Vinkius
Mastercard logo
Vinkius
Cursor logo

How to Use the Mastercard MCP in Cursor

Give Cursor Agent access to the Mastercard MCP Server to test payment logic, pull BIN data, and build fraud features without mock data.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Mastercard MCP on Cursor AI Code Editor MCP Client Mastercard MCP on Claude Desktop App MCP Integration Mastercard MCP on OpenAI Agents SDK MCP Compatible Mastercard MCP on Visual Studio Code MCP Extension Client Mastercard MCP on GitHub Copilot AI Agent MCP Integration Mastercard MCP on Google Gemini AI MCP Integration Mastercard MCP on Lovable AI Development MCP Client Mastercard MCP on Mistral AI Agents MCP Compatible Mastercard MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Cursor

Connect Mastercard MCP to Cursor

Create your Vinkius account to connect Mastercard to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Build payment flows with real Mastercard data

The `validate_account` tool pings the Mastercard gateway to confirm if a card number is active. When you ask Cursor to build an onboarding flow, the Agent can actually test the validation logic against a live endpoint instead of writing stubbed responses. It returns the exact JSON schema, including the VALID or INVALID status and the issuer details. If you are building a routing engine that depends on card types, `bin_lookup` pulls the exact bank name, currency, and product flags from the first six digits. Cursor uses this live response to write accurate TypeScript interfaces and error handling logic for your specific use case.

Inject live merchant coordinates into your code

The `search_places` tool returns merchant locations, complete with Apple Pay and Google Pay acceptance flags, based on GPS coordinates. You tell Cursor Agent to populate a map component, and it calls the tool to grab real businesses within a specific kilometer radius. It drops the actual latitude and longitude data straight into your state management code. If your application groups businesses by industry, the Agent can call `merchant_industry_codes` to pull the top-level hierarchy. It then uses `merchant_category_codes` to map specific 4-digit IDs to those industries, generating the exact lookup tables your database needs.

Test fraud reporting logic via this MCP Server

The `submit_fraud_report` tool sends confirmed fraud data to the network using specific ISO 4217 currency codes and two-digit fraud types. Cursor Agent can execute this tool to verify your request signing and payload structure before you deploy. You pass the transaction ID and amount, and the Agent confirms if the API accepts the format. This eliminates the guesswork of building compliance integrations. Instead of reading the API docs and hoping you got the date format right, the Agent runs the tool, catches any validation errors from the server, and rewrites your function until the payload succeeds.

Setup guide

Set up Mastercard MCP in Cursor

Prerequisites

  • Cursor installed (macOS, Windows, or Linux)
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Open MCP Settings

    Go to Cursor Settings → MCP or open the Command Palette (Cmd+Shift+P / Ctrl+Shift+P) and search for "MCP: Add Server".

  2. 2

    Add the Mastercard MCP

    Cursor will create or open .cursor/mcp.json in your project root. Paste the JSON snippet on the right. Replace [YOUR_TOKEN_HERE] with your endpoint token from cloud.vinkius.com.

  3. 3

    Enable Agent mode

    Open Composer (Cmd+I / Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode.

  4. 4

    Verify the connection

    Ask Cursor something like "List my recent Mastercard transactions." If the MCP tools are loaded correctly, Cursor will call the Mastercard tools automatically. You can also check Settings → MCP for a green status indicator.

.cursor/mcp.json
{
  "mcpServers": {
    "mastercard-mcp": {
      "url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
    }
  }
}

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Mastercard. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Mastercard MCP in Cursor

Create an mcp.json file in your project root directory. Add the Vinkius URL and your endpoint token. Switch your chat to Agent mode, and the editor will automatically read the available endpoints.
You do not need mock data. The `nearby_locations` tool pulls actual points of interest and payment infrastructure based on real coordinates. The Agent injects these live responses directly into your test files.
You likely provided a suspected fraud case or missed a required field. The tool demands exact string matches for the fraud type code, and it only accepts confirmed fraud events.
Yes. It will use `bin_lookup` for standard GET requests. If your prompt mentions handling sensitive data or strict compliance rules, the Agent switches to `bin_lookup_post`.
This MCP server transmits transaction amounts and exact GPS coordinates to the API. We wrap this traffic in a zero-trust V8 isolate that processes the payload and immediately terminates. Your endpoint token authenticates the session, ensuring no raw credentials sit in your local environment variables while you code.

Start using the Mastercard MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 12 tools

We've already built the connector for Mastercard. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 12 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.