@echoes-io/mcp-server 1.4.0 → 1.4.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/README.md +2 -2
- package/lib/server.js +1 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ Then configure:
|
|
|
36
36
|
"command": "echoes-mcp-server",
|
|
37
37
|
"env": {
|
|
38
38
|
"ECHOES_RAG_PROVIDER": "e5-small",
|
|
39
|
-
"ECHOES_RAG_DB_PATH": "./
|
|
39
|
+
"ECHOES_RAG_DB_PATH": "./rag.db"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -46,7 +46,7 @@ Then configure:
|
|
|
46
46
|
**Optional RAG Configuration:**
|
|
47
47
|
- `ECHOES_RAG_PROVIDER`: Embedding provider (`e5-small`, `e5-large`, or `gemini`). Default: `e5-small`
|
|
48
48
|
- `ECHOES_GEMINI_API_KEY`: Required if using `gemini` provider
|
|
49
|
-
- `ECHOES_RAG_DB_PATH`: SQLite database path. Default: `./
|
|
49
|
+
- `ECHOES_RAG_DB_PATH`: SQLite database path. Default: `./rag.db`
|
|
50
50
|
|
|
51
51
|
## Available Tools
|
|
52
52
|
|
package/lib/server.js
CHANGED
|
@@ -132,8 +132,7 @@ export async function runServer() {
|
|
|
132
132
|
await tracker.init();
|
|
133
133
|
console.error(`Tracker database initialized: ${dbPath}`);
|
|
134
134
|
// Initialize RAG system
|
|
135
|
-
const ragDbPath = process.env.ECHOES_RAG_DB_PATH ||
|
|
136
|
-
(process.env.NODE_ENV === 'test' ? ':memory:' : './rag_data.db');
|
|
135
|
+
const ragDbPath = process.env.ECHOES_RAG_DB_PATH || (process.env.NODE_ENV === 'test' ? ':memory:' : './rag.db');
|
|
137
136
|
const provider = (process.env.ECHOES_RAG_PROVIDER || 'e5-small');
|
|
138
137
|
const rag = new RAGSystem({
|
|
139
138
|
provider,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@echoes-io/mcp-server",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.1",
|
|
5
5
|
"description": "Model Context Protocol server for AI integration with Echoes storytelling platform",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"dev": "tsx cli/index.ts",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"@echoes-io/books-generator": "^1.0.1",
|
|
86
86
|
"@echoes-io/models": "^1.0.2",
|
|
87
|
-
"@echoes-io/rag": "^1.1.
|
|
87
|
+
"@echoes-io/rag": "^1.1.3",
|
|
88
88
|
"@echoes-io/tracker": "^1.0.1",
|
|
89
89
|
"@echoes-io/utils": "^1.2.0",
|
|
90
90
|
"@modelcontextprotocol/sdk": "^1.0.0"
|