
zakblacki/satim-payment-gateway-integration
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
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
- Installation
- Configuration
- Payment Flow
- Tools
- Testing
- Integration Requirements
- Error Handling
- Examples
- Security Considerations
Installation
Prerequisites
- Node.js 18+
- npm or yarn
Step-by-Step Setup
- Clone and enter the project directory:
git clone https://github.com/zakblacki/Satim-Payment-Gateway-Integration.git
cd satim-payment-gateway-integration
- Initialize the project (if package.json doesn’t exist):
npm init -y
- Configure package.json for ES modules:
npm pkg set type=module
- Install dependencies:
# Core dependencies
npm install @modelcontextprotocol/sdk axios
# Development dependencies
npm install --save-dev typescript @types/node tsx
Running the Server
Option 1: Direct execution with tsx (Recommended for development)
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:
Установка
npx @devqxi/satim-payment-gateway-mcpКонфигурация
{
"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"
}
}
}
}