rag-memory-epf-mcp 1.0.0

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 (38) hide show
  1. package/README.md +292 -0
  2. package/dist/index.d.ts +3 -0
  3. package/dist/index.d.ts.map +1 -0
  4. package/dist/index.js +1654 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/src/migrations/migration-manager.d.ts +28 -0
  7. package/dist/src/migrations/migration-manager.d.ts.map +1 -0
  8. package/dist/src/migrations/migration-manager.js +111 -0
  9. package/dist/src/migrations/migration-manager.js.map +1 -0
  10. package/dist/src/migrations/migrations.d.ts +3 -0
  11. package/dist/src/migrations/migrations.d.ts.map +1 -0
  12. package/dist/src/migrations/migrations.js +181 -0
  13. package/dist/src/migrations/migrations.js.map +1 -0
  14. package/dist/src/tools/graph-query-tools.d.ts +16 -0
  15. package/dist/src/tools/graph-query-tools.d.ts.map +1 -0
  16. package/dist/src/tools/graph-query-tools.js +452 -0
  17. package/dist/src/tools/graph-query-tools.js.map +1 -0
  18. package/dist/src/tools/knowledge-graph-tools.d.ts +16 -0
  19. package/dist/src/tools/knowledge-graph-tools.d.ts.map +1 -0
  20. package/dist/src/tools/knowledge-graph-tools.js +482 -0
  21. package/dist/src/tools/knowledge-graph-tools.js.map +1 -0
  22. package/dist/src/tools/migration-tools.d.ts +3 -0
  23. package/dist/src/tools/migration-tools.d.ts.map +1 -0
  24. package/dist/src/tools/migration-tools.js +172 -0
  25. package/dist/src/tools/migration-tools.js.map +1 -0
  26. package/dist/src/tools/rag-tools.d.ts +20 -0
  27. package/dist/src/tools/rag-tools.d.ts.map +1 -0
  28. package/dist/src/tools/rag-tools.js +524 -0
  29. package/dist/src/tools/rag-tools.js.map +1 -0
  30. package/dist/src/tools/tool-registry.d.ts +82 -0
  31. package/dist/src/tools/tool-registry.d.ts.map +1 -0
  32. package/dist/src/tools/tool-registry.js +185 -0
  33. package/dist/src/tools/tool-registry.js.map +1 -0
  34. package/dist/src/tools/types.d.ts +34 -0
  35. package/dist/src/tools/types.d.ts.map +1 -0
  36. package/dist/src/tools/types.js +2 -0
  37. package/dist/src/tools/types.js.map +1 -0
  38. package/package.json +39 -0
