关于 AgentRender
AgentRender 是面向 AI Agent 的 MCP 服务,可将 URL 转为截图、PDF 或结构化网页内容。它提供托管和本地连接方式,并按输出类型提供相应工具。
主要功能
- 01截取 URL 页面截图
- 02将网页保存为 PDF
- 03提取页面元数据、文本和链接
- 04签发免费 API 密钥
适用场景
- 01查看网页的视觉呈现
- 02将网页保存为 PDF
- 03获取网页文本和链接
MCP 相关
它向 MCP 客户端提供 screenshot、pdf、extract 和 get_free_key 工具。可通过托管的 Streamable HTTP 端点或本地运行的服务连接。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://api.agentrenderapi.com/mcpclaude mcp add --transport http corbinvachal48-agentrender https://api.agentrenderapi.com/mcp{"mcpServers":{"corbinvachal48-agentrender":{"type":"http","url":"https://api.agentrenderapi.com/mcp"}}}在 Cursor 中打开{"servers":{"corbinvachal48-agentrender":{"type":"http","url":"https://api.agentrenderapi.com/mcp"}}}在 VS Code 中打开{"mcpServers":{"corbinvachal48-agentrender":{"type":"http","url":"https://api.agentrenderapi.com/mcp"}}}{"mcpServers":{"corbinvachal48-agentrender":{"serverUrl":"https://api.agentrenderapi.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
https://api.agentrenderapi.com/mcp需要授权工具
详细介绍
AgentRender MCP
通过 MCP,将 URL 转换为截图、PDF 或结构化提取结果,供 AI Agent 使用。
立即获取免费 API 密钥 — 每月 150 次渲染,无需信用卡: https://agentrenderapi.com/#waitlist (或者直接让你的 Agent 使用你的邮箱调用
get_free_key工具)**价格:**免费 — 使用免费密钥每月可渲染 150 次(无需信用卡)。需要更多?Starter 每月 $17(每月 2,000 次渲染):https://agentrenderapi.com/#pricing
工具:screenshot(返回图像) · pdf(保存文件并返回其路径) · extract(以 JSON 格式返回标题、文本和链接) · get_free_key
快速开始
- 获取免费密钥:https://agentrenderapi.com/#waitlist(即时获取,无需信用卡)。
- 使用
uvx agentrender-mcp将服务添加到客户端(见下文)。需要安装 uv。 - 让你的 Agent 执行:“截取 https://example.com 的屏幕截图”。
Claude Code
claude mcp add agentrender -e AGENTRENDER_API_KEY=akr_your_key -- uvx agentrender-mcp
Cursor(~/.cursor/mcp.json)/ Claude Desktop(claude_desktop_config.json)
{
"mcpServers": {
"agentrender": {
"command": "uvx",
"args": ["agentrender-mcp"],
"env": {
"AGENTRENDER_API_KEY": "akr_your_key"
}
}
}
}
ChatGPT(OAuth — 无需 API 密钥)
AgentRender 可作为 ChatGPT 应用/连接器,通过 OAuth 登录使用(无需粘贴密钥):
- 在 ChatGPT 中,打开 Settings → Apps & Connectors(目录上线前需启用开发者模式),然后选择 Create / Add connector。
- MCP 服务 URL:
https://api.agentrenderapi.com/mcp· 身份验证:OAuth。ChatGPT 会自动发现授权服务器(RFC 9728 受保护资源元数据 + 动态客户端注册)。 - 点击 Connect,并使用 Google 或电子邮件登录(Auth0)。首次登录时会创建免费账户(每月 150 次渲染)。
- 试试:“截取 https://example.com 的屏幕截图”、“将 https://example.com 保存为 PDF”或“提取 https://en.wikipedia.org/wiki/Web_scraping 中的标题”。
每月额度、速率限制和重置时间:https://agentrenderapi.com/limits · 隐私:https://agentrenderapi.com/privacy
托管 MCP(无需安装)
远程 Streamable HTTP 端点:https://api.agentrenderapi.com/mcp,请求头为 Authorization: Bearer akr_your_key。
claude mcp add --transport http agentrender https://api.agentrenderapi.com/mcp \
--header "Authorization: Bearer akr_your_key"
Cursor:
{
"mcpServers": {
"agentrender": {
"url": "https://api.agentrenderapi.com/mcp",
"headers": { "Authorization": "Bearer akr_your_key" }
}
}
}
使用 pip 代替 uvx
pip install agentrender-mcp
export AGENTRENDER_API_KEY=akr_your_key
agentrender-mcp # or: python -m agentrender_mcp.server
环境变量
| 变量 | 默认值 | 用途 |
|---|---|---|
AGENTRENDER_API_KEY | (必填) | 你的 akr_ 密钥 — 免费,即时获取 |
AGENTRENDER_BASE_URL | https://api.agentrenderapi.com | API 基础 URL |
工具
| 工具 | 对应接口 | 返回内容 |
|---|---|---|
screenshot | POST /v1/screenshot | MCP 图像块(默认使用 JPEG;format = png/webp)+ 简短回执。可选 save_path。 |
pdf | POST /v1/pdf | 将 PDF 保存到本地(save_path 或临时目录);返回路径、字节数和页数。 |
extract | POST /v1/extract | 标题、元描述、规范链接、正文、链接(非 LLM)。 |
get_free_key | POST /v1/eval-key | 为你的邮箱签发免费密钥(每月 150 次),并在当前会话中使用该密钥。 |
套餐
免费:使用免费密钥每月可渲染 150 次,无需信用卡。之后可选 Starter($17/月,2,000 次渲染)· Growth($79)· Scale($259)—— https://agentrenderapi.com/#pricing
每个结果都包含一个 quota 区块(本月剩余渲染次数)。免费额度的 150 次用完后,工具会返回清晰的 quota_exceeded 错误,并附带 upgrade_url——一个与你的密钥关联的 Stripe 结账链接。在该链接完成订阅后,同一密钥会在几秒内升级;只需重试即可。想从网站重新开始?结账确认页面会显示你的新密钥,并立即通过电子邮件发送。
REST
curl -s https://api.agentrenderapi.com/health
curl -s -X POST https://api.agentrenderapi.com/v1/extract \
-H "Authorization: Bearer $AGENTRENDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com"}'
注意事项
- 请勿提交 API 密钥。若密钥泄露,请立即轮换。
- 支持邮箱:[email protected]
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。