@page2ai/mcp 0.2.6 → 0.2.8
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 +49 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/tools/page-to-markdown.d.ts.map +1 -1
- package/dist/tools/page-to-markdown.js +5 -2
- package/dist/tools/page-to-markdown.js.map +1 -1
- package/manifest.json +3 -3
- package/package.json +2 -2
- package/server.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,55 @@ 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.2.8 - 2026-10-16
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- **`@page2ai/core` 0.1.13**, and the dependency range starts there (`^0.1.13`, was `^0.1.12`).
|
|
12
|
+
What `page_to_markdown` returns changes on some pages (core CHANGELOG, 0.1.13):
|
|
13
|
+
- a page streamed by React (Next.js App Router, Remix, Mintlify) returns its article instead
|
|
14
|
+
of the `Loading...` fallback (Anthropic's extended-thinking docs gave 212 characters of
|
|
15
|
+
`Loading...` for a 12,270-character article);
|
|
16
|
+
- hidden text no longer reaches the agent through code, link names or a hidden `<main>`;
|
|
17
|
+
- cells that span columns or rows no longer push later cells out from under their headers, a
|
|
18
|
+
`<br>` in code breaks the line (every Docusaurus code block printed as one line), and an
|
|
19
|
+
image in a table cell is written as its alt text;
|
|
20
|
+
- `include_frontmatter: false` is honoured on docs sites that serve a `.md` twin or answer
|
|
21
|
+
`text/markdown`; both paths added the frontmatter whatever the option said.
|
|
22
|
+
- Lockfile: of what the server runs, only `@page2ai/core` moves (0.1.12 to 0.1.13);
|
|
23
|
+
`@modelcontextprotocol/server` and `/core` stay 2.3.1, `zod` 4.5.4, `linkedom` 0.18.13. The lock
|
|
24
|
+
decides what the MCPB bundle carries. In the test tooling `source-map-js` moves from 1.2.1 to
|
|
25
|
+
1.2.2 (GHSA-68fv-2mgg-jv7q, a denial of service through indexed source-map offsets; it came in
|
|
26
|
+
through vitest, vite and postcss and was never in the published package).
|
|
27
|
+
|
|
28
|
+
### Fixed
|
|
29
|
+
- **What the server says about itself now matches what it does.** `server.json` (shown by the MCP
|
|
30
|
+
Registry and the directories that copy it), the server's `serverInfo` and the hosted variant's said
|
|
31
|
+
it converts "web pages or HTML": its one tool takes a URL. The tool description and the MCPB
|
|
32
|
+
manifest said it "strips ads ... and cookie banners": it has no ad or cookie-banner filter; it keeps
|
|
33
|
+
the page's main content and drops navigation, headers, footers and sidebars, which they now say. The
|
|
34
|
+
manifest no longer says the server shares the browser extension's extraction core (the extension
|
|
35
|
+
runs its own in-page pipeline), and the tool description now tells the model that a page behind a
|
|
36
|
+
sign-in, or one rendered only by JavaScript, is out of this tool's reach.
|
|
37
|
+
|
|
38
|
+
## 0.2.7 - 2026-10-16
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
- **`@page2ai/core` 0.1.12**, and the dependency range starts there (`^0.1.12`, was `^0.1.7`),
|
|
42
|
+
so no install of this version resolves an older core. What `page_to_markdown` returns
|
|
43
|
+
changes on most pages (core CHANGELOG, 0.1.12):
|
|
44
|
+
- text sitting directly in a `<div>`, `<section>` or `<span>` is no longer dropped (on a
|
|
45
|
+
server-rendered admin page 25 of 26 labels and values were missing while every heading
|
|
46
|
+
and table survived);
|
|
47
|
+
- code blocks, tables and paragraphs inside a list item stay in the item;
|
|
48
|
+
- table cells keep their links, code and emphasis, and a table nested in a cell stays in
|
|
49
|
+
that cell instead of repeating its rows in the outer table;
|
|
50
|
+
- content under the `hidden` attribute is left out, except tab panels, hidden blocks
|
|
51
|
+
holding code, `hidden="until-found"` sections and React streaming segments. Hidden text
|
|
52
|
+
can carry instructions the person reading the page never sees; ordinary hidden content
|
|
53
|
+
no longer reaches the agent, the kinds kept above still do.
|
|
54
|
+
- Lockfile: only `@page2ai/core` moves (0.1.11 to 0.1.12); `@modelcontextprotocol/server`
|
|
55
|
+
and `/core` stay 2.3.1, `zod` 4.5.4. The lock decides what the MCPB bundle carries.
|
|
56
|
+
|
|
8
57
|
## 0.2.6 - 2026-10-11
|
|
9
58
|
|
|
10
59
|
### Added
|
package/dist/index.js
CHANGED
|
@@ -48,7 +48,7 @@ const buildServer = () => {
|
|
|
48
48
|
name: SERVER_NAME,
|
|
49
49
|
version: SERVER_VERSION,
|
|
50
50
|
title: 'Page2AI',
|
|
51
|
-
description: 'Convert any webpage
|
|
51
|
+
description: 'Convert any webpage URL to clean Markdown for ChatGPT, Claude, and Gemini ' +
|
|
52
52
|
'context. Preserves code blocks with language hints, tables, and reading structure. ' +
|
|
53
53
|
'Zero telemetry, MIT-licensed.',
|
|
54
54
|
websiteUrl: 'https://github.com/igorsaevets/page2ai-mcp',
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,yCAAyC;AACzC,+EAA+E;AAC/E,4EAA4E;AAC5E,2EAA2E;AAC3E,EAAE;AACF,8EAA8E;AAC9E,6EAA6E;AAC7E,gFAAgF;AAChF,+EAA+E;AAC/E,8EAA8E;AAC9E,2EAA2E;AAC3E,qEAAqE;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAChE,OAAO,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAE7F,MAAM,WAAW,GAAG,aAAa,CAAC;AAElC,mEAAmE;AACnE,EAAE;AACF,mFAAmF;AACnF,8FAA8F;A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CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QACzE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CACF,CAAC;AACJ,CAAC,CAAC;AAEF,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,CAAC;AAC/C,OAAO,CAAC,EAAE,CAAC,SAAS,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-to-markdown.d.ts","sourceRoot":"","sources":["../../src/tools/page-to-markdown.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,yBAAyB;;;;;iBAapC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAG5E,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAElD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"page-to-markdown.d.ts","sourceRoot":"","sources":["../../src/tools/page-to-markdown.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,yBAAyB;;;;;iBAapC,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAG5E,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC;AAElD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmDpC,CAAC;AASF,eAAO,MAAM,oBAAoB,GAC/B,UAAU,OAAO,KAChB,OAAO,CAAC,oBAAoB,CAkC9B,CAAC"}
|
|
@@ -14,8 +14,11 @@ export const pageToMarkdownDefinition = {
|
|
|
14
14
|
name: 'page_to_markdown',
|
|
15
15
|
title: 'Convert Page to Markdown',
|
|
16
16
|
description: 'Fetch a web page URL and convert it to clean Markdown optimized for LLM context. ' +
|
|
17
|
-
'Preserves headings, code blocks (with language hints), links, and tables;
|
|
18
|
-
'
|
|
17
|
+
'Preserves headings, code blocks (with language hints), links, and tables; keeps the ' +
|
|
18
|
+
'main content and drops navigation, headers, footers, and sidebars. It fetches without ' +
|
|
19
|
+
'cookies and runs no page scripts, so a page behind a sign-in or one rendered only by ' +
|
|
20
|
+
'JavaScript comes back as its login page or with no content; read those through a browser ' +
|
|
21
|
+
'tool instead. For Mintlify docs (docs.anthropic.com, OpenAI platform, ' +
|
|
19
22
|
'Vercel, Stripe, etc.) tries the `URL.md` convention first for cleanest output. ' +
|
|
20
23
|
'Discovers tab groups statically and emits each panel as a `### Tab: {label}` section ' +
|
|
21
24
|
'instead of concatenating (prevents Python+TypeScript examples merging into one broken block). ' +
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-to-markdown.js","sourceRoot":"","sources":["../../src/tools/page-to-markdown.ts"],"names":[],"mappings":"AAAA,mFAAmF;AACnF,+EAA+E;AAC/E,8EAA8E;AAC9E,2EAA2E;AAE3E,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAC;AAExF,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,MAAM,CAAC;IAChD,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAC5B,uHAAuH,CACxH;IACD,cAAc,EAAE,CAAC,CAA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BAAgB,EAAE,CAAC;YAClC,OAAO,WAAW,CAAC,8BAA8B,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QAChE,CAAC;QACD,IAAI,CAAC,YAAY,oBAAoB,EAAE,CAAC;YACtC,OAAO,WAAW,CAAC,iBAAiB,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC;QACnD,CAAC;QACD,IAAI,CAAC,YAAY,KAAK,IAAI,CAAC,CAAC,IAAI,KAAK,YAAY,EAAE,CAAC;YAClD,OAAO,WAAW,CAAC,yBAAyB,KAAK,CAAC,UAAU,OAAO,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC;QAClF,CAAC;QACD,MAAM,GAAG,GAAG,CAAC,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QACvD,OAAO,WAAW,CAAC,qBAAqB,GAAG,EAAE,CAAC,CAAC;IACjD,CAAC;AACH,CAAC,CAAC"}
|
package/manifest.json
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
"manifest_version": "0.3",
|
|
3
3
|
"name": "page2ai-mcp",
|
|
4
4
|
"display_name": "Page2AI — Web to Markdown",
|
|
5
|
-
"version": "0.2.
|
|
5
|
+
"version": "0.2.8",
|
|
6
6
|
"description": "Convert any web page to clean Markdown for LLM context",
|
|
7
|
-
"long_description": "Page2AI MCP converts web
|
|
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 its .md twin, which docs platforms such as Mintlify serve: 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": {
|
|
9
9
|
"name": "Igor Saevets",
|
|
10
10
|
"url": "https://github.com/igorsaevets"
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"tools": [
|
|
45
45
|
{
|
|
46
46
|
"name": "page_to_markdown",
|
|
47
|
-
"description": "Fetch a web page URL and convert it to clean Markdown. Preserves headings, code blocks, links, and tables;
|
|
47
|
+
"description": "Fetch a web page URL and convert it to clean Markdown. Preserves headings, code blocks, links, and tables; keeps the main content and drops navigation, headers, footers, and sidebars. No cookies, no page scripts: a page behind a sign-in is out of its reach."
|
|
48
48
|
}
|
|
49
49
|
],
|
|
50
50
|
"compatibility": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@page2ai/mcp",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
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.1.
|
|
38
|
+
"@page2ai/core": "^0.1.13",
|
|
39
39
|
"zod": "^4.2.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
package/server.json
CHANGED
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.igorsaevets/page2ai-mcp",
|
|
4
4
|
"title": "Page2AI — Web to Markdown",
|
|
5
|
-
"description": "Convert web
|
|
5
|
+
"description": "Convert a web page URL to clean Markdown for LLM context. Local, no external API calls.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"url": "https://github.com/igorsaevets/page2ai-mcp",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
10
|
"websiteUrl": "https://github.com/igorsaevets/page2ai-mcp#readme",
|
|
11
|
-
"version": "0.2.
|
|
11
|
+
"version": "0.2.8",
|
|
12
12
|
"packages": [
|
|
13
13
|
{
|
|
14
14
|
"registryType": "npm",
|
|
15
15
|
"identifier": "@page2ai/mcp",
|
|
16
|
-
"version": "0.2.
|
|
16
|
+
"version": "0.2.8",
|
|
17
17
|
"transport": {
|
|
18
18
|
"type": "stdio"
|
|
19
19
|
}
|