@nite07/websearch-mcp 0.1.2 → 0.1.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 +11 -4
- package/config.example.json +2 -1
- package/package.json +6 -5
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# websearch-mcp
|
|
2
2
|
|
|
3
3
|
An MCP server for multi-backend web search, plus discussion reading for Reddit and X, built on
|
|
4
|
-
[`@nite07/search-core`](https://git.nite07.com/nite/search
|
|
4
|
+
[`@nite07/search-core`](https://git.nite07.com/nite/search/src/branch/main/packages/core). Works with any MCP client: Claude
|
|
5
5
|
Code, Codex, DSH, or your own.
|
|
6
6
|
|
|
7
7
|
## Why another search server
|
|
@@ -32,6 +32,9 @@ Old `credentialRef` fields in saved search settings are discarded when loading t
|
|
|
32
32
|
Browser-backed searches use `search.browser.endpoint` and the single `DSH_SEARCH_BROWSER_TOKEN`
|
|
33
33
|
environment variable, or the literal `credentials.browser` value when that variable is absent.
|
|
34
34
|
The token authenticates the browser connection; site sign-in happens in the browser through VNC.
|
|
35
|
+
`search.browser.maxConcurrentReads` (integer 1–8, default 2) bounds how many reads may run on one
|
|
36
|
+
site at once; it is a local safety bound, not a site quota, and a 429 answer lowers it to 1 for the
|
|
37
|
+
rest of that browser session. A config file saved before the field existed loads with the default.
|
|
35
38
|
A token stored under `credentials.xiaohongshu` is not used. This server currently exposes
|
|
36
39
|
Xiaohongshu search, but not a Xiaohongshu note-reading tool.
|
|
37
40
|
|
|
@@ -74,12 +77,16 @@ Xiaohongshu search, but not a Xiaohongshu note-reading tool.
|
|
|
74
77
|
|
|
75
78
|
## Development
|
|
76
79
|
|
|
80
|
+
From the monorepo root:
|
|
81
|
+
|
|
77
82
|
```sh
|
|
78
|
-
npm
|
|
79
|
-
npm run check
|
|
80
|
-
node dist/main.js --config ./config.json
|
|
83
|
+
npm ci --ignore-scripts
|
|
84
|
+
npm run check
|
|
85
|
+
node packages/websearch-mcp/dist/main.js --config ./config.json
|
|
81
86
|
```
|
|
82
87
|
|
|
88
|
+
The [workspace guide](../../README.md) describes local core linking and independent packaging.
|
|
89
|
+
|
|
83
90
|
## License
|
|
84
91
|
|
|
85
92
|
MIT.
|
package/config.example.json
CHANGED
package/package.json
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nite07/websearch-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "MCP server for multi-backend web search plus Reddit and X thread reading, built on @nite07/search-core.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "nite07",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://git.nite07.com/nite/
|
|
9
|
+
"url": "git+https://git.nite07.com/nite/search.git",
|
|
10
|
+
"directory": "packages/websearch-mcp"
|
|
10
11
|
},
|
|
11
|
-
"homepage": "https://git.nite07.com/nite/websearch-mcp",
|
|
12
|
+
"homepage": "https://git.nite07.com/nite/search/src/branch/main/packages/websearch-mcp",
|
|
12
13
|
"bugs": {
|
|
13
|
-
"url": "https://git.nite07.com/nite/
|
|
14
|
+
"url": "https://git.nite07.com/nite/search/issues"
|
|
14
15
|
},
|
|
15
16
|
"keywords": [
|
|
16
17
|
"mcp",
|
|
@@ -41,7 +42,7 @@
|
|
|
41
42
|
"node": ">=22"
|
|
42
43
|
},
|
|
43
44
|
"dependencies": {
|
|
44
|
-
"@nite07/search-core": "0.1.
|
|
45
|
+
"@nite07/search-core": "0.1.6"
|
|
45
46
|
},
|
|
46
47
|
"devDependencies": {
|
|
47
48
|
"@types/node": "^22.10.2",
|