Skip to main content
Glama
ramigs

payments-toolkit-mcp

by ramigs

payments-toolkit-mcp

Ein minimaler Model Context Protocol (MCP)-Server, der als praktisches Lernprojekt entwickelt wurde (siehe PLAN.md für die vollständige Schritt-für-Schritt-Anleitung).

Er stellt zahlungsbezogene Validierungsfunktionen als MCP-Tools und eine statische Ressource bereit — alles lokale Logik, keine Netzwerkaufrufe, keine API-Schlüssel erforderlich.

Tools

  • validate_card_number — Luhn-Prüfsummenvalidierung für eine Kartennummer (nur Ziffern, 8-19 Stellen).

  • detect_card_type — identifiziert das Kartennetzwerk (Visa, Mastercard, American Express, Discover, Diners Club, JCB) anhand des IIN/BIN-Präfixes.

  • validate_iban — Format-, länderspezifische Längen- und ISO-13616-Mod-97-Prüfsummenvalidierung für eine IBAN.

Related MCP server: stripe-mcp-server

Ressourcen

  • card_networks (payments-toolkit://card-networks) — statische JSON-Auflistung der unterstützten Kartennetzwerke und ihrer Präfixbereiche.

Voraussetzungen

  • Node.js 18+ (Projekt entwickelt mit v24)

  • pnpm

Einrichtung

pnpm install
pnpm run build

Verwendung

Server eigenständig ausführen (er wartet auf stdio, dient also hauptsächlich zur Überprüfung):

pnpm run start

Tools/Ressource direkt über eine lokale Weboberfläche prüfen und aufrufen, ohne einen Client einzurichten:

pnpm run inspect

Mit Claude Code verbinden

claude mcp add payments-toolkit-mcp -- node /path/to/payments-toolkit-mcp/dist/index.js
claude mcp list

Führen Sie in einer Claude-Code-Sitzung /mcp aus, um die Verbindung zu bestätigen und die erkannten Tools/Ressourcen zu sehen.

Projektstruktur

src/
  index.ts                   # composition root: creates the server, wires up transport
  lib/                       # pure validation/lookup logic (no MCP dependency)
    luhn.ts
    card-networks.ts
    iban.ts
    schemas.ts
  tools/                     # one file per registered MCP tool
    validate-card-number.ts
    detect-card-type.ts
    validate-iban.ts
  resources/                 # one file per registered MCP resource
    card-networks.ts

Hinweise

  • Verwenden Sie in diesem Server niemals console.log — stdout ist für den JSON-RPC-Protokollstream über stdio reserviert. Verwenden Sie console.error für jegliche Debug-Ausgabe.

Install Server
F
license - not found
A
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    An MCP server for validating JSON against schemas, checking email deliverability, verifying URLs, assessing data quality, and validating API responses using RFC-compliant checks and heuristic analysis.
    11
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A local MCP server for Stripe payment operations with 52 tools across 8 domains, featuring built-in PII redaction and strict input validation for safe AI-assisted development workflows.
    52
    40
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that provides AI agents with tools to validate SWIFT MT and ISO 20022 MX payment messages, check BIC/IBAN correctness, and convert between MT and MX formats.
    7
    11
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    A fully local, closed-world MCP server that manages, validates, and serves bank-specific ISO 20022 clearing profiles and rule packs, enabling AI agents to discover profiles, fetch them, lint payloads against them, and validate rule-pack definitions.
    4
    1
    Apache 2.0

View all related MCP servers

Related MCP Connectors

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ramigs/payments-toolkit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server