MerchantGuard MCP Server

MerchantGuard MCP Server

Provides AI-native fraud scoring, risk intelligence, and compliance tools for AI agents processing payments across multiple rails.

Category
访问服务器

README

MerchantGuard MCP Server

AI-native fraud scoring and risk intelligence for agentic commerce.

A Model Context Protocol (MCP) server that provides real-time fraud detection, risk scoring, and compliance tools for AI agents processing payments. Works alongside any payment MCP server (Worldpay, Stripe, Coinbase, etc.) as the security and trust layer.

Why MerchantGuard MCP?

As AI agents begin transacting autonomously (200M+ agent orders on Alibaba, DoorDash building agentic commerce, Stripe confirming stablecoins as core infrastructure), the payment industry faces a critical gap: existing fraud tools only work within their own rail.

Visa's fraud detection only scores Visa transactions. Stripe Radar only works on Stripe. But agents will use multiple rails simultaneously — cards, stablecoins, crypto, ACH. Who scores across all of them?

MerchantGuard MCP is the cross-rail security layer for the agentic economy.

AI Agent
  -> MerchantGuard MCP (risk scoring)  <-- YOU ARE HERE
    -> Worldpay MCP / Stripe MCP / Coinbase (payment processing)

Tools

Tool Category Description
guardscore_transaction_risk Scoring Score any transaction for fraud risk (0-100) before payment. Supports card, stablecoin, crypto, ACH, wire.
guardscore_merchant_lookup Scoring Look up a merchant's GuardScore, verification status, chargeback rate, and VAMP standing.
guardscore_agent_verify Scoring Privacy-preserving agent verification via OPRF (RFC 9497). Agents prove trustworthiness without exposing internals. The "3DS for AI agents."
guardscore_dispute_predict Monitoring Predict chargeback probability and recommended preventive actions.
guardscore_velocity_check Monitoring Detect anomalous transaction velocity for merchants, agents, cards, or wallets.
guardscore_cross_rail_check Compliance Analyze activity across multiple payment rails to detect cross-rail fraud.
guardscore_vamp_analysis Compliance Analyze Visa VAMP status with threshold distances and remediation actions.

Quick Start

Using npm

npm install
npm run build
npm start

Using Docker

docker build -t merchantguard/mcp .
docker run -p 3002:3002 --env-file .env merchantguard/mcp

Using stdio (for Claude Desktop, Cursor, etc.)

npm run start:stdio

Configuration

Copy .env.example to .env:

cp .env.example .env
Variable Default Description
MERCHANTGUARD_API_URL https://api.merchantguard.ai/v1 MerchantGuard API endpoint
MERCHANTGUARD_API_KEY demo API key (demo mode works without a key)
PORT 3002 HTTP server port
GUARDSCORE_HIGH_RISK_THRESHOLD 30 Score below this = high risk
GUARDSCORE_MEDIUM_RISK_THRESHOLD 60 Score below this = medium risk
GUARDSCORE_AUTO_DECLINE_THRESHOLD 15 Score below this = auto-decline

Integration Examples

With Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "merchantguard": {
      "command": "node",
      "args": ["/path/to/merchantguard-mcp/dist/server-stdio.js"],
      "env": {
        "MERCHANTGUARD_API_KEY": "your_key_here"
      }
    }
  }
}

With Worldpay MCP (Side-by-Side)

An AI agent connects to both servers. Before processing any payment through Worldpay, it first scores the transaction through MerchantGuard:

{
  "mcpServers": {
    "merchantguard": {
      "command": "node",
      "args": ["/path/to/merchantguard-mcp/dist/server-stdio.js"]
    },
    "worldpay": {
      "command": "node",
      "args": ["/path/to/worldpay-mcp/dist/server-stdio.js"]
    }
  }
}

Agent workflow:

  1. Call guardscore_transaction_risk to score the transaction
  2. If approved, call guardscore_merchant_lookup to verify the merchant
  3. If the agent is autonomous, call guardscore_agent_verify to confirm authorization
  4. Process payment via Worldpay's take_guest_payment
  5. Call guardscore_dispute_predict to assess post-transaction risk

With OpenAI Agentic Commerce Protocol (ACP)

MerchantGuard MCP can serve as the risk assessment layer in ACP flows:

Buyer Agent -> ACP Checkout -> MerchantGuard (risk check) -> Payment Provider -> Merchant

Architecture

src/
  api/
    guardscore.ts          # GuardScore API client
  tools/
    mcp-tool.ts            # Base tool interface
    scoring/
      TransactionRiskScore.ts   # Pre-payment risk scoring
      MerchantLookup.ts         # Merchant intelligence
      AgentVerify.ts            # AI agent verification
    monitoring/
      DisputePredict.ts         # Chargeback prediction
      VelocityCheck.ts          # Velocity anomaly detection
    compliance/
      CrossRailCheck.ts         # Cross-rail fraud detection
      VAMPAnalysis.ts           # Visa VAMP compliance
  schemas/
    schemas.ts             # Zod validation schemas
  types/
    index.ts               # TypeScript type definitions
  utils/
    logger.ts              # Logging
    mcp-response.ts        # MCP response helpers
  merchantguard-mcp-server.ts  # Main server class
  server-http.ts               # HTTP transport entry point
  server-stdio.ts              # stdio transport entry point

About MerchantGuard

MerchantGuard is the privacy-preserving fraud scoring platform for high-risk and agentic commerce. Our patented cross-rail fraud detection technology scores transactions across card networks, stablecoins, and crypto — providing unified risk intelligence that rail-specific tools can't match.

Patent Portfolio: Cross-Lingual BFT Paradox scoring, Multi-Agent AI Security, and GuardScore risk engine.

Member: Agentic AI Foundation (AAIF) by the Linux Foundation.

Privacy-Preserving Architecture: OPRF behavioral fingerprinting (RFC 9497), soulbound agent credentials, zero-knowledge trust verification. Agents prove compliance without exposing internals.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选