Skip to content

Commit 8090fbe

Browse files
Merge pull request #4 from PaystackOSS/feat-make-api-request
Feat make api request
2 parents 26d6029 + 3e4a906 commit 8090fbe

8 files changed

Lines changed: 276 additions & 186 deletions

File tree

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
PAYSTACK_BASE_URL="https://api.paystack.co"
22
USER_AGENT="paystack-mcp/1.0"
3-
PAYSTACK_SECRET_KEY="sk_secret_key_here"
3+
PAYSTACK_TEST_SECRET_KEY="sk_secret_key_here"

package-lock.json

Lines changed: 65 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"paystack": "./build/index.js"
77
},
88
"scripts": {
9-
"build": "tsc",
9+
"build": "tsc && cp -r src/data build/",
1010
"build:watch": "tsc --watch",
1111
"dev": "tsx src/index.ts",
1212
"inspect": "set DANGEROUSLY_OMIT_AUTH=true && CLIENT_PORT=8090 SERVER_PORT=9000 npx @modelcontextprotocol/inspector npm run dev",
@@ -21,14 +21,15 @@
2121
"dependencies": {
2222
"@modelcontextprotocol/inspector": "^0.18.0",
2323
"@modelcontextprotocol/sdk": "^1.25.2",
24-
"zod": "^3.25.76"
24+
"dotenv": "^17.2.3",
25+
"zod": "^4.3.6"
2526
},
2627
"devDependencies": {
2728
"@apidevtools/swagger-parser": "^12.1.0",
2829
"@types/mocha": "^10.0.10",
2930
"@types/node": "^25.0.7",
3031
"js-yaml": "^4.1.1",
31-
"mocha": "^11.7.5",
32+
"mocha": "^11.3.0",
3233
"openapi-types": "^12.1.3",
3334
"tsx": "^4.21.0",
3435
"typescript": "^5.9.3"

0 commit comments

Comments
 (0)