Skip to content

Commit d3710cd

Browse files
add mcp server snippets
1 parent 94af513 commit d3710cd

7 files changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
const hosted = `{
2+
"mcpServers": {
3+
"paystack": {
4+
"command": "npx",
5+
"args": ["@paystack/mcp-server", "--api-key", "sk_test_..."]
6+
}
7+
}
8+
}
9+
`
10+
11+
const local = `{
12+
"mcpServers": {
13+
"paystack": {
14+
"command": "node",
15+
"args": ["/path/to/paystack-mcp-server/build/index.js"],
16+
"env": {
17+
"PAYSTACK_TEST_SECRET_KEY": "sk_test_..."
18+
}
19+
}
20+
}
21+
}
22+
`
23+
24+
export {hosted, local}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
const npx = `npx @paystack/mcp-server --api-key sk_test_your_key_here
2+
`
3+
4+
export {npx}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
type: single-lang
2+
languages:
3+
- json
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"mcpServers": {
3+
"paystack": {
4+
"command": "npx",
5+
"args": ["@paystack/mcp-server", "--api-key", "sk_test_..."]
6+
}
7+
}
8+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"mcpServers": {
3+
"paystack": {
4+
"command": "node",
5+
"args": ["/path/to/paystack-mcp-server/build/index.js"],
6+
"env": {
7+
"PAYSTACK_TEST_SECRET_KEY": "sk_test_..."
8+
}
9+
}
10+
}
11+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
type: single-lang
2+
languages:
3+
- sh
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx @paystack/mcp-server --api-key sk_test_your_key_here

0 commit comments

Comments
 (0)