Skip to main content
Glama
jhonychain

rasterly-mcp

by jhonychain

rasterly-mcp

为任何AI智能体赋予观察和阅读实时网页的能力。这是一个MCP服务器,让您的智能体能够将URL转换为干净的Markdown、可查看的截图或PDF文件——由 rasterly(一个真正的无头Chromium渲染API)提供支持。

适用于任何MCP客户端:Claude Desktop、Claude Code、Cursor、Windsurf等。

工具

工具

智能体获得的能力

read_url

将页面的主要内容转换为干净、适合LLM的Markdown格式——JS已渲染,导航/广告/样板内容已剥离。用于阅读URL。

capture_url

返回截图图像,智能体可以看到页面(布局、图表等任何视觉元素)。可选full_page参数。

url_to_pdf

生成页面的PDF文件(base64资源),适合打印。

为什么智能体需要这个:普通的fetch()只能获取原始HTML,而现代JS渲染的网站甚至不会填充内容。read_url会运行一个真正的浏览器,只返回文章内容——令牌更少,信号更强。

Related MCP server: Renderly MCP

安装

rasterly.dev 获取密钥(免费版:每月100次渲染),然后将服务器添加到您的MCP客户端。

Claude Desktop / Claude Code / Cursor — 添加到您的MCP配置文件中 (claude_desktop_config.json.mcp.json或客户端的MCP设置):

{
  "mcpServers": {
    "rasterly": {
      "command": "npx",
      "args": ["-y", "rasterly-mcp"],
      "env": { "RASTERLY_API_KEY": "sk_live_your_key" }
    }
  }
}

重启客户端。您的智能体现在可以使用read_urlcapture_urlurl_to_pdf了。

试试看

向您的智能体提问,例如:

  • "阅读 https://news.ycombinator.com 并总结前3篇文章。"

  • "截取stripe.com的截图,告诉我首屏部分说了什么。"

  • "把这个文档页面转换成PDF。"

配置

环境变量

默认值

说明

RASTERLY_API_KEY

您的rasterly密钥(作为X-Api-Key发送)。

RASTERLY_API_URL

https://rasterly-production.up.railway.app

覆盖以指向自托管的rasterly。

独立运行

RASTERLY_API_KEY=sk_live_… npx -y rasterly-mcp

MIT · 基于 rasterly 构建

A
license - permissive license
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    B
    maintenance
    Enables AI agents to read web pages reliably, returning clean markdown content, hyperlinks, and metadata without navigation or ad noise.
    3
    14
    MIT
  • A
    license
    -
    quality
    B
    maintenance
    Gives an agent a real browser. Turns any url into clean markdown, takes a screenshot of a url, and converts a url or raw html to pdf. It runs javascript, so it works on pages that a plain fetch returns empty. Respects robots.txt and refuses sites that block automation instead of trying to defeat them. No signup and no api key to start: the first call mints a free trial key and hands it back.
    MIT

View all related MCP servers

Related MCP Connectors

  • Read a URL as clean markdown, screenshot a website, url to PDF. Web access for agents, no signup.

  • Generate images, GIFs, and PDFs from HTML, URLs, or templates — from your AI agent.

  • Web scraping for AI agents. Converts URLs to clean, LLM-ready Markdown with anti-bot bypass.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jhonychain/rasterly-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server