@fractary/core-mcp 0.1.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.
Files changed (83) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +272 -0
  3. package/dist/config.d.ts +40 -0
  4. package/dist/config.d.ts.map +1 -0
  5. package/dist/config.js +112 -0
  6. package/dist/config.js.map +1 -0
  7. package/dist/handlers/docs.d.ts +58 -0
  8. package/dist/handlers/docs.d.ts.map +1 -0
  9. package/dist/handlers/docs.js +144 -0
  10. package/dist/handlers/docs.js.map +1 -0
  11. package/dist/handlers/file.d.ts +55 -0
  12. package/dist/handlers/file.d.ts.map +1 -0
  13. package/dist/handlers/file.js +153 -0
  14. package/dist/handlers/file.js.map +1 -0
  15. package/dist/handlers/helpers.d.ts +62 -0
  16. package/dist/handlers/helpers.d.ts.map +1 -0
  17. package/dist/handlers/helpers.js +100 -0
  18. package/dist/handlers/helpers.js.map +1 -0
  19. package/dist/handlers/index.d.ts +10 -0
  20. package/dist/handlers/index.d.ts.map +1 -0
  21. package/dist/handlers/index.js +184 -0
  22. package/dist/handlers/index.js.map +1 -0
  23. package/dist/handlers/logs.d.ts +48 -0
  24. package/dist/handlers/logs.d.ts.map +1 -0
  25. package/dist/handlers/logs.js +99 -0
  26. package/dist/handlers/logs.js.map +1 -0
  27. package/dist/handlers/repo.d.ts +158 -0
  28. package/dist/handlers/repo.d.ts.map +1 -0
  29. package/dist/handlers/repo.js +651 -0
  30. package/dist/handlers/repo.js.map +1 -0
  31. package/dist/handlers/security.d.ts +38 -0
  32. package/dist/handlers/security.d.ts.map +1 -0
  33. package/dist/handlers/security.js +79 -0
  34. package/dist/handlers/security.js.map +1 -0
  35. package/dist/handlers/spec.d.ts +39 -0
  36. package/dist/handlers/spec.d.ts.map +1 -0
  37. package/dist/handlers/spec.js +99 -0
  38. package/dist/handlers/spec.js.map +1 -0
  39. package/dist/handlers/work.d.ts +147 -0
  40. package/dist/handlers/work.d.ts.map +1 -0
  41. package/dist/handlers/work.js +373 -0
  42. package/dist/handlers/work.js.map +1 -0
  43. package/dist/index.d.ts +13 -0
  44. package/dist/index.d.ts.map +1 -0
  45. package/dist/index.js +16 -0
  46. package/dist/index.js.map +1 -0
  47. package/dist/server.d.ts +3 -0
  48. package/dist/server.d.ts.map +1 -0
  49. package/dist/server.js +42 -0
  50. package/dist/server.js.map +1 -0
  51. package/dist/tools/docs.d.ts +7 -0
  52. package/dist/tools/docs.d.ts.map +1 -0
  53. package/dist/tools/docs.js +160 -0
  54. package/dist/tools/docs.js.map +1 -0
  55. package/dist/tools/file.d.ts +7 -0
  56. package/dist/tools/file.d.ts.map +1 -0
  57. package/dist/tools/file.js +144 -0
  58. package/dist/tools/file.js.map +1 -0
  59. package/dist/tools/index.d.ts +9 -0
  60. package/dist/tools/index.d.ts.map +1 -0
  61. package/dist/tools/index.js +18 -0
  62. package/dist/tools/index.js.map +1 -0
  63. package/dist/tools/logs.d.ts +7 -0
  64. package/dist/tools/logs.d.ts.map +1 -0
  65. package/dist/tools/logs.js +139 -0
  66. package/dist/tools/logs.js.map +1 -0
  67. package/dist/tools/repo.d.ts +7 -0
  68. package/dist/tools/repo.d.ts.map +1 -0
  69. package/dist/tools/repo.js +694 -0
  70. package/dist/tools/repo.js.map +1 -0
  71. package/dist/tools/spec.d.ts +7 -0
  72. package/dist/tools/spec.d.ts.map +1 -0
  73. package/dist/tools/spec.js +102 -0
  74. package/dist/tools/spec.js.map +1 -0
  75. package/dist/tools/work.d.ts +7 -0
  76. package/dist/tools/work.d.ts.map +1 -0
  77. package/dist/tools/work.js +384 -0
  78. package/dist/tools/work.js.map +1 -0
  79. package/dist/types.d.ts +28 -0
  80. package/dist/types.d.ts.map +1 -0
  81. package/dist/types.js +6 -0
  82. package/dist/types.js.map +1 -0
  83. package/package.json +75 -0
