Paystack MCP server
AI 어시스턴트가 Paystack API를 사용하여 트랜잭션, 고객 및 결제를 관리할 수 있도록 지원합니다.
다른 이름 PaystackOSS/paystack-mcp-server
- 스타
- 56
- Tools
- 2
- 다운로드, 30일
- —
- 최신 버전
- —
- 마지막 커밋
- 2026년 6월 29일
- 라이선스
- MIT
Paystack MCP란?
Paystack은(는) MCP server입니다. AI 어시스턴트가 Paystack API를 사용하여 트랜잭션, 고객 및 결제를 관리할 수 있도록 지원합니다. 2개 도구를 제공합니다. 예: get_paystack_operation, make_paystack_request.
프로젝트 README에서 생성된 요약
Paystack MCP server 정보
Paystack API를 통한 금융 트랜잭션 및 고객 데이터 관리를 AI 어시스턴트에서 직접 수행할 수 있습니다. 이 server는 런타임에 OpenAPI 사양을 파싱하여 모델을 Paystack의 모든 작업에 연결합니다. 고정된 엔드포인트에 의존하는 대신 동적 탐색 방식을 사용하여 make_paystack_request 및 get_paystack_operation과 같은 특정 도구를 통해 사용 가능한 모든 API 작업에 접근할 수 있습니다.
개발자는 이 server를 Claude Desktop, Cursor, Windsurf 또는 ChatGPT Desktop과 같은 MCP 호환 클라이언트에 통합할 수 있습니다. 설정에는 Node.js v18 이상과 sk_test_로 시작하는 Paystack 테스트 secret key가 필요합니다. 보안을 위해 server는 실제 키를 명시적으로 거부하며 테스트 환경 자격 증명만 허용합니다. npx를 통해 server를 실행하거나 개발 목적으로 저장소를 로컬에서 빌드하여 사용할 수 있습니다.
활용 사례
- 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 secret key를 사용할 수 있나요?
sk_test_로 시작하는 테스트 키만 사용할 수 있습니다. 서버 시작 시 이를 검증하며, 보안을 위해 실제 키는 거부됩니다.
서버에 API key를 어떻게 제공하나요?
--api-key CLI 인자를 사용하거나 PAYSTACK_TEST_SECRET_KEY 환경 변수를 설정하여 제공할 수 있습니다.
이 MCP server를 통해 어떤 도구를 사용할 수 있나요?
작업 상세 정보를 가져오는 get_paystack_operation과 Paystack API 요청을 실행하는 make_paystack_request 도구를 제공합니다.