@authtrack/secura 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/secura-mcp.mjs +19 -0
- package/package.json +1 -1
package/bin/secura-mcp.mjs
CHANGED
|
@@ -409,4 +409,23 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
|
|
|
409
409
|
|
|
410
410
|
const transport = new StdioServerTransport();
|
|
411
411
|
await server.connect(transport);
|
|
412
|
+
|
|
413
|
+
// Print to stderr (not stdout — stdout is the MCP protocol wire)
|
|
414
|
+
process.stderr.write([
|
|
415
|
+
"",
|
|
416
|
+
" ╔══════════════════════════════════════════════╗",
|
|
417
|
+
" ║ SecuraAI MCP Server v0.1.1 ║",
|
|
418
|
+
" ║ Listening for MCP messages on stdin… ║",
|
|
419
|
+
" ╚══════════════════════════════════════════════╝",
|
|
420
|
+
"",
|
|
421
|
+
" ✓ 3 tools available: run_static_scan · run_recon · run_header_audit",
|
|
422
|
+
` ✓ Backend: ${resolveConfig().api}`,
|
|
423
|
+
"",
|
|
424
|
+
" NOTE: You don't run this manually.",
|
|
425
|
+
" Add it to your editor's MCP config and restart the editor.",
|
|
426
|
+
" The editor will spawn this process automatically.",
|
|
427
|
+
"",
|
|
428
|
+
" Press Ctrl+C to exit.",
|
|
429
|
+
"",
|
|
430
|
+
].join("\n"));
|
|
412
431
|
// Server runs until the editor closes stdin.
|
package/package.json
CHANGED