@microlink/mcp 2.0.4 → 2.1.1
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 +4 -4
- package/src/schemas.js +1 -0
- package/src/tools/search.js +1 -1
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.
|
|
5
|
+
"version": "2.1.1",
|
|
6
6
|
"main": "./src/index.js",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./src/index.js"
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"server"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@microlink/mql": "0.18.
|
|
46
|
+
"@microlink/mql": "0.18.1",
|
|
47
47
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
48
|
-
"microlink.io": "0.
|
|
48
|
+
"microlink.io": "0.5.1",
|
|
49
49
|
"zod": "~4.4.3"
|
|
50
50
|
},
|
|
51
51
|
"engines": {
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"access": "public"
|
|
67
67
|
},
|
|
68
68
|
"type": "module",
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "231f3506d8b3345d55a0473a50f9dc1d90d45aed"
|
|
70
70
|
}
|
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
|
})
|
package/src/tools/search.js
CHANGED
|
@@ -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,
|