@@ -0,0 +1,185 @@
1
+ import { z } from 'zod';
2
+ import { knowledgeGraphTools } from './knowledge-graph-tools.js';
3
+ import { ragTools } from './rag-tools.js';
4
+ import { graphQueryTools } from './graph-query-tools.js';
5
+ import { migrationTools } from './migration-tools.js';
6
+ // Central registry of all tools
7
+ export const allTools = {
8
+ ...knowledgeGraphTools,
9
+ ...ragTools,
10
+ ...graphQueryTools,
11
+ ...migrationTools,
12
+ // Add other tool categories here as needed
13
+ };
14
+ // Global settings for tool descriptions
15
+ export const globalSettings = {
16
+ version: '1.0.0',
17
+ systemName: 'RAG Knowledge Graph MCP Server',
18
+ defaultTimeout: 60,
19
+ };
20
+ /**
21
+ * Convert a structured ToolDefinition to MCP tool format
22
+ */
23
+ export function convertToMCPTool(name, toolDef) {
24
+ // Convert Zod schema to JSON schema properties
25
+ const properties = {};
26
+ const required = [];
27
+ for (const [key, zodType] of Object.entries(toolDef.schema)) {
28
+ // Extract the JSON schema representation from Zod
29
+ const jsonSchema = zodTypeToJsonSchema(zodType, key);
30
+ properties[key] = jsonSchema;
31
+ // Check if required (not optional)
32
+ if (!zodType.isOptional?.()) {
33
+ required.push(key);
34
+ }
35
+ }
36
+ return {
37
+ name,
38
+ description: toolDef.description(globalSettings),
39
+ inputSchema: {
40
+ type: 'object',
41
+ properties,
42
+ required,
43
+ },
44
+ };
45
+ }
46
+ /**
47
+ * Convert Zod type to JSON schema (simplified)
48
+ */
49
+ function zodTypeToJsonSchema(zodType, fieldName) {
50
+ // Handle common Zod types
51
+ if (zodType._def) {
52
+ const def = zodType._def;
53
+ switch (def.typeName) {
54
+ case 'ZodString':
55
+ return {
56
+ type: 'string',
57
+ description: def.description || `${fieldName} parameter`,
58
+ };
59
+ case 'ZodNumber':
60
+ return {
61
+ type: 'number',
62
+ description: def.description || `${fieldName} parameter`,
63
+ ...(def.default !== undefined && { default: def.default }),
64
+ };
65
+ case 'ZodBoolean':
66
+ return {
67
+ type: 'boolean',
68
+ description: def.description || `${fieldName} parameter`,
69
+ ...(def.default !== undefined && { default: def.default }),
70
+ };
71
+ case 'ZodArray':
72
+ return {
73
+ type: 'array',
74
+ description: def.description || `Array of ${fieldName}`,
75
+ items: zodTypeToJsonSchema(def.type, `${fieldName} item`),
76
+ };
77
+ case 'ZodObject':
78
+ const objectProperties = {};
79
+ const objectRequired = [];
80
+ for (const [key, value] of Object.entries(def.shape())) {
81
+ objectProperties[key] = zodTypeToJsonSchema(value, key);
82
+ if (!value.isOptional?.()) {
83
+ objectRequired.push(key);
84
+ }
85
+ }
86
+ return {
87
+ type: 'object',
88
+ description: def.description || `${fieldName} object`,
89
+ properties: objectProperties,
90
+ required: objectRequired,
91
+ };
92
+ case 'ZodRecord':
93
+ return {
94
+ type: 'object',
95
+ description: def.description || `${fieldName} record`,
96
+ additionalProperties: true,
97
+ };
98
+ case 'ZodOptional':
99
+ const innerSchema = zodTypeToJsonSchema(def.innerType, fieldName);
100
+ return {
101
+ ...innerSchema,
102
+ optional: true,
103
+ };
104
+ case 'ZodDefault':
105
+ const defaultSchema = zodTypeToJsonSchema(def.innerType, fieldName);
106
+ return {
107
+ ...defaultSchema,
108
+ default: def.defaultValue(),
109
+ };
110
+ default:
111
+ console.warn(`Unknown Zod type: ${def.typeName} for field ${fieldName}`);
112
+ return {
113
+ type: 'string',
114
+ description: `${fieldName} parameter (fallback)`,
115
+ };
116
+ }
117
+ }
118
+ // Fallback for unknown types
119
+ return {
120
+ type: 'string',
121
+ description: `${fieldName} parameter`,
122
+ };
123
+ }
124
+ /**
125
+ * Get all tools in MCP format
126
+ */
127
+ export function getAllMCPTools() {
128
+ return Object.entries(allTools).map(([name, toolDef]) => convertToMCPTool(name, toolDef));
129
+ }
130
+ /**
131
+ * Get a specific tool definition by name
132
+ */
133
+ export function getToolDefinition(name) {
134
+ return allTools[name];
135
+ }
136
+ /**
137
+ * Validate tool arguments using Zod schema
138
+ */
139
+ export function validateToolArgs(toolName, args) {
140
+ const toolDef = getToolDefinition(toolName);
141
+ if (!toolDef) {
142
+ throw new Error(`Unknown tool: ${toolName}`);
143
+ }
144
+ const schema = z.object(toolDef.schema);
145
+ return schema.parse(args);
146
+ }
147
+ /**
148
+ * Get tool names organized by category
149
+ */
150
+ export function getToolsByCategory() {
151
+ return {
152
+ knowledgeGraph: Object.keys(knowledgeGraphTools),
153
+ rag: Object.keys(ragTools),
154
+ graphQuery: Object.keys(graphQueryTools),
155
+ migration: Object.keys(migrationTools),
156
+ all: Object.keys(allTools),
157
+ };
158
+ }
159
+ /**
160
+ * Get comprehensive tool documentation
161
+ */
162
+ export function getToolDocumentation(toolName) {
163
+ const toolDef = getToolDefinition(toolName);
164
+ if (!toolDef) {
165
+ return `Tool '${toolName}' not found`;
166
+ }
167
+ return toolDef.description(globalSettings);
168
+ }
169
+ /**
170
+ * Get system information and tool summary
171
+ */
172
+ export function getSystemInfo() {
173
+ const categories = getToolsByCategory();
174
+ return {
175
+ system: globalSettings,
176
+ toolCounts: {
177
+ knowledgeGraph: categories.knowledgeGraph.length,
178
+ rag: categories.rag.length,
179
+ graphQuery: categories.graphQuery.length,
180
+ total: categories.all.length,
181
+ },
182
+ availableTools: categories,
183
+ };
184
+ }
185
+ //# sourceMappingURL=tool-registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tool-registry.js","sourceRoot":"","sources":["../../../src/tools/tool-registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD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AAE,UAAU,CAAC,cAAc,CAAC,MAAM;YAChD,GAAG,EAAE,UAAU,CAAC,GAAG,CAAC,MAAM;YAC1B,UAAU,EAAE,UAAU,CAAC,UAAU,CAAC,MAAM;YACxC,KAAK,EAAE,UAAU,CAAC,GAAG,CAAC,MAAM;SAC7B;QACD,cAAc,EAAE,UAAU;KAC3B,CAAC;AACJ,CAAC"}
@@ -0,0 +1,34 @@
1
+ import { z } from 'zod';
2
+ export interface ToolCapabilityInfo {
3
+ description: string;
4
+ parameters: {
5
+ type: 'object';
6
+ properties: Record<string, {
7
+ type: string;
8
+ description: string;
9
+ optional?: boolean;
10
+ items?: {
11
+ type: string;
12
+ };
13
+ additionalProperties?: boolean;
14
+ default?: any;
15
+ }>;
16
+ required: string[];
17
+ };
18
+ }
19
+ export type ToolRegistrationDescription = (globalSettings?: any) => string;
20
+ export interface ToolDefinition {
21
+ capability: ToolCapabilityInfo;
22
+ description: ToolRegistrationDescription;
23
+ schema: z.ZodRawShape;
24
+ }
25
+ export interface MCPTool {
26
+ name: string;
27
+ description: string;
28
+ inputSchema: {
29
+ type: 'object';
30
+ properties: Record<string, any>;
31
+ required: string[];
32
+ };
33
+ }
34
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/tools/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,MAAM,WAAW,kBAAkB;IACjC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ,CAAC;QACf,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE;YACzB,IAAI,EAAE,MAAM,CAAC;YACb,WAAW,EAAE,MAAM,CAAC;YACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;YACnB,KAAK,CAAC,EAAE;gBAAE,IAAI,EAAE,MAAM,CAAA;aAAE,CAAC;YACzB,oBAAoB,CAAC,EAAE,OAAO,CAAC;YAC/B,OAAO,CAAC,EAAE,GAAG,CAAC;SACf,CAAC,CAAC;QACH,QAAQ,EAAE,MAAM,EAAE,CAAC;KACpB,CAAC;CACH;AAGD,MAAM,MAAM,2BAA2B,GAAG,CAAC,cAAc,CAAC,EAAE,GAAG,KAAK,MAAM,CAAC;AAG3E,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,kBAAkB,CAAC;IAC/B,WAAW,EAAE,2BAA2B,CAAC;IACzC,MAAM,EAAE,CAAC,CAAC,WAAW,CAAC;CACvB;AAGD,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE;QACX,IAAI,EAAE,QAAQ,CAAC;QACf,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAChC,QAAQ,EAAE,MAAM,EAAE,CAAC;KACpB,CAAC;CACH"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/tools/types.ts"],"names":[],"mappings":""}
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "rag-memory-epf-mcp",
3
+ "version": "1.0.0",
4
+ "description": "Advanced MCP server for RAG-enabled memory with gte-multilingual-base embeddings (768-dim, 70+ languages)",
5
+ "license": "MIT",
6
+ "author": "bripin123",
7
+ "homepage": "https://github.com/heesongkoh/rag-memory-epf-mcp",
8
+ "bugs": "https://github.com/heesongkoh/rag-memory-epf-mcp/issues",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/heesongkoh/rag-memory-epf-mcp.git"
12
+ },
13
+ "type": "module",
14
+ "bin": {
15
+ "rag-memory-mcp": "dist/index.js"
16
+ },
17
+ "files": [
18
+ "dist"
19
+ ],
20
+ "scripts": {
21
+ "build": "tsc && shx chmod +x dist/*.js",
22
+ "prepare": "npm run build",
23
+ "watch": "tsc --watch"
24
+ },
25
+ "dependencies": {
26
+ "@huggingface/transformers": "^3.5.1",
27
+ "@modelcontextprotocol/sdk": "1.0.1",
28
+ "better-sqlite3": "11.9.1",
29
+ "sqlite-vec": "^0.1.6",
30
+ "tiktoken": "^1.0.17",
31
+ "zod": "^3.25.28"
32
+ },
33
+ "devDependencies": {
34
+ "@types/better-sqlite3": "^7.6.12",
35
+ "@types/node": "^22",
36
+ "shx": "^0.3.4",
37
+ "typescript": "^5.6.2"
38
+ }
39
+ }