@microlink/mcp 2.1.9 → 2.1.11
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/README.md +7 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -209,6 +209,7 @@ For `screenshot`, `pdf`, and `insights`, use `true` for defaults or an object fo
|
|
|
209
209
|
| `proxy` | `string \| object` | Proxy configuration *(PRO)* |
|
|
210
210
|
| `retry` | `number` | Retry count |
|
|
211
211
|
| `ttl` | `string \| number` | Cache TTL |
|
|
212
|
+
| `cacheKey` | `string` | Custom cache key for the request *(PRO)* |
|
|
212
213
|
| `staleTtl` | `string \| number \| boolean` | Stale cache TTL policy *(PRO)* |
|
|
213
214
|
| `force` | `boolean` | Bypass cache |
|
|
214
215
|
| `timeout` | `string \| number` | Request timeout |
|
|
@@ -250,6 +251,7 @@ Set `screenshot` to `true` for defaults, or pass `screenshot: { ... }` for optio
|
|
|
250
251
|
| `headers` | `object` | Custom HTTP headers *(PRO)* |
|
|
251
252
|
| `force` | `boolean` | Bypass cache |
|
|
252
253
|
| `ttl` | `string \| number` | Cache TTL |
|
|
254
|
+
| `cacheKey` | `string` | Custom cache key for the request *(PRO)* |
|
|
253
255
|
| `staleTtl` | `string \| number \| boolean` | Stale cache TTL policy *(PRO)* |
|
|
254
256
|
| `retry` | `number` | Retry count |
|
|
255
257
|
| `timeout` | `string \| number` | Request timeout |
|
|
@@ -290,6 +292,7 @@ Set `pdf` to `true` for defaults, or pass `pdf: { ... }` for options. `pdf: {}`
|
|
|
290
292
|
| `headers` | `object` | Custom HTTP headers *(PRO)* |
|
|
291
293
|
| `force` | `boolean` | Bypass cache |
|
|
292
294
|
| `ttl` | `string \| number` | Cache TTL |
|
|
295
|
+
| `cacheKey` | `string` | Custom cache key for the request *(PRO)* |
|
|
293
296
|
| `staleTtl` | `string \| number \| boolean` | Stale cache TTL policy *(PRO)* |
|
|
294
297
|
| `retry` | `number` | Retry count |
|
|
295
298
|
| `timeout` | `string \| number` | Request timeout |
|
|
@@ -387,7 +390,7 @@ Mirrors the `microlink.metadata(url)` library method.
|
|
|
387
390
|
|
|
388
391
|
### `microlink_logo`
|
|
389
392
|
|
|
390
|
-
Extract the brand logo of any public URL. Returns the logo asset
|
|
393
|
+
Extract the brand logo of any public URL. Returns the logo asset: `url`, `type`, `width`, `height`, `size`, and `size_pretty`.
|
|
391
394
|
|
|
392
395
|
Mirrors the `microlink.logo(url, { square })` library method. Useful for building link previews, favicons, or brand cards.
|
|
393
396
|
|
|
@@ -458,7 +461,7 @@ Mirrors the `microlink.embed(url)` library method.
|
|
|
458
461
|
|
|
459
462
|
### `microlink_links` / `microlink_images` / `microlink_videos` / `microlink_audios` / `microlink_emails`
|
|
460
463
|
|
|
461
|
-
Collect every link, image, video source, audio source, or email address on a page. Each returns a clean, absolute, deduped array under `data
|
|
464
|
+
Collect every link, image, video source, audio source, or email address on a page. Each returns a clean, absolute, deduped array under `data`.
|
|
462
465
|
|
|
463
466
|
Mirror the `microlink.links(url)` / `.images(url)` / `.videos(url)` / `.audios(url)` / `.emails(url)` library methods. For the single primary playable media, use `microlink_video` / `microlink_audio`.
|
|
464
467
|
|
|
@@ -523,7 +526,7 @@ When the free endpoint returns `429`, this MCP adds a clear hint in the tool err
|
|
|
523
526
|
|
|
524
527
|
## License
|
|
525
528
|
|
|
526
|
-
**microlink** © [Microlink](https://microlink.io), released under the [MIT](https://github.com/microlinkhq/
|
|
527
|
-
Authored and maintained by [Kiko Beats](https://kikobeats.com) with help from [contributors](https://github.com/microlinkhq/
|
|
529
|
+
**microlink** © [Microlink](https://microlink.io), released under the [MIT](https://github.com/microlinkhq/microlink/blob/master/packages/mcp/LICENSE.md) License.<br>
|
|
530
|
+
Authored and maintained by [Kiko Beats](https://kikobeats.com) with help from [contributors](https://github.com/microlinkhq/microlink/graphs/contributors).
|
|
528
531
|
|
|
529
532
|
> [microlink.io](https://microlink.io) · GitHub [microlinkhq](https://github.com/microlinkhq) · X [@microlinkhq](https://x.com/microlinkhq)
|
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.1.
|
|
5
|
+
"version": "2.1.11",
|
|
6
6
|
"main": "./src/index.js",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": "./src/index.js"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@microlink/mql": "0.19.0",
|
|
47
47
|
"@modelcontextprotocol/sdk": "1.30.0",
|
|
48
|
-
"microlink.io": "0.10.
|
|
48
|
+
"microlink.io": "0.10.2",
|
|
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": "f7e00ece88868167e449fc6c26db3bfc59db2cec"
|
|
70
70
|
}
|