PP

paystackoss/paystack-mcp-server

Developer tools公式

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

56 stars 14 forks 品質 81 トレンド 4MIT

paystackoss/paystack-mcp-server は [https://github.com/paystackoss/paystack-mcp-server. からインポートされた MCP サーバーの候補です

概要

paystackoss/paystack-mcp-server は [https://github.com/paystackoss/paystack-mcp-server. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

AI アシスタントが Paystack API のフルレンジとやり取りできるモデルコンテキストプロトコル (MCP) サーバー。

[!警告] 公開プレビュー: MCP サーバーは現在公開プレビュー中です。 次の反復を改善するために早期フィードバックを求めていますので、慎重に使用し、あなたが遭遇する問題を報告してください。

クイックスタート

npm(推奨)でインストールして実行する:

またはローカル開発、クローン作成、ビルド:

次に、MCP クライアントをサーバー(クライアントインテグレーション参照)を使用するように設定します。

要件

  • Node.js v18+
  • npmかヤーン
  • Paystackテストシークレットキー(sk_test_で起動)

設定オプション

| 環境変数 | 目的 | | ----------------------------------------------------------------------------------------------- | | [PAYSTACK_TEST_SECRET_KEY | ペイスタックテストシークレットキー(CLIアルグなしのフォールバック) |

API キーを 2 つの方法で提供できます。 1.CLI引数(推奨): [--api-key sk_test_...] 2.環境変数: セット[PAYSTACK_TEST_SECRET_KEY]

セキュリティノート: テストキー([T4])のみが許可されます。 サーバは起動時にこれを検証し、ライブキーを拒否します。

クライアントの統合

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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:

  1. CLI argument (recommended): --api-key sk_test_...
  2. 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.).

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 node

Windows

where node

Once 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
GitHub で README 全文を見る

インストール

npx @paystack/mcp-server --api-key sk_test_...
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "paystack": { "command": "npx", "args": ["@paystack/mcp-server", "--api-key", "sk_test_..."] } } }