@oevortex/ddg_search 1.1.4 → 1.1.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.
Files changed (2) hide show
  1. package/bin/cli.js +13 -13
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -12,14 +12,14 @@ async function startServer() {
12
12
  try {
13
13
  // Dynamically import the modules
14
14
  const { searchToolDefinition, searchToolHandler } = await import(`${modulePath}/tools/searchTool.js`);
15
- const { feloToolDefinition, feloToolHandler } = await import(`${modulePath}/tools/feloTool.js`);
15
+ const { iaskToolDefinition, iaskToolHandler } = await import(`${modulePath}/tools/iaskTool.js`);
16
16
 
17
17
  // Create the MCP server
18
18
  const server = new Server({
19
19
  id: 'ddg-search-mcp',
20
- name: 'DuckDuckGo & Felo AI Search MCP',
21
- description: 'A Model Context Protocol server for web search using DuckDuckGo and Felo AI',
22
- version: '1.1.2'
20
+ name: 'DuckDuckGo & IAsk AI Search MCP',
21
+ description: 'A Model Context Protocol server for web search using DuckDuckGo and IAsk AI',
22
+ version: '1.1.4'
23
23
  }, {
24
24
  capabilities: {
25
25
  tools: {
@@ -31,7 +31,7 @@ async function startServer() {
31
31
  // Global variable to track available tools
32
32
  let availableTools = [
33
33
  searchToolDefinition,
34
- feloToolDefinition
34
+ iaskToolDefinition
35
35
  ];
36
36
 
37
37
  // Define available tools
@@ -54,7 +54,7 @@ async function startServer() {
54
54
  const { name, arguments: args } = request.params;
55
55
 
56
56
  // Validate tool name
57
- const validTools = ['web-search', 'felo-search'];
57
+ const validTools = ['web-search', 'iask-search'];
58
58
  if (!validTools.includes(name)) {
59
59
  throw new Error(`Unknown tool: ${name}`);
60
60
  }
@@ -64,8 +64,8 @@ async function startServer() {
64
64
  case 'web-search':
65
65
  return await searchToolHandler(args);
66
66
 
67
- case 'felo-search':
68
- return await feloToolHandler(args);
67
+ case 'iask-search':
68
+ return await iaskToolHandler(args);
69
69
 
70
70
  default:
71
71
  throw new Error(`Tool not found: ${name}`);
@@ -87,7 +87,7 @@ async function startServer() {
87
87
  }); // Display promotional message
88
88
  console.error('\n\x1b[36m╔════════════════════════════════════════════════════════════╗');
89
89
  console.error('║ ║');
90
- console.error('║ \x1b[1m\x1b[31mDuckDuckGo & Felo AI Search MCP\x1b[0m\x1b[36m by \x1b[1m\x1b[33m@OEvortex\x1b[0m\x1b[36m ║');
90
+ console.error('║ \x1b[1m\x1b[31mDuckDuckGo & IAsk AI Search MCP\x1b[0m\x1b[36m by \x1b[1m\x1b[33m@OEvortex\x1b[0m\x1b[36m ║');
91
91
  console.error('║ ║');
92
92
  console.error('║ \x1b[0m👉 Subscribe to \x1b[1m\x1b[37myoutube.com/@OEvortex\x1b[0m\x1b[36m for more tools! ║');
93
93
  console.error('║ ║');
@@ -96,7 +96,7 @@ async function startServer() {
96
96
  // Start the server with stdio transport
97
97
  const transport = new StdioServerTransport();
98
98
  await server.connect(transport);
99
- console.error('DuckDuckGo & Felo AI Search MCP server started and listening on stdio');
99
+ console.error('DuckDuckGo & IAsk AI Search MCP server started and listening on stdio');
100
100
  } catch (error) {
101
101
  console.error('Failed to start server:', error);
102
102
  process.exit(1);
@@ -110,7 +110,7 @@ const versionFlag = args.includes('--version') || args.includes('-v');
110
110
 
111
111
  if (helpFlag) {
112
112
  console.log(`
113
- DuckDuckGo & Felo AI Search MCP - A Model Context Protocol server for web search
113
+ DuckDuckGo & IAsk AI Search MCP - A Model Context Protocol server for web search
114
114
 
115
115
  Usage:
116
116
  npx -y @oevortex/ddg_search@latest [options]
@@ -121,7 +121,7 @@ Options:
121
121
 
122
122
  This MCP server provides the following tools:
123
123
  - web-search: Search the web using DuckDuckGo
124
- - felo-search: Search using Felo AI for AI-generated responses
124
+ - iask-search: Search using IAsk AI for AI-generated responses
125
125
 
126
126
  Created by @OEvortex
127
127
  Subscribe to youtube.com/@OEvortex for more tools and tutorials!
@@ -139,7 +139,7 @@ if (versionFlag) {
139
139
  const packageJson = JSON.parse(
140
140
  await readFile(new URL('../package.json', import.meta.url), 'utf8')
141
141
  );
142
- console.log(`DuckDuckGo & Felo AI Search MCP v${packageJson.version}\nCreated by @OEvortex - Subscribe to youtube.com/@OEvortex!`);
142
+ console.log(`DuckDuckGo & IAsk AI Search MCP v${packageJson.version}\nCreated by @OEvortex - Subscribe to youtube.com/@OEvortex!`);
143
143
  process.exit(0);
144
144
  } catch (err) {
145
145
  console.error('Error reading version information:', err);
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@oevortex/ddg_search","version":"1.1.4","description":"A Model Context Protocol server for web search using DuckDuckGo and IAsk AI","main":"src/index.js","module":"src/index.ts","exports":{".":{"import":"./src/index.js","default":"./src/index.js"}},"bin":{"ddg-search-mcp":"bin/cli.js","oevortex-ddg-search":"bin/cli.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node bin/cli.js","prepublishOnly":"npm run lint","lint":"echo \"No linting configured\"","build":"npx @smithery/cli build","dev":"npx @smithery/cli dev"},"publishConfig":{"access":"public"},"keywords":["mcp","model-context-protocol","duckduckgo","iask","search","web-search","ai-search","claude","ai","llm"],"author":"OEvortex","license":"Apache-2.0","type":"module","dependencies":{"@modelcontextprotocol/sdk":"^1.17.4","axios":"^1.8.4","cheerio":"^1.0.0","jsdom":"^26.1.0","smithery":"^0.5.2","turndown":"^7.2.2","uuid":"^9.0.1","ws":"^8.18.3"},"devDependencies":{"@types/node":"^24.3.0","tsx":"^4.20.4","typescript":"^5.9.2"}}
1
+ {"name":"@oevortex/ddg_search","version":"1.1.5","description":"A Model Context Protocol server for web search using DuckDuckGo and IAsk AI","main":"src/index.js","module":"src/index.ts","exports":{".":{"import":"./src/index.js","default":"./src/index.js"}},"bin":{"ddg-search-mcp":"bin/cli.js","oevortex-ddg-search":"bin/cli.js"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1","start":"node bin/cli.js","prepublishOnly":"npm run lint","lint":"echo \"No linting configured\"","build":"npx @smithery/cli build","dev":"npx @smithery/cli dev"},"publishConfig":{"access":"public"},"keywords":["mcp","model-context-protocol","duckduckgo","iask","search","web-search","ai-search","claude","ai","llm"],"author":"OEvortex","license":"Apache-2.0","type":"module","dependencies":{"@modelcontextprotocol/sdk":"^1.17.4","axios":"^1.8.4","cheerio":"^1.0.0","jsdom":"^26.1.0","smithery":"^0.5.2","turndown":"^7.2.2","uuid":"^9.0.1","ws":"^8.18.3"},"devDependencies":{"@types/node":"^24.3.0","tsx":"^4.20.4","typescript":"^5.9.2"}}