mcp-searxng 0.4.1 → 0.4.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.
Files changed (2) hide show
  1. package/dist/index.js +1 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3,11 +3,6 @@ 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
- import { readFileSync } from "fs";
7
- import { join } from "path";
8
- // Read package.json to get the version
9
- const packageJson = JSON.parse(readFileSync(join(process.cwd(), "package.json"), "utf-8"));
10
- const packageVersion = packageJson.version;
11
6
  const WEB_SEARCH_TOOL = {
12
7
  name: "searxng_web_search",
13
8
  description: "Performs a web search using the SearXNG API, ideal for general queries, news, articles, and online content. " +
@@ -63,7 +58,7 @@ const READ_URL_TOOL = {
63
58
  // Server implementation
64
59
  const server = new Server({
65
60
  name: "ihor-sokoliuk/mcp-searxng",
66
- version: packageVersion,
61
+ version: "v0.4.3",
67
62
  }, {
68
63
  capabilities: {
69
64
  resources: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mcp-searxng",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "description": "MCP server for SearXNG integration",
5
5
  "license": "MIT",
6
6
  "author": "Ihor Sokoliuk (https://github.com/ihor-sokoliuk)",