pagebolt-mcp 1.0.2 → 1.0.3
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/LICENSE +21 -21
- package/README.md +226 -226
- package/package.json +59 -59
- package/server.json +29 -29
- package/src/index.mjs +422 -422
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 PageBolt
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 PageBolt
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,226 +1,226 @@
|
|
|
1
|
-
# PageBolt MCP Server
|
|
2
|
-
|
|
3
|
-
[](https://www.npmjs.com/package/pagebolt-mcp)
|
|
4
|
-
[](https://opensource.org/licenses/MIT)
|
|
5
|
-
[](https://modelcontextprotocol.io)
|
|
6
|
-
|
|
7
|
-
Take screenshots, generate PDFs, and create OG images directly from your AI coding assistant.
|
|
8
|
-
|
|
9
|
-
**Works with Claude Desktop, Cursor, Windsurf, Cline, and any MCP-compatible client.**
|
|
10
|
-
|
|
11
|
-
<p align="center">
|
|
12
|
-
<img src="https://pagebolt.dev/og-image-default.png" alt="PageBolt" width="600" />
|
|
13
|
-
</p>
|
|
14
|
-
|
|
15
|
-
---
|
|
16
|
-
|
|
17
|
-
## What It Does
|
|
18
|
-
|
|
19
|
-
PageBolt MCP Server connects your AI assistant to [PageBolt's web capture API](https://pagebolt.dev), giving it the ability to:
|
|
20
|
-
|
|
21
|
-
- **Take screenshots** of any URL, HTML, or Markdown (30+ parameters)
|
|
22
|
-
- **Generate PDFs** from URLs or HTML (invoices, reports, docs)
|
|
23
|
-
- **Create OG images** for social cards using templates or custom HTML
|
|
24
|
-
- **Run browser sequences** — multi-step automation (navigate, click, fill, screenshot)
|
|
25
|
-
- **List device presets** — 25+ devices (iPhone, iPad, MacBook, Galaxy, etc.)
|
|
26
|
-
- **Check usage** — monitor your API quota in real time
|
|
27
|
-
|
|
28
|
-
All results are returned inline — screenshots appear directly in your chat.
|
|
29
|
-
|
|
30
|
-
---
|
|
31
|
-
|
|
32
|
-
## Quick Start
|
|
33
|
-
|
|
34
|
-
### 1. Get a free API key
|
|
35
|
-
|
|
36
|
-
Sign up at [pagebolt.dev](https://pagebolt.dev) — the free tier includes 100 requests/month, no credit card required.
|
|
37
|
-
|
|
38
|
-
### 2. Install & configure
|
|
39
|
-
|
|
40
|
-
#### Claude Desktop
|
|
41
|
-
|
|
42
|
-
Add to `~/.claude/claude_desktop_config.json`:
|
|
43
|
-
|
|
44
|
-
```json
|
|
45
|
-
{
|
|
46
|
-
"mcpServers": {
|
|
47
|
-
"pagebolt": {
|
|
48
|
-
"command": "npx",
|
|
49
|
-
"args": ["-y", "pagebolt-mcp"],
|
|
50
|
-
"env": {
|
|
51
|
-
"PAGEBOLT_API_KEY": "pf_live_your_key_here"
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
```
|
|
57
|
-
|
|
58
|
-
#### Cursor
|
|
59
|
-
|
|
60
|
-
Add to `.cursor/mcp.json` in your project (or global config):
|
|
61
|
-
|
|
62
|
-
```json
|
|
63
|
-
{
|
|
64
|
-
"mcpServers": {
|
|
65
|
-
"pagebolt": {
|
|
66
|
-
"command": "npx",
|
|
67
|
-
"args": ["-y", "pagebolt-mcp"],
|
|
68
|
-
"env": {
|
|
69
|
-
"PAGEBOLT_API_KEY": "pf_live_your_key_here"
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
#### Windsurf
|
|
77
|
-
|
|
78
|
-
Add to your Windsurf MCP settings:
|
|
79
|
-
|
|
80
|
-
```json
|
|
81
|
-
{
|
|
82
|
-
"mcpServers": {
|
|
83
|
-
"pagebolt": {
|
|
84
|
-
"command": "npx",
|
|
85
|
-
"args": ["-y", "pagebolt-mcp"],
|
|
86
|
-
"env": {
|
|
87
|
-
"PAGEBOLT_API_KEY": "pf_live_your_key_here"
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
#### Cline / Other MCP Clients
|
|
95
|
-
|
|
96
|
-
Same config pattern — set `command` to `npx`, `args` to `["-y", "pagebolt-mcp"]`, and provide your API key in `env`.
|
|
97
|
-
|
|
98
|
-
### 3. Try it
|
|
99
|
-
|
|
100
|
-
Ask your AI assistant:
|
|
101
|
-
|
|
102
|
-
> "Take a screenshot of https://github.com in dark mode at 1920x1080"
|
|
103
|
-
|
|
104
|
-
The screenshot will appear inline in your chat.
|
|
105
|
-
|
|
106
|
-
---
|
|
107
|
-
|
|
108
|
-
## Tools
|
|
109
|
-
|
|
110
|
-
### `take_screenshot`
|
|
111
|
-
|
|
112
|
-
Capture a pixel-perfect screenshot of any URL, HTML, or Markdown.
|
|
113
|
-
|
|
114
|
-
**Key parameters:**
|
|
115
|
-
- `url` / `html` / `markdown` — content source
|
|
116
|
-
- `width`, `height` — viewport size (default: 1280x720)
|
|
117
|
-
- `viewportDevice` — device preset (e.g. `"iphone_14_pro"`, `"macbook_pro_14"`)
|
|
118
|
-
- `fullPage` — capture the entire scrollable page
|
|
119
|
-
- `darkMode` — emulate dark color scheme
|
|
120
|
-
- `format` — `png`, `jpeg`, or `webp`
|
|
121
|
-
- `blockBanners` — hide cookie consent banners
|
|
122
|
-
- `blockAds` — block advertisements
|
|
123
|
-
- `blockChats` — remove live chat widgets
|
|
124
|
-
- `blockTrackers` — block tracking scripts
|
|
125
|
-
- `extractMetadata` — get page title, description, OG tags alongside the screenshot
|
|
126
|
-
- `selector` — capture a specific DOM element
|
|
127
|
-
- `delay` — wait before capture (for animations)
|
|
128
|
-
- `cookies`, `headers`, `authorization` — authenticated captures
|
|
129
|
-
- `geolocation`, `timeZone` — location emulation
|
|
130
|
-
- ...and 15+ more
|
|
131
|
-
|
|
132
|
-
**Example prompts:**
|
|
133
|
-
- "Screenshot https://example.com on an iPhone 14 Pro"
|
|
134
|
-
- "Take a full-page screenshot of https://news.ycombinator.com with ad blocking"
|
|
135
|
-
- "Capture this HTML in dark mode: `<h1>Hello World</h1>`"
|
|
136
|
-
|
|
137
|
-
### `generate_pdf`
|
|
138
|
-
|
|
139
|
-
Generate a PDF from any URL or HTML content.
|
|
140
|
-
|
|
141
|
-
**Parameters:** `url`/`html`, `format` (A4/Letter/Legal), `landscape`, `margin`, `scale`, `pageRanges`, `delay`, `saveTo`
|
|
142
|
-
|
|
143
|
-
**Example prompts:**
|
|
144
|
-
- "Generate a PDF of https://example.com and save it to ./report.pdf"
|
|
145
|
-
- "Create a PDF from this invoice HTML in Letter format, landscape"
|
|
146
|
-
|
|
147
|
-
### `create_og_image`
|
|
148
|
-
|
|
149
|
-
Create Open Graph / social preview images.
|
|
150
|
-
|
|
151
|
-
**Parameters:** `template` (default/minimal/gradient), `html` (custom), `title`, `subtitle`, `logo`, `bgColor`, `textColor`, `accentColor`, `width`, `height`, `format`
|
|
152
|
-
|
|
153
|
-
**Example prompts:**
|
|
154
|
-
- "Create an OG image with title 'How to Build a SaaS' using the gradient template"
|
|
155
|
-
- "Generate a social card with a dark blue background and white text"
|
|
156
|
-
|
|
157
|
-
### `run_sequence`
|
|
158
|
-
|
|
159
|
-
Execute multi-step browser automation.
|
|
160
|
-
|
|
161
|
-
**Actions:** `navigate`, `click`, `fill`, `select`, `hover`, `scroll`, `wait`, `wait_for`, `evaluate`, `screenshot`, `pdf`
|
|
162
|
-
|
|
163
|
-
**Example prompts:**
|
|
164
|
-
- "Go to https://example.com, click the pricing link, then screenshot both pages"
|
|
165
|
-
- "Navigate to the login page, fill in test credentials, submit, and screenshot the dashboard"
|
|
166
|
-
|
|
167
|
-
### `list_devices`
|
|
168
|
-
|
|
169
|
-
List all 25+ available device presets with viewport dimensions.
|
|
170
|
-
|
|
171
|
-
**Example prompt:**
|
|
172
|
-
- "What device presets are available for screenshots?"
|
|
173
|
-
|
|
174
|
-
### `check_usage`
|
|
175
|
-
|
|
176
|
-
Check your current API usage and plan limits.
|
|
177
|
-
|
|
178
|
-
**Example prompt:**
|
|
179
|
-
- "How many API requests do I have left this month?"
|
|
180
|
-
|
|
181
|
-
---
|
|
182
|
-
|
|
183
|
-
## Configuration
|
|
184
|
-
|
|
185
|
-
| Environment Variable | Required | Default | Description |
|
|
186
|
-
|---------------------|----------|---------|-------------|
|
|
187
|
-
| `PAGEBOLT_API_KEY` | **Yes** | — | Your PageBolt API key ([get one free](https://pagebolt.dev)) |
|
|
188
|
-
| `PAGEBOLT_BASE_URL` | No | `https://pagebolt.dev` | API base URL |
|
|
189
|
-
|
|
190
|
-
---
|
|
191
|
-
|
|
192
|
-
## Pricing
|
|
193
|
-
|
|
194
|
-
| Plan | Price | Requests/mo | Rate Limit |
|
|
195
|
-
|------|-------|-------------|------------|
|
|
196
|
-
| **Free** | $0 | 100 | 10 req/min |
|
|
197
|
-
| Starter | $29/mo | 5,000 | 60 req/min |
|
|
198
|
-
| Growth | $79/mo | 25,000 | 120 req/min |
|
|
199
|
-
| Scale | $199/mo | 100,000 | 300 req/min |
|
|
200
|
-
|
|
201
|
-
Free plan requires no credit card. Starter and Growth include a 14-day free trial.
|
|
202
|
-
|
|
203
|
-
---
|
|
204
|
-
|
|
205
|
-
## Why PageBolt?
|
|
206
|
-
|
|
207
|
-
- **5 APIs, one key** — screenshot, PDF, OG image, browser automation, and MCP server. Stop paying for separate tools.
|
|
208
|
-
- **Clean captures** — automatic ad blocking, cookie banner removal, chat widget suppression, tracker blocking.
|
|
209
|
-
- **25+ device presets** — iPhone SE to Galaxy S24 Ultra, iPad Pro, MacBook, Desktop 4K.
|
|
210
|
-
- **Ship in 5 minutes** — plain HTTP, no SDKs required, works in any language.
|
|
211
|
-
- **Inline results** — screenshots and OG images appear directly in your AI chat.
|
|
212
|
-
|
|
213
|
-
---
|
|
214
|
-
|
|
215
|
-
## Links
|
|
216
|
-
|
|
217
|
-
- **Website:** [pagebolt.dev](https://pagebolt.dev)
|
|
218
|
-
- **API Docs:** [pagebolt.dev/docs.html](https://pagebolt.dev/docs.html)
|
|
219
|
-
- **npm:** [npmjs.com/package/pagebolt-mcp](https://www.npmjs.com/package/pagebolt-mcp)
|
|
220
|
-
- **Issues:** [github.com/Custodia-Admin/pagebolt-mcp/issues](https://github.com/Custodia-Admin/pagebolt-mcp/issues)
|
|
221
|
-
|
|
222
|
-
---
|
|
223
|
-
|
|
224
|
-
## License
|
|
225
|
-
|
|
226
|
-
MIT
|
|
1
|
+
# PageBolt MCP Server
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/pagebolt-mcp)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
[](https://modelcontextprotocol.io)
|
|
6
|
+
|
|
7
|
+
Take screenshots, generate PDFs, and create OG images directly from your AI coding assistant.
|
|
8
|
+
|
|
9
|
+
**Works with Claude Desktop, Cursor, Windsurf, Cline, and any MCP-compatible client.**
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<img src="https://pagebolt.dev/og-image-default.png" alt="PageBolt" width="600" />
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## What It Does
|
|
18
|
+
|
|
19
|
+
PageBolt MCP Server connects your AI assistant to [PageBolt's web capture API](https://pagebolt.dev), giving it the ability to:
|
|
20
|
+
|
|
21
|
+
- **Take screenshots** of any URL, HTML, or Markdown (30+ parameters)
|
|
22
|
+
- **Generate PDFs** from URLs or HTML (invoices, reports, docs)
|
|
23
|
+
- **Create OG images** for social cards using templates or custom HTML
|
|
24
|
+
- **Run browser sequences** — multi-step automation (navigate, click, fill, screenshot)
|
|
25
|
+
- **List device presets** — 25+ devices (iPhone, iPad, MacBook, Galaxy, etc.)
|
|
26
|
+
- **Check usage** — monitor your API quota in real time
|
|
27
|
+
|
|
28
|
+
All results are returned inline — screenshots appear directly in your chat.
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## Quick Start
|
|
33
|
+
|
|
34
|
+
### 1. Get a free API key
|
|
35
|
+
|
|
36
|
+
Sign up at [pagebolt.dev](https://pagebolt.dev) — the free tier includes 100 requests/month, no credit card required.
|
|
37
|
+
|
|
38
|
+
### 2. Install & configure
|
|
39
|
+
|
|
40
|
+
#### Claude Desktop
|
|
41
|
+
|
|
42
|
+
Add to `~/.claude/claude_desktop_config.json`:
|
|
43
|
+
|
|
44
|
+
```json
|
|
45
|
+
{
|
|
46
|
+
"mcpServers": {
|
|
47
|
+
"pagebolt": {
|
|
48
|
+
"command": "npx",
|
|
49
|
+
"args": ["-y", "pagebolt-mcp"],
|
|
50
|
+
"env": {
|
|
51
|
+
"PAGEBOLT_API_KEY": "pf_live_your_key_here"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
#### Cursor
|
|
59
|
+
|
|
60
|
+
Add to `.cursor/mcp.json` in your project (or global config):
|
|
61
|
+
|
|
62
|
+
```json
|
|
63
|
+
{
|
|
64
|
+
"mcpServers": {
|
|
65
|
+
"pagebolt": {
|
|
66
|
+
"command": "npx",
|
|
67
|
+
"args": ["-y", "pagebolt-mcp"],
|
|
68
|
+
"env": {
|
|
69
|
+
"PAGEBOLT_API_KEY": "pf_live_your_key_here"
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
#### Windsurf
|
|
77
|
+
|
|
78
|
+
Add to your Windsurf MCP settings:
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"mcpServers": {
|
|
83
|
+
"pagebolt": {
|
|
84
|
+
"command": "npx",
|
|
85
|
+
"args": ["-y", "pagebolt-mcp"],
|
|
86
|
+
"env": {
|
|
87
|
+
"PAGEBOLT_API_KEY": "pf_live_your_key_here"
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
#### Cline / Other MCP Clients
|
|
95
|
+
|
|
96
|
+
Same config pattern — set `command` to `npx`, `args` to `["-y", "pagebolt-mcp"]`, and provide your API key in `env`.
|
|
97
|
+
|
|
98
|
+
### 3. Try it
|
|
99
|
+
|
|
100
|
+
Ask your AI assistant:
|
|
101
|
+
|
|
102
|
+
> "Take a screenshot of https://github.com in dark mode at 1920x1080"
|
|
103
|
+
|
|
104
|
+
The screenshot will appear inline in your chat.
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Tools
|
|
109
|
+
|
|
110
|
+
### `take_screenshot`
|
|
111
|
+
|
|
112
|
+
Capture a pixel-perfect screenshot of any URL, HTML, or Markdown.
|
|
113
|
+
|
|
114
|
+
**Key parameters:**
|
|
115
|
+
- `url` / `html` / `markdown` — content source
|
|
116
|
+
- `width`, `height` — viewport size (default: 1280x720)
|
|
117
|
+
- `viewportDevice` — device preset (e.g. `"iphone_14_pro"`, `"macbook_pro_14"`)
|
|
118
|
+
- `fullPage` — capture the entire scrollable page
|
|
119
|
+
- `darkMode` — emulate dark color scheme
|
|
120
|
+
- `format` — `png`, `jpeg`, or `webp`
|
|
121
|
+
- `blockBanners` — hide cookie consent banners
|
|
122
|
+
- `blockAds` — block advertisements
|
|
123
|
+
- `blockChats` — remove live chat widgets
|
|
124
|
+
- `blockTrackers` — block tracking scripts
|
|
125
|
+
- `extractMetadata` — get page title, description, OG tags alongside the screenshot
|
|
126
|
+
- `selector` — capture a specific DOM element
|
|
127
|
+
- `delay` — wait before capture (for animations)
|
|
128
|
+
- `cookies`, `headers`, `authorization` — authenticated captures
|
|
129
|
+
- `geolocation`, `timeZone` — location emulation
|
|
130
|
+
- ...and 15+ more
|
|
131
|
+
|
|
132
|
+
**Example prompts:**
|
|
133
|
+
- "Screenshot https://example.com on an iPhone 14 Pro"
|
|
134
|
+
- "Take a full-page screenshot of https://news.ycombinator.com with ad blocking"
|
|
135
|
+
- "Capture this HTML in dark mode: `<h1>Hello World</h1>`"
|
|
136
|
+
|
|
137
|
+
### `generate_pdf`
|
|
138
|
+
|
|
139
|
+
Generate a PDF from any URL or HTML content.
|
|
140
|
+
|
|
141
|
+
**Parameters:** `url`/`html`, `format` (A4/Letter/Legal), `landscape`, `margin`, `scale`, `pageRanges`, `delay`, `saveTo`
|
|
142
|
+
|
|
143
|
+
**Example prompts:**
|
|
144
|
+
- "Generate a PDF of https://example.com and save it to ./report.pdf"
|
|
145
|
+
- "Create a PDF from this invoice HTML in Letter format, landscape"
|
|
146
|
+
|
|
147
|
+
### `create_og_image`
|
|
148
|
+
|
|
149
|
+
Create Open Graph / social preview images.
|
|
150
|
+
|
|
151
|
+
**Parameters:** `template` (default/minimal/gradient), `html` (custom), `title`, `subtitle`, `logo`, `bgColor`, `textColor`, `accentColor`, `width`, `height`, `format`
|
|
152
|
+
|
|
153
|
+
**Example prompts:**
|
|
154
|
+
- "Create an OG image with title 'How to Build a SaaS' using the gradient template"
|
|
155
|
+
- "Generate a social card with a dark blue background and white text"
|
|
156
|
+
|
|
157
|
+
### `run_sequence`
|
|
158
|
+
|
|
159
|
+
Execute multi-step browser automation.
|
|
160
|
+
|
|
161
|
+
**Actions:** `navigate`, `click`, `fill`, `select`, `hover`, `scroll`, `wait`, `wait_for`, `evaluate`, `screenshot`, `pdf`
|
|
162
|
+
|
|
163
|
+
**Example prompts:**
|
|
164
|
+
- "Go to https://example.com, click the pricing link, then screenshot both pages"
|
|
165
|
+
- "Navigate to the login page, fill in test credentials, submit, and screenshot the dashboard"
|
|
166
|
+
|
|
167
|
+
### `list_devices`
|
|
168
|
+
|
|
169
|
+
List all 25+ available device presets with viewport dimensions.
|
|
170
|
+
|
|
171
|
+
**Example prompt:**
|
|
172
|
+
- "What device presets are available for screenshots?"
|
|
173
|
+
|
|
174
|
+
### `check_usage`
|
|
175
|
+
|
|
176
|
+
Check your current API usage and plan limits.
|
|
177
|
+
|
|
178
|
+
**Example prompt:**
|
|
179
|
+
- "How many API requests do I have left this month?"
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## Configuration
|
|
184
|
+
|
|
185
|
+
| Environment Variable | Required | Default | Description |
|
|
186
|
+
|---------------------|----------|---------|-------------|
|
|
187
|
+
| `PAGEBOLT_API_KEY` | **Yes** | — | Your PageBolt API key ([get one free](https://pagebolt.dev)) |
|
|
188
|
+
| `PAGEBOLT_BASE_URL` | No | `https://pagebolt.dev` | API base URL |
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## Pricing
|
|
193
|
+
|
|
194
|
+
| Plan | Price | Requests/mo | Rate Limit |
|
|
195
|
+
|------|-------|-------------|------------|
|
|
196
|
+
| **Free** | $0 | 100 | 10 req/min |
|
|
197
|
+
| Starter | $29/mo | 5,000 | 60 req/min |
|
|
198
|
+
| Growth | $79/mo | 25,000 | 120 req/min |
|
|
199
|
+
| Scale | $199/mo | 100,000 | 300 req/min |
|
|
200
|
+
|
|
201
|
+
Free plan requires no credit card. Starter and Growth include a 14-day free trial.
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## Why PageBolt?
|
|
206
|
+
|
|
207
|
+
- **5 APIs, one key** — screenshot, PDF, OG image, browser automation, and MCP server. Stop paying for separate tools.
|
|
208
|
+
- **Clean captures** — automatic ad blocking, cookie banner removal, chat widget suppression, tracker blocking.
|
|
209
|
+
- **25+ device presets** — iPhone SE to Galaxy S24 Ultra, iPad Pro, MacBook, Desktop 4K.
|
|
210
|
+
- **Ship in 5 minutes** — plain HTTP, no SDKs required, works in any language.
|
|
211
|
+
- **Inline results** — screenshots and OG images appear directly in your AI chat.
|
|
212
|
+
|
|
213
|
+
---
|
|
214
|
+
|
|
215
|
+
## Links
|
|
216
|
+
|
|
217
|
+
- **Website:** [pagebolt.dev](https://pagebolt.dev)
|
|
218
|
+
- **API Docs:** [pagebolt.dev/docs.html](https://pagebolt.dev/docs.html)
|
|
219
|
+
- **npm:** [npmjs.com/package/pagebolt-mcp](https://www.npmjs.com/package/pagebolt-mcp)
|
|
220
|
+
- **Issues:** [github.com/Custodia-Admin/pagebolt-mcp/issues](https://github.com/Custodia-Admin/pagebolt-mcp/issues)
|
|
221
|
+
|
|
222
|
+
---
|
|
223
|
+
|
|
224
|
+
## License
|
|
225
|
+
|
|
226
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "pagebolt-mcp",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "MCP server for PageBolt — take screenshots, generate PDFs, and create OG images from AI coding assistants like Claude, Cursor, and Windsurf.",
|
|
5
|
-
"main": "src/index.mjs",
|
|
6
|
-
"bin": {
|
|
7
|
-
"pagebolt-mcp": "src/index.mjs"
|
|
8
|
-
},
|
|
9
|
-
"type": "module",
|
|
10
|
-
"scripts": {
|
|
11
|
-
"start": "node src/index.mjs"
|
|
12
|
-
},
|
|
13
|
-
"keywords": [
|
|
14
|
-
"mcp",
|
|
15
|
-
"mcp-server",
|
|
16
|
-
"model-context-protocol",
|
|
17
|
-
"screenshot",
|
|
18
|
-
"screenshot-api",
|
|
19
|
-
"pdf",
|
|
20
|
-
"pdf-generation",
|
|
21
|
-
"og-image",
|
|
22
|
-
"open-graph",
|
|
23
|
-
"social-card",
|
|
24
|
-
"browser-automation",
|
|
25
|
-
"puppeteer",
|
|
26
|
-
"web-capture",
|
|
27
|
-
"pagebolt",
|
|
28
|
-
"ai-tools",
|
|
29
|
-
"claude",
|
|
30
|
-
"cursor",
|
|
31
|
-
"windsurf",
|
|
32
|
-
"cline",
|
|
33
|
-
"devtools"
|
|
34
|
-
],
|
|
35
|
-
"author": "PageBolt <hello@pagebolt.dev> (https://pagebolt.dev)",
|
|
36
|
-
"license": "MIT",
|
|
37
|
-
"mcpName": "io.github.Custodia-Admin/pagebolt",
|
|
38
|
-
"repository": {
|
|
39
|
-
"type": "git",
|
|
40
|
-
"url": "git+https://github.com/Custodia-Admin/pagebolt-mcp.git"
|
|
41
|
-
},
|
|
42
|
-
"homepage": "https://pagebolt.dev",
|
|
43
|
-
"bugs": {
|
|
44
|
-
"url": "https://github.com/Custodia-Admin/pagebolt-mcp/issues"
|
|
45
|
-
},
|
|
46
|
-
"engines": {
|
|
47
|
-
"node": ">=18.0.0"
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"src/",
|
|
51
|
-
"README.md",
|
|
52
|
-
"LICENSE",
|
|
53
|
-
"server.json"
|
|
54
|
-
],
|
|
55
|
-
"dependencies": {
|
|
56
|
-
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
57
|
-
"zod": "^4.3.6"
|
|
58
|
-
}
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "pagebolt-mcp",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "MCP server for PageBolt — take screenshots, generate PDFs, and create OG images from AI coding assistants like Claude, Cursor, and Windsurf.",
|
|
5
|
+
"main": "src/index.mjs",
|
|
6
|
+
"bin": {
|
|
7
|
+
"pagebolt-mcp": "src/index.mjs"
|
|
8
|
+
},
|
|
9
|
+
"type": "module",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"start": "node src/index.mjs"
|
|
12
|
+
},
|
|
13
|
+
"keywords": [
|
|
14
|
+
"mcp",
|
|
15
|
+
"mcp-server",
|
|
16
|
+
"model-context-protocol",
|
|
17
|
+
"screenshot",
|
|
18
|
+
"screenshot-api",
|
|
19
|
+
"pdf",
|
|
20
|
+
"pdf-generation",
|
|
21
|
+
"og-image",
|
|
22
|
+
"open-graph",
|
|
23
|
+
"social-card",
|
|
24
|
+
"browser-automation",
|
|
25
|
+
"puppeteer",
|
|
26
|
+
"web-capture",
|
|
27
|
+
"pagebolt",
|
|
28
|
+
"ai-tools",
|
|
29
|
+
"claude",
|
|
30
|
+
"cursor",
|
|
31
|
+
"windsurf",
|
|
32
|
+
"cline",
|
|
33
|
+
"devtools"
|
|
34
|
+
],
|
|
35
|
+
"author": "PageBolt <hello@pagebolt.dev> (https://pagebolt.dev)",
|
|
36
|
+
"license": "MIT",
|
|
37
|
+
"mcpName": "io.github.Custodia-Admin/pagebolt",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/Custodia-Admin/pagebolt-mcp.git"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://pagebolt.dev",
|
|
43
|
+
"bugs": {
|
|
44
|
+
"url": "https://github.com/Custodia-Admin/pagebolt-mcp/issues"
|
|
45
|
+
},
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=18.0.0"
|
|
48
|
+
},
|
|
49
|
+
"files": [
|
|
50
|
+
"src/",
|
|
51
|
+
"README.md",
|
|
52
|
+
"LICENSE",
|
|
53
|
+
"server.json"
|
|
54
|
+
],
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
57
|
+
"zod": "^4.3.6"
|
|
58
|
+
}
|
|
59
|
+
}
|