ZS

zakblacki/satim-payment-gateway-integration

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

15 stars 9 forks 품질 77 트렌드 25GPL-3.0

Unofficial Satim Gateway MCP

개요

A Model Context Protocol (MCP) server for integrating with the SATIM payment gateway system in Algeria. The server provides a structured interface for processing CIB/Edhahabia card payments through the SATIM-ePAY platform. This package enables AI assistants like Cursor, Claude, and Copilot to directly access your account data through a standardized interface. To use this server with an MCP client (like Claude Desktop), add to your configuration: Before using any payment tools, configure your SATIM credentials: For production, consider using environment variables: The complete payment process follows these steps: - Customer fills CIB/Edhahabia card details on SATIM form - Customer is redirected back to your returnUrl/failUrl Based on validation results, display appropriate messages to customers. - userName (string, required): Merchant login - password (string, required): Merchant password

README

원문 README의 일부입니다. 원문 보기.

Obviously you should have already an account created and working to get credentials from here : https://cibweb.dz/fr/login

Satim Payment Gateway Integration

A Model Context Protocol (MCP) server for integrating with the SATIM payment gateway system in Algeria. The server provides a structured interface for processing CIB/Edhahabia card payments through the SATIM-ePAY platform. This package enables AI assistants like Cursor, Claude, and Copilot to directly access your account data through a standardized interface.

Quick Start

# Clone the repository
git clone https://github.com/zakblacki/Satim-Payment-Gateway-Integration.git
cd satim-payment-gateway-integration

# Install dependencies
npm install

# Run the server
npx tsx satim-mcp-server.ts
or
npm run dev

# Demo 
Launch index.html

Table of Contents

  1. Installation
  2. Configuration
  3. Payment Flow
  4. Tools
  5. Testing
  6. Integration Requirements
  7. Error Handling
  8. Examples
  9. Security Considerations

Installation

Prerequisites

  • Node.js 18+
  • npm or yarn

Step-by-Step Setup

  1. Clone and enter the project directory:
git clone https://github.com/zakblacki/Satim-Payment-Gateway-Integration.git
cd satim-payment-gateway-integration
  1. Initialize the project (if package.json doesn’t exist):
npm init -y
  1. Configure package.json for ES modules:
npm pkg set type=module
  1. Install dependencies:
# Core dependencies
npm install @modelcontextprotocol/sdk axios

# Development dependencies
npm install --save-dev typescript @types/node tsx

Running the Server

npx tsx satim-mcp-server.ts

Option 2: Compile and run

# Compile TypeScript
npm run build

# Run compiled JavaScript
npm start

Option 3: Development mode with auto-reload

npm run dev

Configuration

MCP Client Configuration

To use this server with an MCP client (like Claude Desktop), add to your configuration:

{
  "mcpServers": {
      "satim-payment": {
       "command": "npx",
       "args": ["@devqxi/satim-payment-gateway-mcp"],
       "env": {
        "SATIM_USERNAME": "your_test_username",
        "SATIM_PASSWORD": "your_test_password",
        "NODE_ENV": "development"
      }
    }
  }
}

Initial Setup

Before using any payment tools, configure your SATIM credentials:

GitHub에서 전체 README 보기

설치

npx @devqxi/satim-payment-gateway-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "satim-payment": { "command": "npx", "args": ["@devqxi/satim-payment-gateway-mcp"], "env": { "SATIM_USERNAME": "your_test_username", "SATIM_PASSWORD": "your_test_password", "NODE_ENV": "development" } } } }