MCP URL2SNAP 🚀🤖
轻量级**模型上下文协议 (MCP)**服务器,使您的 LLM 能够截取任何指定 URL 的屏幕截图,并仅返回所截取图像的访问 URL。此工具简化了生成和共享网页快照的过程,非常适合将视觉捕获功能集成到 Claude Desktop 等 AI 应用程序或自动化工作流程中。
什么是模型上下文协议(MCP)?
MCP 的核心是一种标准化协议,旨在简化 AI 模型与外部系统之间的通信。MCP 可以被视为一种通用语言,允许不同的 AI 代理、工具和服务无缝交互。
特征
- 电子邮件验证:实时验证电子邮件地址。
- MCP 集成:与 MCP 兼容的 LLM 无缝连接。
- 易于设置:使用 Python 和 MCP SDK 构建,可快速部署。
MCP 遵循客户端-服务器架构:
观看演示
点击下面的图片观看 MCP 电子邮件验证工具的视频演示:
要求
- Python :Python 3.11.0 或更高版本。
- UV :0.6.9或更高。
设置
1.克隆存储库
2.安装UV
如果您没有安装 UV,您可以使用以下命令安装它:
验证安装:
3.设置虚拟环境
使用 UV 创建虚拟环境:
激活虚拟环境:在 Windows 上:
4.安装依赖项使用 UV 从 pyproject.toml 安装所需的依赖项:
运行服务器
- 设置环境变量在根目录中创建一个 .env 文件并添加您的AbstractAPI密钥:
- 运行服务器启动 MCP 服务器:
用法
- 使用 Claude Desktop 注册服务器更新 claude_desktop_config.json 文件以包含您的 MCP 服务器:
- 重新启动 Claude Desktop 重新启动 Claude Desktop 以检测新工具。
- 验证电子邮件使用如下提示:
“你能给我看一下https://github.com/Abhi5h3k的截图吗?”
发展
格式化和 Linting 该项目使用 black 和 isort 进行代码格式化和导入排序。
- 安装开发依赖项:
- 格式化代码:
- 对导入进行排序:
设置预提交
文章:模型上下文协议 (MCP): AI 通信未来入门指南
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
轻量级模型上下文协议 (MCP) 服务器,可让您的 LLM 截取任意指定 URL 的屏幕截图,并仅返回所截取图像的访问 URL。此工具简化了网页快照的生成和共享流程,非常适合集成可视化截取引擎。
Related MCP Servers
- AsecurityAlicenseAqualityAn official MCP server implementation that allows AI assistants to capture website screenshots through the ScreenshotOne API, enabling visual context from web pages during conversations.Last updated -16TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol (MCP) server that enables Claude or other LLMs to fetch content from URLs, supporting HTML, JSON, text, and images with configurable request parameters.Last updated -PythonMIT License
- AsecurityAlicenseAqualityA Model Context Protocol server that extracts images from URLs or base64 data and converts them into a format suitable for LLM analysis, allowing AI models to process and understand visual content.Last updated -3846MIT License
Playwright MCP Serverofficial
AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.Last updated -2187,86711,144TypeScriptApache 2.0