@microlink/mcp 2.0.3 → 2.1.0

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@microlink/mcp",
3
3
  "description": "MCP server for Microlink API",
4
4
  "homepage": "https://github.com/microlinkhq/microlink",
5
- "version": "2.0.3",
5
+ "version": "2.1.0",
6
6
  "main": "./src/index.js",
7
7
  "exports": {
8
8
  ".": "./src/index.js"
@@ -43,10 +43,10 @@
43
43
  "server"
44
44
  ],
45
45
  "dependencies": {
46
- "@microlink/mql": "0.18.0",
47
46
  "@modelcontextprotocol/sdk": "1.30.0",
48
- "microlink.io": "0.1.1",
49
- "zod": "~4.4.3"
47
+ "zod": "~4.4.3",
48
+ "@microlink/mql": "0.18.1",
49
+ "microlink.io": "0.5.0"
50
50
  },
51
51
  "engines": {
52
52
  "node": ">= 24"
@@ -56,15 +56,14 @@
56
56
  "scripts",
57
57
  "src"
58
58
  ],
59
- "scripts": {
60
- "postinstall": "node scripts/postinstall.js",
61
- "start": "node src/index.js",
62
- "test": "node --test test/*.test.js"
63
- },
64
59
  "license": "MIT",
65
60
  "publishConfig": {
66
61
  "access": "public"
67
62
  },
68
63
  "type": "module",
69
- "gitHead": "a12fcd2a7bc918e741a71b50fd2cd93876f4ca8f"
70
- }
64
+ "scripts": {
65
+ "postinstall": "node scripts/postinstall.js",
66
+ "start": "node src/index.js",
67
+ "test": "node --test test/*.test.js"
68
+ }
69
+ }
package/src/schemas.js CHANGED
@@ -403,6 +403,7 @@ export const searchInputSchema = z
403
403
  ])
404
404
  .optional(),
405
405
  limit: z.coerce.number().int().positive().optional(),
406
+ page: z.coerce.number().int().positive().optional(),
406
407
  location: z.string().min(1).optional(),
407
408
  period: z.enum(['hour', 'day', 'week', 'month', 'year']).optional()
408
409
  })
@@ -8,7 +8,7 @@ export function search (server) {
8
8
  [
9
9
  'Search Google and get structured results via Microlink (requires an API key).',
10
10
  'Returns `results` (title, url, description) plus `knowledgeGraph`, `peopleAlsoAsk`, and `relatedSearches` when available.',
11
- 'Use `type` for a vertical ("search" default, "news", "images", "videos", "places", "maps", "shopping", "scholar", "patents", "autocomplete"), and `limit` / `location` / `period` to refine.',
11
+ 'Use `type` for a vertical ("search" default, "news", "images", "videos", "places", "maps", "shopping", "scholar", "patents", "autocomplete"), and `limit` / `page` / `location` / `period` to refine.',
12
12
  'Google search operators (`site:`, `filetype:`, quotes, ...) work as-is. Mirrors the `microlink.search(query)` library method.'
13
13
  ].join(' '),
14
14
  searchInputSchema,