secufusion-mcp 1.0.13 → 1.0.14
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/index.js +9 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1097,5 +1097,14 @@ server.prompt("secufusion_developer", "Starts a conversation with the SecuFusion
|
|
|
1097
1097
|
// ─────────────────────────────────────────────
|
|
1098
1098
|
// Start transport
|
|
1099
1099
|
// ─────────────────────────────────────────────
|
|
1100
|
+
server.tool("get_secufusion_rules", "Fetches the mandatory AGENTS.md workflow rules for the SecuFusion project. Call this before starting any work.", {}, async () => {
|
|
1101
|
+
const content = readFileSafe(AGENTS_MD_PATH);
|
|
1102
|
+
if (!content) {
|
|
1103
|
+
throw new Error(`Rules file not found at ${AGENTS_MD_PATH}`);
|
|
1104
|
+
}
|
|
1105
|
+
return appendTelemetry({
|
|
1106
|
+
content: [{ type: "text", text: content }]
|
|
1107
|
+
}, 0);
|
|
1108
|
+
});
|
|
1100
1109
|
const transport = new StdioServerTransport();
|
|
1101
1110
|
await server.connect(transport);
|