pageport
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pageportfetch https://example.com and show me the first 2000 characters as markdown"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pageport
Fetch a web page and read it as text. pageport retrieves a URL over HTTP, turns HTML pages into clean markdown-style text you can scan or quote, and hands non-HTML responses back exactly as they arrive. Long pages are not a problem: ask for a window of characters, then page forward through the rest with an offset.
What it does
Sends a normal browser-style request and follows redirects.
Converts HTML to readable markdown-style output: headings keep their levels, links keep their targets, lists stay lists, and script or style content is dropped instead of polluting the text.
Returns the untouched document when you ask for raw output, and returns plain-text or other non-HTML bodies unchanged.
Slices long results: choose where reading starts and how many characters come back. When a result is cut short, the output says so and tells you the offset to use for the next chunk.
Reports failures plainly: an unreachable host or an error status comes back as an error result with the reason, never as empty success.
Related MCP server: Fetch MCP Server
CLI
npx @reneturcios/pageport fetch https://example.com
npx @reneturcios/pageport fetch https://example.com --max-length 2000
npx @reneturcios/pageport fetch https://example.com --start-index 2000 --max-length 2000
npx @reneturcios/pageport fetch https://example.com --raw
npx @reneturcios/pageport --versionExit codes: 0 on success, 1 on a fetch error, 2 on a usage error.
MCP server
The same binary runs as a stdio MCP server:
npx -y @reneturcios/pageport mcpMCP client configuration:
{
"mcpServers": {
"pageport": {
"command": "npx",
"args": ["-y", "@reneturcios/pageport", "mcp"]
}
}
}Tool: fetch
Fetches a URL from the internet and optionally extracts its contents as markdown.
Parameter | Type | Required | Default | Meaning |
| string | yes | — | URL to fetch |
| integer | no | 5000 | Maximum number of characters to return |
| integer | no | 0 | Start index for content |
| boolean | no | false | Return raw HTML instead of markdown conversion |
Docker
docker run -i ghcr.io/cloudcorprecords/pageport
docker run --rm ghcr.io/cloudcorprecords/pageport fetch https://example.comThe container defaults to the mcp subcommand, so a plain docker run -i
is a working stdio MCP server.
Development
npm install
npm run build
npm test
npm run devTests cover the HTML conversion, the slicing and truncation behaviour, and the fetch flow against injected responses — no network is needed.
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn any web page URL or HTML into clean Markdown or plain text for an LLM to read.
Screenshot any URL/HTML as PNG/JPEG/WebP, or read it as clean Markdown/text for LLMs.
Fetch any URL and get clean Markdown. Web scraping for AI agents.
Read a URL as clean markdown, screenshot a website, url to PDF. Web access for agents, no signup.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables LLMs to retrieve and process web content by fetching URLs and converting HTML to markdown format. Supports chunked reading of large pages and can access both public websites and local networks.1MIT
- AlicenseBqualityDmaintenanceEnables fetching and processing web content by retrieving URLs and converting HTML to markdown format. Supports chunked reading of webpages and both local (stdio) and HTTP transport modes with optional authentication.1MIT
- AlicenseCqualityFmaintenanceEnables LLMs to retrieve and process web content by fetching URLs and converting HTML to markdown, with support for chunked reading and customizable user-agents.1MIT
- AlicenseAqualityCmaintenanceGive your AI the ability to read the web. Fetches URLs as clean markdown with 9 fallback strategies.249 npm9MIT