Paystack MCPサーバー
AIアシスタントがPaystack APIと連携し、取引、顧客、決済の管理を可能にします。
別名 PaystackOSS/paystack-mcp-server
- スター
- 56
- ツール
- 2
- ダウンロード数(30日間)
- —
- 最新バージョン
- —
- 最終コミット
- 2026年6月29日
- ライセンス
- MIT
Paystack MCPとは
PaystackはMCPサーバーです。 AIアシスタントがPaystack APIと連携し、取引、顧客、決済の管理を可能にします。. 2個のツールを提供しており、get_paystack_operation, make_paystack_requestなどがあります。
プロジェクトのREADMEから生成された概要
Paystack MCP server について
Paystack APIを通じた金融取引や顧客データの管理を、AIアシスタントから直接行うことができます。このサーバーは、実行時にOpenAPI仕様を解析することで、モデルをPaystackのあらゆる操作に接続します。固定されたエンドポイントに依存するのではなく、動的なディスカバリを利用して、make_paystack_requestやget_paystack_operationといった特定のツールを通じて、利用可能なあらゆるAPI操作へのアクセスを提供します。
開発者は、Claude Desktop、Cursor、Windsurf、ChatGPT DesktopなどのMCP対応クライアントにこのサーバーを統合できます。セットアップにはNode.js v18以降と、sk_test_で始まるPaystackテストシークレットキーが必要です。セキュリティ上の理由から、サーバーは本番用キーを明示的に拒否し、テスト環境の認証情報のみを許可します。サーバーはnpx経由で実行するか、開発目的でリポジトリをローカルにビルドして実行できます。
できること
- 1取引履歴の取得アカウントから最新の決済情報を取得するようアシスタントに指示します。
- 2新規顧客の作成メールアドレスを使用して、新しいユーザープロファイルを登録するようAIに指示します。
- 3新規決済の初期化ローカル通貨での特定の取引金額の設定をリクエストします。
- 4API機能の探索Paystackエコシステム内で利用可能なすべての操作をリストアップするためにアシスタントを使用します。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
Paystack MCPツール 2
READMEから検出get_paystack_operationmake_paystack_request
| get_paystack_operation | — | |
| make_paystack_request | — |
設定
PAYSTACK_TEST_SECRET_KEY
| 名前 | 説明 | 種類 |
|---|---|---|
| PAYSTACK_TEST_SECRET_KEY | — |
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能paystackoss/paystack-mcp-server is public and reachablegithub.com/paystackoss/paystack-mcp-server ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-06-29github.com/paystackoss/paystack-mcp-server ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない2 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされているNo tool named like delete, drop or exec合格
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るPaystack MCP Server
A Model Context Protocol (MCP) server that enables AI assistants to interact with the full range of Paystack APIs.
[!WARNING] Public Preview: This MCP server is currently in public preview. We're seeking early feedback to improve the next iteration, so use cautiously and report any issues you encounter.
Quick Start
Install and run via npm (recommended):
npx @paystack/mcp-server --api-key sk_test_your_key_here
Or for local development, clone and build:
git clone https://github.com/PaystackOSS/paystack-mcp-server.git
cd paystack-mcp-server
npm install
npm run build
Then configure your MCP client to use the server (see Client Integration).
Requirements
- Node.js v18+
- npm or yarn
- A Paystack test secret key (starts with
sk_test_)
Configuration Options
| Environment Variable | Purpose |
|---|---|
PAYSTACK_TEST_SECRET_KEY |
Your Paystack test secret key (fallback if no CLI arg) |
You can provide your API key in two ways:
- CLI argument (recommended):
--api-key sk_test_... - Environment variable: Set
PAYSTACK_TEST_SECRET_KEY
Security note: Only test keys (
sk_test_*) are allowed. The server validates this at startup and will reject live keys.
Client Integration
The Paystack MCP Server works with any MCP-compatible client. Below is the standard configuration schema used by most clients (Claude Desktop, ChatGPT Desktop, Cursor, Windsurf, etc.).
Using npm (recommended)
For npm-installed server:
{
"mcpServers": {
"paystack": {
"command": "npx",
"args": ["@paystack/mcp-server", "--api-key", "sk_test_..."]
}
}
}
Using a local build
If you've cloned and built the server locally:
{
"mcpServers": {
"paystack": {
"command": "node",
"args": ["/path/to/paystack-mcp-server/build/index.js"],
"env": {
"PAYSTACK_TEST_SECRET_KEY": "sk_test_..."
}
}
}
}
[!IMPORTANT] When setting
command: "node", you should ensure you're using Node v18+. If you are using a package manager, you might need to get the path of your Node binary by running this command in your CLI:Linux and MacOS
which nodeWindows
where nodeOnce you have the path, use it as the value of the MCP Server command in the JSON configuration. e.g.,
command: "path/to/installation/bin/node"
Where to add this configuration
| Client | Config file location |
|---|---|
| VS Code | .vscode/mcp.json |
| Claude Desktop | claude_desktop_config.json |
| ChatGPT Desktop | MCP settings in app preferences |
| Cursor | .cursor/mcp.json or global MCP settings |
| Windsurf | MCP configuration in settings |
| Claude Code | ~/.claude/mcp.json or project-level .mcp.json |
How It Works
The Paystack MCP Server exposes the entire Paystack API to AI assistants by parsing Paystack's OpenAPI specification at runtime. Instead of hardcoding individual endpoints, the server dynamically discovers all available operations and makes them accessible through a small set of tools.
Available Tools
| Tool | Description |
|---|---|
get_paystack_operation |
Fetch operation details (method, path, parameters) by operation ID |
make_paystack_request |
Execute a Paystack API request |
Available Resources
| Resource | URI | Description |
|---|---|---|
paystack_operation_list |
paystack://operations/list |
List all available Paystack operations and their details |
Example
When you ask your AI assistant something like "Get me the last 5 transactions on my Paystack integration", here's what happens behind the scenes:
- The assistant calls
get_paystack_operation("transaction_list")to look up the endpoint details - It gets back the method (
GET), path (/transaction), and available query parameters - It then calls
make_paystack_requestwith{ method: "GET", path: "/transaction", data: { perPage: 5 } } - You get your transactions
Prompt recommendation
To get the best results when using this MCP server, be specific in your prompts and always include "Paystack" in your requests. The server provides built-in instructions and a knowledge resource (paystack://skill) that help the AI assistant find the right documentation, code snippets, and API details.
Good prompts:
- "Initialize a Paystack transaction for 50000 NGN"
- "Create a customer with email user@example.com on my Paystack account"
- "How can I send money with the Paystack API?"
- "Show me a cURL example for verifying a Paystack transaction"
Less effective prompts:
- "List my transactions" (unclear which service to use)
- "Charge a customer" (missing context about Paystack)
Being explicit ensures the LLM narrows down to the right tool quickly and reduces ambiguity.
Development
Run locally (without building)
For local development and testing, you can run the TypeScript source directly:
PAYSTACK_TEST_SECRET_KEY=sk_test_... npm run dev
Run with MCP Inspector
npm run inspect
Build
npm run build
Run tests
npm test
Troubleshooting
| Issue | Solution |
|---|---|
| Server exits silently at startup | Check that PAYSTACK_TEST_SECRET_KEY is set |
| "Invalid key" error | Key must start with sk_test_ — live keys are not allowed |
| Tools not appearing in client | Ensure the server is running and the client config path is correct |
| Request timeouts | Check network connectivity to api.paystack.co |
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
See CONTRIBUTING.md for more details.
License
MIT
Paystack MCPのよくある質問
Paystack MCPが提供するツールは
2個のツールを提供しており、get_paystack_operation, make_paystack_requestなどがあります。
本番用のPaystackシークレットキーは使用できますか?
いいえ、sk_test_で始まるテストキーのみ使用可能です。セキュリティのため、サーバー起動時に検証が行われ、本番用キーは拒否されます。
APIキーをサーバーにどのように渡せばよいですか?
CLI引数として--api-keyを使用するか、環境変数PAYSTACK_TEST_SECRET_KEYを設定することで提供できます。
このMCP serverではどのようなツールが利用できますか?
操作の詳細を取得するget_paystack_operationと、Paystack APIリクエストを実行するmake_paystack_requestが利用可能です。