@page2ai/mcp 0.3.0 → 0.3.2

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/CHANGELOG.md CHANGED
@@ -5,6 +5,33 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
5
5
  project uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html); while the
6
6
  major version is `0`, a minor bump may carry breaking changes.
7
7
 
8
+ ## 0.3.2 - 2026-10-17
9
+
10
+ ### Fixed
11
+ - **`@page2ai/core` 0.2.2: the review fix for 0.2.1's button rule** (P2A-019), and the dependency range starts there
12
+ (`^0.2.2`, was `^0.2.1`). A page with thousands of sibling buttons converts in tens of milliseconds again (core
13
+ 0.2.1 took 1.0 to 5.7 s for 3,000 sibling buttons, measured on 2026-10-18), and the page text 0.2.1 left out
14
+ comes back: an accordion's question with neither `aria-expanded` nor a heading (the session titles of a
15
+ W3Schools-style accordion), a definition
16
+ term, a question under `role="heading"`, a link written inside a button, and a command whose button is named «Copy
17
+ command: <command>» (core CHANGELOG, 0.2.2). The range moves for the reason given under 0.3.1: measured again on
18
+ 2026-10-18, with core 0.2.2 out, an `npx` cache filled before it still ran `page2ai-mcp` 0.3.1 on core 0.2.1, and an
19
+ empty cache ran core 0.2.2.
20
+ - README: the example output stays as captured on core 0.2.1: on 2026-10-18 core 0.2.2 converted that page byte for
21
+ byte as 0.2.1 did, without the front matter.
22
+
23
+ ## 0.3.1 - 2026-10-17
24
+
25
+ ### Fixed
26
+ - **`@page2ai/core` 0.2.1: interface buttons no longer print as text** (P2A-019), and the dependency range starts
27
+ there (`^0.2.1`, was `^0.2.0`). The header's «Copy page» with the glyph of its icon and the code-sample switcher
28
+ («cURL …») of Mintlify, Vercel and Claude docs pages are gone from the tool's output; buttons that hold the page's
29
+ own text stay (an accordion's question, a table column's name, a word of a sentence: core CHANGELOG, 0.2.1).
30
+ The range moves because `npx` reuses a cached install while the server's own version stays the same: measured on
31
+ 2026-10-18 with an npx cache filled before core 0.2.1 came out, `npx -y page2ai-mcp` (0.3.0) still ran core
32
+ 0.2.0 after the release, and a cold cache ran 0.2.1.
33
+ - README: the example output is a new capture on core 0.2.1, without the buttons.
34
+
8
35
  ## 0.3.0 - 2026-10-17
9
36
 
10
37
  ### Changed (breaking)
package/README.md CHANGED
@@ -176,41 +176,29 @@ command per client and a verification step.
176
176
  ## What a call returns
177
177
 
178
178
  Verbatim output of `page_to_markdown(url="https://docs.anthropic.com/en/api/messages")`,
179
- captured 2026-10-17 with core 0.2.0, truncated:
179
+ captured 2026-10-18 with core 0.2.1, truncated:
180
180
 
181
181
  ```markdown
182
182
  ---
183
183
  title: "Messages"
184
184
  source: "https://platform.claude.com/docs/en/api/messages"
185
- captured_at: "2026-10-17T20:35:21.487Z"
185
+ captured_at: "2026-10-18T04:33:07.670Z"
186
186
  language: "en"
187
187
  description: "API reference for Messages endpoints"
188
188
  canonical: "https://platform.claude.com/docs/en/api/messages"
189
189
  og_title: "Messages - Claude API Reference"
190
190
  extractor: "page2ai-core"
191
- extractor_version: "0.2.0"
191
+ extractor_version: "0.2.1"
192
192
  ---
193
193
 
194
194
  # Messages
195
195
 
196
- Copy page
197
-
198
-
199
-
200
- cURL 
201
-
202
196
 
203
197
 
204
198
  A beta version of this API exists and may have additional functionality. [View the beta version](https://platform.claude.com/docs/en/api/http/beta/messages).
205
199
 
206
200
  1. [API reference](https://platform.claude.com/docs/en/api/http)
207
201
 
208
- Copy page
209
-
210
-
211
-
212
- cURL 
213
-
214
202
  ##### [Create a Message](https://platform.claude.com/docs/en/api/http/messages/create)
215
203
 
216
204
   POST /v1/messages
@@ -220,8 +208,8 @@ Send a structured list of input messages with text and/or image content, and the
220
208
 
221
209
  YAML front matter (title, source, capture timestamp, page metadata, extractor provenance),
222
210
  then the page as Markdown: headings, tables and fenced code preserved; navigation, header,
223
- footer and sidebars dropped. Buttons inside the article come through as text (here «Copy
224
- page», with the glyph of its icon, and «cURL»). Up to 0.2.8 this URL returned the site's own
211
+ footer and sidebars dropped. Interface buttons are left out (core 0.2.1); up to 0.3.0 this page also printed «Copy page»
212
+ (with the glyph of its icon) and the «cURL» code-sample switcher, each twice. Up to 0.2.8 this URL returned the site's own
225
213
  Markdown copy (`extractor_source: "content-negotiation"`); since 0.3.0 the server reads only
226
214
  the page.
227
215
 
package/manifest.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "manifest_version": "0.3",
3
3
  "name": "page2ai-mcp",
4
4
  "display_name": "Page2AI — Web to Markdown",
5
- "version": "0.3.0",
5
+ "version": "0.3.2",
6
6
  "description": "Convert any web page to clean Markdown for LLM context",
7
7
  "long_description": "Page2AI MCP converts a web page URL to Markdown for AI context windows. It keeps the page's main content (its <main> or dominant <article>), preserves code blocks with language hints, converts tables and lists, and drops navigation, headers, footers and sidebars. The only network requests go to the URL you pass it and the addresses it redirects to, asked for as a browser opens a page, so docs platforms return the page itself rather than a Markdown copy of it: pure Node + linkedom, no browser, no cookies, no page scripts, no external services, no telemetry. A page behind a sign-in, or one rendered only by JavaScript, is therefore out of its reach.\n\nCompanion to the Page2AI browser extension (https://github.com/igorsaevets/page2ai-extension), which converts the live page in your own browser, including pages behind a sign-in. Built on the open-source @page2ai/core library.",
8
8
  "author": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@page2ai/mcp",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "mcpName": "io.github.igorsaevets/page2ai-mcp",
5
5
  "description": "MCP server that converts any web page URL to clean Markdown for LLM context. Processing is local and SSRF-guarded; no external APIs, no telemetry.",
6
6
  "type": "module",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@modelcontextprotocol/server": "^2.0.0",
38
- "@page2ai/core": "^0.2.0",
38
+ "@page2ai/core": "^0.2.2",
39
39
  "zod": "^4.2.0"
40
40
  },
41
41
  "devDependencies": {
package/server.json CHANGED
@@ -8,12 +8,12 @@
8
8
  "source": "github"
9
9
  },
10
10
  "websiteUrl": "https://github.com/igorsaevets/page2ai-mcp#readme",
11
- "version": "0.3.0",
11
+ "version": "0.3.2",
12
12
  "packages": [
13
13
  {
14
14
  "registryType": "npm",
15
15
  "identifier": "@page2ai/mcp",
16
- "version": "0.3.0",
16
+ "version": "0.3.2",
17
17
  "transport": {
18
18
  "type": "stdio"
19
19
  }