@@ -0,0 +1,7 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ /**
3
+ * MCP tool definitions for the File module
4
+ * 7 tools for file storage operations
5
+ */
6
+ export declare const fileTools: Tool[];
7
+ //# sourceMappingURL=file.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file.d.ts","sourceRoot":"","sources":["../../src/tools/file.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,IAAI,EA0I3B,CAAC"}
@@ -0,0 +1,144 @@
1
+ /**
2
+ * MCP tool definitions for the File module
3
+ * 7 tools for file storage operations
4
+ */
5
+ export const fileTools = [
6
+ {
7
+ name: 'fractary_file_read',
8
+ description: 'Read a file',
9
+ inputSchema: {
10
+ type: 'object',
11
+ required: ['path'],
12
+ properties: {
13
+ path: {
14
+ type: 'string',
15
+ description: 'Path to the file to read',
16
+ },
17
+ encoding: {
18
+ type: 'string',
19
+ description: 'File encoding (default: utf-8)',
20
+ },
21
+ },
22
+ },
23
+ },
24
+ {
25
+ name: 'fractary_file_write',
26
+ description: 'Write content to a file',
27
+ inputSchema: {
28
+ type: 'object',
29
+ required: ['path', 'content'],
30
+ properties: {
31
+ path: {
32
+ type: 'string',
33
+ description: 'Path to the file to write',
34
+ },
35
+ content: {
36
+ type: 'string',
37
+ description: 'Content to write',
38
+ },
39
+ encoding: {
40
+ type: 'string',
41
+ description: 'File encoding (default: utf-8)',
42
+ },
43
+ overwrite: {
44
+ type: 'boolean',
45
+ description: 'Whether to overwrite if file exists',
46
+ },
47
+ },
48
+ },
49
+ },
50
+ {
51
+ name: 'fractary_file_list',
52
+ description: 'List files in a directory',
53
+ inputSchema: {
54
+ type: 'object',
55
+ properties: {
56
+ path: {
57
+ type: 'string',
58
+ description: 'Directory path to list',
59
+ },
60
+ pattern: {
61
+ type: 'string',
62
+ description: 'Glob pattern to filter files',
63
+ },
64
+ recursive: {
65
+ type: 'boolean',
66
+ description: 'Whether to list recursively',
67
+ },
68
+ },
69
+ },
70
+ },
71
+ {
72
+ name: 'fractary_file_delete',
73
+ description: 'Delete a file',
74
+ inputSchema: {
75
+ type: 'object',
76
+ required: ['path'],
77
+ properties: {
78
+ path: {
79
+ type: 'string',
80
+ description: 'Path to the file to delete',
81
+ },
82
+ },
83
+ },
84
+ },
85
+ {
86
+ name: 'fractary_file_exists',
87
+ description: 'Check if a file exists',
88
+ inputSchema: {
89
+ type: 'object',
90
+ required: ['path'],
91
+ properties: {
92
+ path: {
93
+ type: 'string',
94
+ description: 'Path to check',
95
+ },
96
+ },
97
+ },
98
+ },
99
+ {
100
+ name: 'fractary_file_copy',
101
+ description: 'Copy a file',
102
+ inputSchema: {
103
+ type: 'object',
104
+ required: ['source', 'destination'],
105
+ properties: {
106
+ source: {
107
+ type: 'string',
108
+ description: 'Source file path',
109
+ },
110
+ destination: {
111
+ type: 'string',
112
+ description: 'Destination file path',
113
+ },
114
+ overwrite: {
115
+ type: 'boolean',
116
+ description: 'Whether to overwrite if destination exists',
117
+ },
118
+ },
119
+ },
120
+ },
121
+ {
122
+ name: 'fractary_file_move',
123
+ description: 'Move a file',
124
+ inputSchema: {
125
+ type: 'object',
126
+ required: ['source', 'destination'],
127
+ properties: {
128
+ source: {
129
+ type: 'string',
130
+ description: 'Source file path',
131
+ },
132
+ destination: {
133
+ type: 'string',
134
+ description: 'Destination file path',
135
+ },
136
+ overwrite: {
137
+ type: 'boolean',
138
+ description: 'Whether to overwrite if destination exists',
139
+ },
140
+ },
141
+ },
142
+ },
143
+ ];
144
+ //# sourceMappingURL=file.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"file.js","sourceRoot":"","sources":["../../src/tools/file.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,SAAS,GAAW;IAC/B;QACE,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,aAAa;QAC1B,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,CAAC,MAAM,CAAC;YAClB,UAAU,EAAE;gBACV,IAAI,E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BAA4B;iBAC1C;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,sBAAsB;QAC5B,WAAW,EAAE,wBAAwB;QACrC,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,CAAC,MAAM,CAAC;YAClB,UAAU,EAAE;gBACV,IAAI,EAAE;oBACJ,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,eAAe;iBAC7B;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,aAAa;QAC1B,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,aAAa,CAAC;YACnC,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,kBAAkB;iBAChC;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,uBAAuB;iBACrC;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE,4CAA4C;iBAC1D;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,aAAa;QAC1B,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,CAAC,QAAQ,EAAE,aAAa,CAAC;YACnC,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,kBAAkB;iBAChC;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,uBAAuB;iBACrC;gBACD,SAAS,EAAE;oBACT,IAAI,EAAE,SAAS;oBACf,WAAW,EAAE,4CAA4C;iBAC1D;aACF;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Tool registration system - combines all module tools
3
+ */
4
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
5
+ /**
6
+ * All 81 MCP tools across 6 modules
7
+ */
8
+ export declare const allTools: Tool[];
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAQ1D;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,IAAI,EAO1B,CAAC"}
@@ -0,0 +1,18 @@
1
+ import { specTools } from './spec.js';
2
+ import { logsTools } from './logs.js';
3
+ import { fileTools } from './file.js';
4
+ import { docsTools } from './docs.js';
5
+ import { workTools } from './work.js';
6
+ import { repoTools } from './repo.js';
7
+ /**
8
+ * All 81 MCP tools across 6 modules
9
+ */
10
+ export const allTools = [
11
+ ...specTools, // 5 tools
12
+ ...logsTools, // 5 tools
13
+ ...fileTools, // 7 tools
14
+ ...docsTools, // 7 tools
15
+ ...workTools, // 19 tools
16
+ ...repoTools, // 38 tools
17
+ ];
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tools/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEtC;;GAEG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAW;IAC9B,GAAG,SAAS,EAAI,UAAU;IAC1B,GAAG,SAAS,EAAI,UAAU;IAC1B,GAAG,SAAS,EAAI,UAAU;IAC1B,GAAG,SAAS,EAAI,UAAU;IAC1B,GAAG,SAAS,EAAI,WAAW;IAC3B,GAAG,SAAS,EAAI,WAAW;CAC5B,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ /**
3
+ * MCP tool definitions for the Logs module
4
+ * 5 tools for logging and session capture
5
+ */
6
+ export declare const logsTools: Tool[];
7
+ //# sourceMappingURL=logs.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logs.d.ts","sourceRoot":"","sources":["../../src/tools/logs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,IAAI,EAqI3B,CAAC"}
@@ -0,0 +1,139 @@
1
+ /**
2
+ * MCP tool definitions for the Logs module
3
+ * 5 tools for logging and session capture
4
+ */
5
+ export const logsTools = [
6
+ {
7
+ name: 'fractary_logs_capture',
8
+ description: 'Capture a log entry (session, build, deployment, etc.)',
9
+ inputSchema: {
10
+ type: 'object',
11
+ required: ['type', 'title', 'content'],
12
+ properties: {
13
+ type: {
14
+ type: 'string',
15
+ enum: ['session', 'build', 'deployment', 'test', 'debug', 'audit', 'operational', 'workflow'],
16
+ description: 'Type of log entry',
17
+ },
18
+ title: {
19
+ type: 'string',
20
+ description: 'Log title',
21
+ },
22
+ content: {
23
+ type: 'string',
24
+ description: 'Log content',
25
+ },
26
+ issue_number: {
27
+ type: 'number',
28
+ description: 'Issue number to associate with this log',
29
+ },
30
+ metadata: {
31
+ type: 'object',
32
+ description: 'Additional metadata for the log entry',
33
+ },
34
+ },
35
+ },
36
+ },
37
+ {
38
+ name: 'fractary_logs_search',
39
+ description: 'Search log entries',
40
+ inputSchema: {
41
+ type: 'object',
42
+ required: ['query'],
43
+ properties: {
44
+ query: {
45
+ type: 'string',
46
+ description: 'Search query',
47
+ },
48
+ type: {
49
+ type: 'string',
50
+ enum: ['session', 'build', 'deployment', 'test', 'debug', 'audit', 'operational', 'workflow'],
51
+ description: 'Filter by log type',
52
+ },
53
+ issue_number: {
54
+ type: 'number',
55
+ description: 'Filter by issue number',
56
+ },
57
+ since: {
58
+ type: 'string',
59
+ description: 'Start date (ISO 8601 format)',
60
+ },
61
+ until: {
62
+ type: 'string',
63
+ description: 'End date (ISO 8601 format)',
64
+ },
65
+ regex: {
66
+ type: 'boolean',
67
+ description: 'Use regex for query matching',
68
+ },
69
+ },
70
+ },
71
+ },
72
+ {
73
+ name: 'fractary_logs_archive',
74
+ description: 'Archive old log entries',
75
+ inputSchema: {
76
+ type: 'object',
77
+ properties: {
78
+ max_age_days: {
79
+ type: 'number',
80
+ description: 'Archive logs older than this many days',
81
+ },
82
+ compress: {
83
+ type: 'boolean',
84
+ description: 'Compress archived logs',
85
+ },
86
+ },
87
+ },
88
+ },
89
+ {
90
+ name: 'fractary_logs_list',
91
+ description: 'List log entries',
92
+ inputSchema: {
93
+ type: 'object',
94
+ properties: {
95
+ type: {
96
+ type: 'string',
97
+ enum: ['session', 'build', 'deployment', 'test', 'debug', 'audit', 'operational', 'workflow'],
98
+ description: 'Filter by log type',
99
+ },
100
+ status: {
101
+ type: 'string',
102
+ enum: ['active', 'completed', 'stopped', 'success', 'failure', 'error'],
103
+ description: 'Filter by log status',
104
+ },
105
+ issue_number: {
106
+ type: 'number',
107
+ description: 'Filter by issue number',
108
+ },
109
+ since: {
110
+ type: 'string',
111
+ description: 'Start date (ISO 8601 format)',
112
+ },
113
+ until: {
114
+ type: 'string',
115
+ description: 'End date (ISO 8601 format)',
116
+ },
117
+ limit: {
118
+ type: 'number',
119
+ description: 'Maximum number of results',
120
+ },
121
+ },
122
+ },
123
+ },
124
+ {
125
+ name: 'fractary_logs_read',
126
+ description: 'Read a specific log entry',
127
+ inputSchema: {
128
+ type: 'object',
129
+ required: ['log_id'],
130
+ properties: {
131
+ log_id: {
132
+ type: 'string',
133
+ description: 'Log entry ID or path',
134
+ },
135
+ },
136
+ },
137
+ },
138
+ ];
139
+ //# sourceMappingURL=logs.js.map
@@ -0,0 +1 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IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,8BAA8B;iBAC5C;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,4BAA4B;iBAC1C;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,2BAA2B;iBACzC;aACF;SACF;KACF;IACD;QACE,IAAI,EAAE,oBAAoB;QAC1B,WAAW,EAAE,2BAA2B;QACxC,WAAW,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,CAAC,QAAQ,CAAC;YACpB,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE,sBAAsB;iBACpC;aACF;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,7 @@
1
+ import { Tool } from '@modelcontextprotocol/sdk/types.js';
2
+ /**
3
+ * MCP tool definitions for the Repo module
4
+ * 38 tools for repository management (Git, PRs, branches, tags, worktrees)
5
+ */
6
+ export declare const repoTools: Tool[];
7
+ //# sourceMappingURL=repo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"repo.d.ts","sourceRoot":"","sources":["../../src/tools/repo.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAE1D;;;GAGG;AACH,eAAO,MAAM,SAAS,EAAE,IAAI,EAurB3B,CAAC"}