
zakblacki/satim-payment-gateway-integration
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
非公式サティムゲートウェイMCP
概要
AlgeriaのSATIM支払いゲートウェイシステムと統合するためのモデルコンテキストプロトコル(MCP)サーバー。 サーバは、SATIM-ePAYプラットフォームを介してCIB/Edhabiaカード決済を処理するための構造インターフェイスを提供します。 このパッケージは、Cursor、Claude、CopilotなどのAIアシスタントが、標準化されたインターフェイスでアカウントデータを直接アクセスできるようにします。 MCP クライアント (Claude Desktop のような) でこのサーバーを使用するには、設定を追加します。 支払いツールを使用する前に、SATIM の認証情報を設定します。 生産のために、環境変数を使用して検討して下さい: 完全な支払プロセスは、次の手順に従います。 - お客様は、SATIMフォームのCIB/Edhabiaカードの詳細を埋めます - 顧客は、returnUrl/failUrlにリダイレクトされます 検証結果に基づいて、適切なメッセージを顧客に表示します。 - userName(文字列、必須): 商人ログイン - パスワード(文字列、必須): 商人パスワード
概要(AI 翻訳)
Satim支払いゲートウェイの統合
AlgeriaのSATIM支払いゲートウェイシステムと統合するためのモデルコンテキストプロトコル(MCP)サーバー。 サーバは、SATIM-ePAYプラットフォームを介してCIB/Edhabiaカード決済を処理するための構造インターフェイスを提供します。 このパッケージは、Cursor、Claude、CopilotなどのAIアシスタントが、標準化されたインターフェイスでアカウントデータを直接アクセスできるようにします。
クイックスタート
コンテンツの表
- 取付け
- 構成
- 支払の流れ
- ツール
- テスト
- 統合要件
- エラー処理
- 事例
- セキュリティの考慮事項
インストール
前提条件
- Node.js 18 +
- npmかヤーン
##ステップバイステップセットアップ
1.プロジェクトディレクトリのクローンと入力:
2.プロジェクトを初期化(package.jsonが存在しない場合):
3.ESモジュール用のpackage.jsonの設定:
4.依存関係のインストール:
サーバーの実行
###Option 1: tsx で直接実行 (開発のために推奨)
####Option 2:コンパイルと実行
####Option 3:自動リロードによる開発モード
設定
MCP クライアント構成
MCP クライアント (Claude Desktop のような) でこのサーバーを使用するには、設定を追加します
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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"
}
}
}
}