Skip to content

Commit d05b2a3

Browse files
Merge pull request #24 from PaystackOSS/feat/npm-publish
fix: server running
2 parents 83088e8 + 580ff1b commit d05b2a3

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@paystack/mcp-server",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "Model Context Protocol (MCP) server for Paystack API integration",
55
"mcpName": "io.github.PaystackOSS/paystack",
66
"repository": {
@@ -13,6 +13,7 @@
1313
"scripts": {
1414
"build": "tsc && cp -r src/data build/",
1515
"build:watch": "tsc --watch",
16+
"prepack": "npm run build",
1617
"dev": "tsx src/index.ts",
1718
"inspect": "set DANGEROUSLY_OMIT_AUTH=true && CLIENT_PORT=8090 SERVER_PORT=9000 npx @modelcontextprotocol/inspector npm run dev",
1819
"test": "mocha"

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
#!/usr/bin/env node
22
// Simple CLI argument parsing
33
function parseApiKey(): string | undefined {
44
const args = process.argv;
@@ -38,7 +38,7 @@ async function main() {
3838
showHelp();
3939
process.exit(0);
4040
}
41-
41+
4242
const { startServer } = await import("./server");
4343

4444
// Parse API key from CLI

0 commit comments

Comments
 (0)