pagebolt-mcp 1.0.3 → 1.0.4
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 +1 -1
- package/server.json +2 -2
- package/src/index.mjs +3 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pagebolt-mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "MCP server for PageBolt — take screenshots, generate PDFs, and create OG images from AI coding assistants like Claude, Cursor, and Windsurf.",
|
|
5
5
|
"main": "src/index.mjs",
|
|
6
6
|
"bin": {
|
package/server.json
CHANGED
|
@@ -6,12 +6,12 @@
|
|
|
6
6
|
"url": "https://github.com/Custodia-Admin/pagebolt-mcp",
|
|
7
7
|
"source": "github"
|
|
8
8
|
},
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.4",
|
|
10
10
|
"packages": [
|
|
11
11
|
{
|
|
12
12
|
"registryType": "npm",
|
|
13
13
|
"identifier": "pagebolt-mcp",
|
|
14
|
-
"version": "1.0.
|
|
14
|
+
"version": "1.0.4",
|
|
15
15
|
"transport": {
|
|
16
16
|
"type": "stdio"
|
|
17
17
|
},
|
package/src/index.mjs
CHANGED
|
@@ -370,9 +370,8 @@ server.tool(
|
|
|
370
370
|
const data = await res.json();
|
|
371
371
|
|
|
372
372
|
const lines = data.devices.map((d) => {
|
|
373
|
-
const
|
|
374
|
-
|
|
375
|
-
return ` ${d.name} — ${d.viewport.width}x${d.viewport.height} @${d.viewport.deviceScaleFactor}x${mobile}${touch}`;
|
|
373
|
+
const mobile = d.mobile ? ', mobile' : '';
|
|
374
|
+
return ` ${d.id} — ${d.name} — ${d.width}x${d.height} @${d.deviceScaleFactor}x${mobile}`;
|
|
376
375
|
});
|
|
377
376
|
|
|
378
377
|
return {
|
|
@@ -382,7 +381,7 @@ server.tool(
|
|
|
382
381
|
text:
|
|
383
382
|
`Available device presets (${data.devices.length}):\n` +
|
|
384
383
|
lines.join('\n') +
|
|
385
|
-
`\n\nUse the device
|
|
384
|
+
`\n\nUse the device id (first column) as the "viewportDevice" parameter in take_screenshot.`,
|
|
386
385
|
},
|
|
387
386
|
],
|
|
388
387
|
};
|