使用说明
junipr mcp
MCP服务器 Junipr API。让AI助手访问75多种网络智能工具——屏幕截图、PDF、元数据提取、抓取器、验证器等。
工具
| 工具 | 说明 |
|---|---|
screenshot |
捕获任何网页的屏幕截图(PNG、JPEG或WebP) |
pdf |
从URL或原始HTML生成PDF |
metadata |
提取标题、描述、开放图、推特卡、JSON-LD等 |
run_tool |
通过slug运行75多种Junipr工具中的任何一种(抓取器、验证器、转换器、分析器) |
设置
1.获取API密钥
注册地址: Junipr.i//登录 以获得免费的API密钥(每月500个学分)。
2.配置您的MCP客户端
克劳德桌面版
添加到您的Claude Desktop配置文件中:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
窗户: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"junipr": {
"command": "npx",
"args": ["-y", "junipr-mcp"],
"env": {
"JUNIPR_API_KEY": "your-api-key-here"
}
}
}
}
克劳德代码(CLI)
claude mcp add junipr -- npx -y junipr-mcp
然后设置环境变量:
export JUNIPR_API_KEY=your-api-key-here
光标
添加到光标MCP设置(.cursor/mcp.json):
{
"mcpServers": {
"junipr": {
"command": "npx",
"args": ["-y", "junipr-mcp"],
"env": {
"JUNIPR_API_KEY": "your-api-key-here"
}
}
}
}
VS Code
添加到您的VS代码设置(.vscode/mcp.json):
{
"servers": {
"junipr": {
"command": "npx",
"args": ["-y", "junipr-mcp"],
"env": {
"JUNIPR_API_KEY": "your-api-key-here"
}
}
}
}
帆板运动
添加到您的Windsurf MCP配置(~/.codeium/windsurf/mcp_config.json):
{
"mcpServers": {
"junipr": {
"command": "npx",
"args": ["-y", "junipr-mcp"],
"env": {
"JUNIPR_API_KEY": "your-api-key-here"
}
}
}
}
工具参考
截图
捕获任何网页的屏幕截图。
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
url |
string | (必填) | 要捕获的URL |
format |
png |
jpeg |
webp |
width |
编号 | 1280 |
视口宽度(320-3840) |
height |
编号 | 720 |
视口高度(200-2160) |
fullPage |
布尔值 | false |
捕获完整的可滚动页面 |
deviceType |
desktop |
mobile |
tablet |
blockCookieBanners |
布尔值 | true |
隐藏cookie横幅 |
从URL或HTML生成PDF。
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
url |
string | -- | 要转换的URL(提供 url 或 html) |
html |
string | -- | 要转换的原始HTML(提供 url 或 html) |
format |
A4 |
Letter |
Legal |
landscape |
布尔值 | false |
景观导向 |
printBackground |
布尔值 | true |
包括背景 |
margin |
对象 | 1cm 每个 |
{ top, right, bottom, left } CSS单位 |
headerTemplate |
string | -- | 标题HTML模板 |
footerTemplate |
string | -- | 页脚HTML模板 |
displayHeaderFooter |
布尔值 | false |
显示页眉/页脚 |
元数据
从任何网页提取元数据。
| 参数 | 类型 | 默认值 | 说明 |
|---|---|---|---|
url |
string | (必填) | 从中提取元数据的URL |
返回标题、描述、Open Graph标签、Twitter卡片、JSON-LD结构化数据、favicon、规范URL、语言等。
许可证
麻省理工学院
