mcp-searxng 0.4.3 → 0.4.5
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/dist/index.js +3 -1
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -3,6 +3,8 @@ import { Server } from "@modelcontextprotocol/sdk/server/index.js";
|
|
|
3
3
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
4
4
|
import { CallToolRequestSchema, ListToolsRequestSchema, } from "@modelcontextprotocol/sdk/types.js";
|
|
5
5
|
import { NodeHtmlMarkdown } from "node-html-markdown";
|
|
6
|
+
// Use a static version string that will be updated by the version script
|
|
7
|
+
const packageVersion = "0.4.4";
|
|
6
8
|
const WEB_SEARCH_TOOL = {
|
|
7
9
|
name: "searxng_web_search",
|
|
8
10
|
description: "Performs a web search using the SearXNG API, ideal for general queries, news, articles, and online content. " +
|
|
@@ -58,7 +60,7 @@ const READ_URL_TOOL = {
|
|
|
58
60
|
// Server implementation
|
|
59
61
|
const server = new Server({
|
|
60
62
|
name: "ihor-sokoliuk/mcp-searxng",
|
|
61
|
-
version:
|
|
63
|
+
version: packageVersion,
|
|
62
64
|
}, {
|
|
63
65
|
capabilities: {
|
|
64
66
|
resources: {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-searxng",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "MCP server for SearXNG integration",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ihor Sokoliuk (https://github.com/ihor-sokoliuk)",
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "tsc && shx chmod +x dist/*.js",
|
|
33
33
|
"prepare": "npm run build",
|
|
34
|
-
"watch": "tsc --watch"
|
|
34
|
+
"watch": "tsc --watch",
|
|
35
|
+
"postversion": "node scripts/update-version.js && git add index.ts && git commit --amend --no-edit"
|
|
35
36
|
},
|
|
36
37
|
"dependencies": {
|
|
37
38
|
"@modelcontextprotocol/sdk": "1.10.1",
|