Rendex 扩展
本教程介绍如何把 Rendex MCP 服务器 添加为 goose 扩展,用来截图、生成 PDF,以及把任意网页或原始 HTML 渲染成图像。它适合归档界面、生成发票和报告、制作 OG 图像,也能让 goose 可靠地「看见网页」,而不必拉起一整套浏览器自动化栈。
配置
快速安装
- goose Desktop
- goose CLI
添加 Remote Extension (Streamable HTTP) 类型的扩展,并填写:
端点 URL
https://mcp.rendex.dev/mcp
自定义请求头
Authorization: Bearer <YOUR_RENDEX_API_KEY>
- goose Desktop
- goose CLI
- Launch the installer
- Click
Yesto confirm the installation - Get your Rendex API key and paste it in
- Click
Add Extension - Click the button in the top-left to open the sidebar
- Navigate to the chat
- Run the
configurecommand:
goose configure
- Choose to add a
Remote Extension (Streamable HTTP).
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◆ What type of extension would you like to add?
│ ○ Built-in Extension
│ ○ Command-line Extension
│ ● Remote Extension (Streamable HTTP) (Connect to a remote extension via MCP Streamable HTTP)
└
- Give your extension a name.
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Remote Extension (Streamable HTTP)
│
◆ What would you like to call this extension?
│ Rendex
└
- Enter the Streamable HTTP endpoint URI.
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Remote Extension (Streamable HTTP)
│
◇ What would you like to call this extension?
│ Rendex
│
◆ What is the Streamable HTTP endpoint URI?
│ https://mcp.rendex.dev/mcp
└
- Enter the number of seconds goose should wait for actions to complete before timing out. Default is
300seconds.
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Remote Extension (Streamable HTTP)
│
◇ What would you like to call this extension?
│ Rendex
│
◇ What is the Streamable HTTP endpoint URI?
│ https://mcp.rendex.dev/mcp
│
◆ Please set the timeout for this tool (in secs):
│ 300
└
- Enter a description for this extension.
┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Remote Extension (Streamable HTTP)
│
◇ What would you like to call this extension?
│ Rendex
│
◇ What is the Streamable HTTP endpoint URI?
│ https://mcp.rendex.dev/mcp
│
◇ Please set the timeout for this tool (in secs):
│ 300
│
◆ Enter a description for this extension:
│ Capture screenshots, generate PDFs, and render HTML to images via AI agents
└
- Add a custom header for this extension.
信息
Obtain your Rendex API key and paste it in as the
Bearer token. Free tier includes 500 calls/month, no credit card required.┌ goose-configure
│
◇ What would you like to configure?
│ Add Extension
│
◇ What type of extension would you like to add?
│ Remote Extension (Streamable HTTP)
│
◇ What would you like to call this extension?
│ Rendex
│
◇ What is the Streamable HTTP endpoint URI?
│ https://mcp.rendex.dev/mcp
│
◇ Please set the timeout for this tool (in secs):
│ 300
│
◇ Enter a description for this extension:
│ Capture screenshots, generate PDFs, and render HTML to images via AI agents
│
◆ Would you like to add custom headers?
│ Yes
│
◇ Header name:
│ Authorization
│
◇ Header value:
│ Bearer rdx_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
│
◇ Add another header?
│ No
│
└ Added Rendex extension
使用示例
下面用 Rendex 扩展,从原始 HTML 生成发票 PDF,并归档一个产品页。
goose 提示词
1. 把这段 HTML 渲染成 A4 PDF,页边距 1cm:
<!doctype html>
<html>
<body style="font-family: system-ui; padding: 40px;">
<h1>Invoice #0042</h1>
<p>Bill to: Acme Corp</p>
<table>
<tr><td>MCP server listing</td><td>$500.00</td></tr>
<tr><td>Total</td><td><b>$500.00</b></td></tr>
</table>
</body>
</html>
2. 然后对 https://news.ycombinator.com 截一张深色模式的整页图
3. 把两个结果都返回,方便我保存
goose 输出
我先生成发票 PDF,再截取 HN 页面。
[rendex_screenshot: format=pdf, pdfFormat=A4, pdfMargin={top: 1cm, ...}, html=<invoice markup>]
✓ PDF 截取成功(12,344 字节)
width: 1280 height: 800 capturedAt: 2026-04-15T12:34:56Z
[rendex_screenshot: url=https://news.ycombinator.com, fullPage=true, darkMode=true]
✓ 截图已完成(PNG,847KB)
width: 1280 height: 4,321 waitStrategy: networkidle2
两次渲染都完成了。你得到了:
1. 发票 PDF(A4,12.3KB),结果 1 中为 base64
2. Hacker News 深色模式整页截图(PNG,847KB),结果 2 中为 base64
价格
Rendex 可以免费试用。免费档不需要信用卡。
| 方案 | 每月调用次数 | 速率限制 |
|---|---|---|
| Free | 500 | 10 次/分钟 |
| Starter | 10,000 | 60 次/分钟 |
| Pro | 100,000 | 300 次/分钟 |
| Enterprise | 定制 | 1,000 次/分钟 |
在 rendex.dev 获取 API 密钥。
链接
- 网站:rendex.dev
- GitHub:copperline-labs/rendex-mcp
- npm:
@copperline/rendex-mcp - Smithery:smithery.ai/server/copperline/rendex-mcp
- 官方 MCP Registry:
io.github.copperline-labs/rendex-mcp