@laskarks/mcp-rag-node 1.0.1 → 1.0.3
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 +7 -7
- package/bin.mjs +2 -0
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -12,9 +12,7 @@ MCP (Model Context Protocol) server for RAG (Retrieval-Augmented Generation) usi
|
|
|
12
12
|
## Installation
|
|
13
13
|
|
|
14
14
|
```bash
|
|
15
|
-
npm
|
|
16
|
-
# or
|
|
17
|
-
npx rag-mcp-nodejs
|
|
15
|
+
npm i @laskarks/mcp-rag-node
|
|
18
16
|
```
|
|
19
17
|
|
|
20
18
|
## Environment Variables
|
|
@@ -81,14 +79,16 @@ npm start
|
|
|
81
79
|
|
|
82
80
|
### Add to MCP clients
|
|
83
81
|
|
|
82
|
+
Install the package first: `npm i @laskarks/mcp-rag-node`
|
|
83
|
+
|
|
84
84
|
**Claude Desktop** (`claude_desktop_config.json`):
|
|
85
85
|
|
|
86
86
|
```json
|
|
87
87
|
{
|
|
88
88
|
"mcpServers": {
|
|
89
89
|
"rag": {
|
|
90
|
-
"command": "
|
|
91
|
-
"args": ["/
|
|
90
|
+
"command": "npx",
|
|
91
|
+
"args": ["-y", "@laskarks/mcp-rag-node"],
|
|
92
92
|
"env": {
|
|
93
93
|
"APIKEY": "sk-...",
|
|
94
94
|
"EMBEDDING_MODEL": "text-embedding-3-small",
|
|
@@ -107,8 +107,8 @@ npm start
|
|
|
107
107
|
{
|
|
108
108
|
"mcpServers": {
|
|
109
109
|
"rag": {
|
|
110
|
-
"command": "
|
|
111
|
-
"args": ["/
|
|
110
|
+
"command": "npx",
|
|
111
|
+
"args": ["-y", "@laskarks/mcp-rag-node"],
|
|
112
112
|
"env": {
|
|
113
113
|
"APIKEY": "sk-...",
|
|
114
114
|
"EMBEDDING_MODEL": "text-embedding-3-small",
|
package/bin.mjs
ADDED
package/package.json
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@laskarks/mcp-rag-node",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Simple MCP RAG server using @modelcontextprotocol/sdk",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
+
"bin": {
|
|
7
|
+
"mcp-rag-node": "bin.mjs"
|
|
8
|
+
},
|
|
6
9
|
"type": "module",
|
|
7
10
|
"scripts": {
|
|
8
11
|
"build": "tsc",
|