MCPcopy Index your code
hub / github.com/PaystackOSS/paystack-mcp-server / showHelp

Function showHelp

src/index.ts:15–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13
14// Show help message
15function showHelp() {
16 console.log(`
17Paystack MCP Server
18
19Usage:
20 npx @paystack/mcp-server --api-key <your-test-secret-key>
21
22Options:
23 --api-key <key> Your Paystack test secret key (starts with sk_test_)
24 --help, -h Show this help message
25
26Environment Variables:
27 PAYSTACK_TEST_SECRET_KEY Fallback if --api-key not provided
28
29Examples:
30 npx @paystack/mcp-server --api-key sk_test_1234567890abcdef
31 PAYSTACK_TEST_SECRET_KEY=sk_test_... npx @paystack/mcp-server
32`);
33}
34
35async function main() {
36 // Handle help flag

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected