@michaelbel/ai-workflow-mcp 1.0.0 → 1.0.1
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/dist/index.js +7 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7,9 +7,16 @@ import { fetchFile, listTree } from "./github.js";
|
|
|
7
7
|
const OWNER = "michaelbel";
|
|
8
8
|
const REPO = "ai-workflow";
|
|
9
9
|
const BRANCH = "main";
|
|
10
|
+
const SERVER_INSTRUCTIONS = [
|
|
11
|
+
"Use this server as the source of truth for ai-workflow rules and skills.",
|
|
12
|
+
"Before any git commit, call get_rule with name 'git/GIT_RULES' and apply the returned rules.",
|
|
13
|
+
"Before deleting files, call get_rule with name 'project/FILESYSTEM_RULES' and apply the returned rules.",
|
|
14
|
+
].join("\n");
|
|
10
15
|
const server = new McpServer({
|
|
11
16
|
name: "@michaelbel/ai-workflow-mcp",
|
|
12
17
|
version: "1.0.0",
|
|
18
|
+
}, {
|
|
19
|
+
instructions: SERVER_INSTRUCTIONS,
|
|
13
20
|
});
|
|
14
21
|
// ─── list ────────────────────────────────────────────────────────────────────
|
|
15
22
|
server.tool("list", "List all available rules and skills in the ai-workflow repository", {}, async () => {
|