mcp-searxng 0.2.0 → 0.2.2
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 +16 -58
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,19 +38,17 @@ To install SearxNG Server for Claude Desktop automatically via [Smithery](https:
|
|
|
38
38
|
npx -y @smithery/cli install @ihor-sokoliuk/server-searxng --client claude
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
###
|
|
42
|
-
|
|
43
|
-
```bash
|
|
44
|
-
npm install -g @ihor-sokoliuk/server-searxng
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
And then in your `claude_desktop_config.json`:
|
|
41
|
+
### NPX
|
|
48
42
|
|
|
49
43
|
```json
|
|
50
44
|
{
|
|
51
45
|
"mcpServers": {
|
|
52
46
|
"searxng": {
|
|
53
|
-
"command": "
|
|
47
|
+
"command": "npx",
|
|
48
|
+
"args": [
|
|
49
|
+
"-y",
|
|
50
|
+
"mcp-searxng"
|
|
51
|
+
],
|
|
54
52
|
"env": {
|
|
55
53
|
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
|
|
56
54
|
}
|
|
@@ -59,17 +57,19 @@ And then in your `claude_desktop_config.json`:
|
|
|
59
57
|
}
|
|
60
58
|
```
|
|
61
59
|
|
|
62
|
-
###
|
|
60
|
+
### NPM
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npm install -g mcp-searxng
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
And then in your MCP config file:
|
|
63
67
|
|
|
64
68
|
```json
|
|
65
69
|
{
|
|
66
70
|
"mcpServers": {
|
|
67
71
|
"searxng": {
|
|
68
|
-
"command": "
|
|
69
|
-
"args": [
|
|
70
|
-
"-y",
|
|
71
|
-
"@ihor-sokoliuk/server-searxng"
|
|
72
|
-
],
|
|
72
|
+
"command": "mcp-searxng",
|
|
73
73
|
"env": {
|
|
74
74
|
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
|
|
75
75
|
}
|
|
@@ -83,7 +83,7 @@ And then in your `claude_desktop_config.json`:
|
|
|
83
83
|
#### Build
|
|
84
84
|
|
|
85
85
|
```bash
|
|
86
|
-
docker build -t mcp-
|
|
86
|
+
docker build -t mcp-searxng:latest -f Dockerfile .
|
|
87
87
|
```
|
|
88
88
|
|
|
89
89
|
#### Use
|
|
@@ -101,7 +101,7 @@ Add this to your `claude_desktop_config.json`:
|
|
|
101
101
|
"--rm",
|
|
102
102
|
"-e",
|
|
103
103
|
"SEARXNG_URL",
|
|
104
|
-
"mcp-
|
|
104
|
+
"mcp-searxng:latest"
|
|
105
105
|
],
|
|
106
106
|
"env": {
|
|
107
107
|
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
|
|
@@ -111,48 +111,6 @@ Add this to your `claude_desktop_config.json`:
|
|
|
111
111
|
}
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
## Publishing to npm
|
|
115
|
-
|
|
116
|
-
To make your library publicly available on npm:
|
|
117
|
-
|
|
118
|
-
### 1. Create an npm Account
|
|
119
|
-
|
|
120
|
-
If you don't have an npm account, create one at [npmjs.com](https://www.npmjs.com/signup).
|
|
121
|
-
|
|
122
|
-
### 2. Log in to npm
|
|
123
|
-
|
|
124
|
-
```bash
|
|
125
|
-
npm login
|
|
126
|
-
```
|
|
127
|
-
|
|
128
|
-
### 3. Prepare your package
|
|
129
|
-
|
|
130
|
-
Make sure your package.json is correctly set up with:
|
|
131
|
-
- A unique name (`@ihor-sokoliuk/server-searxng`)
|
|
132
|
-
- Version number
|
|
133
|
-
- Description
|
|
134
|
-
- Entry point
|
|
135
|
-
- Dependencies
|
|
136
|
-
|
|
137
|
-
### 4. Build your package
|
|
138
|
-
|
|
139
|
-
```bash
|
|
140
|
-
npm run build
|
|
141
|
-
```
|
|
142
|
-
|
|
143
|
-
### 5. Publish to npm
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
npm publish --access=public
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
For subsequent updates:
|
|
150
|
-
1. Update the version in package.json: `npm version patch|minor|major`
|
|
151
|
-
2. Run `npm publish`
|
|
152
|
-
|
|
153
|
-
### 6. Verify your package
|
|
154
|
-
|
|
155
|
-
Check that your package is available at `https://www.npmjs.com/package/@ihor-sokoliuk/server-searxng`
|
|
156
114
|
|
|
157
115
|
## License
|
|
158
116
|
|
package/dist/index.js
CHANGED
|
@@ -45,8 +45,8 @@ const READ_URL_TOOL = {
|
|
|
45
45
|
};
|
|
46
46
|
// Server implementation
|
|
47
47
|
const server = new Server({
|
|
48
|
-
name: "
|
|
49
|
-
version: "0.
|
|
48
|
+
name: "ihor-sokoliuk/mcp-searxng",
|
|
49
|
+
version: "0.2.2",
|
|
50
50
|
}, {
|
|
51
51
|
capabilities: {
|
|
52
52
|
resources: {},
|