返回市场
MCP服务器

MCP服务器

作者:screenshotone21 星标更新:2025-03-29

项目介绍

基本功能

产品定位

ScreenshotOne MCP服务器是一款基于MCP协议的服务器,专门设计用于渲染网站截图并将其返回为图像。

核心特性

  • 渲染网站截图并将其返回为图像。

适用场景

  • 与Claude for Desktop集成以提供截图功能。
  • 其他需要网站截图功能的开发项目。

工具列表

  • render-website-screenshot: 渲染网站截图并将其返回为图像。

使用教程

依赖项

安装依赖项并构建项目:

npm install && npm run build

安装教程

  1. ScreenshotOne注册并获取您的API密钥。
  2. 与Claude for Desktop集成: 将以下内容添加到您的~/Library/Application\ Support/Claude/claude_desktop_config.json中:
    {
        "mcpServers": {
            "screenshotone": {
                "command": "node",
                "args": ["path/to/screenshotone/mcp/build/index.js"],
                "env": {
                    "SCREENSHOTONE_API_KEY": "<your api key>"
                }
            }
        }
    }
    
  3. 单独运行或用于其他项目:
    SCREENSHOTONE_API_KEY=your_api_key && node build/index.js
    

调试方法

运行服务后,可以通过调用render-website-screenshot工具来测试截图功能。