MCP cover image
See in Github
2025-03-23

演示MCP工具以捕获URL屏幕截图。

1

Github Watches

2

Github Forks

1

Github Stars

MCP URL2SNAP 🚀🤖

A lightweight Model Context Protocol (MCP) server that enables your LLM to capture screenshots of any specified URL and return only the access URL for the captured image. This tool simplifies the process of generating and sharing webpage snapshots, making it perfect for integrating visual capture capabilities into AI applications like Claude Desktop or automation workflows.


What is Model Context Protocol (MCP)?

At its core, MCP is a standardized protocol designed to streamline communication between AI models and external systems. Think of it as a universal language that allows different AI agents, tools, and services to interact seamlessly.

MCP drawio (1)


Features

  • Email Verification: Verify email addresses in real-time.
  • MCP Integration: Seamlessly connect with MCP-compatible LLMs.
  • Easy Setup: Built with Python and the MCP SDK for quick deployment.

MCP follows a client-server architecture:

client server drawio


Watch the Demo

Click the image below to watch a video demo of the MCP Email Verify tool in action:

Youtube


Requirements

  • Python: Python 3.11.0 or higher.
  • UV: 0.6.9 or higher.

Setup

1. Clone the Repository

git clone https://github.com/Abhi5h3k/MCP-URL2SNAP.git
cd MCP-URL2SNAP

2. Install UV

If you don’t have UV installed, you can install it using the following commands:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

Verify the installation:

uv --version

3. Set Up the Virtual Environment

Create a virtual environment using UV:

uv venv

Activate the virtual environment: On Windows:

.venv\Scripts\activate

4. Install Dependencies Install the required dependencies from pyproject.toml using UV:

uv install

Running the Server

  1. Set Up Environment Variables Create a .env file in the root directory and add your AbstractAPI key:
ABSTRACT_API_KEY=your_api_key_here
  1. Run the Server Start the MCP server:
uv run server.py

Usage

  1. Register the Server with Claude Desktop Update the claude_desktop_config.json file to include your MCP server:
{
    "mcpServers": {
        "verify_mail": {
            "command": "uv",
            "args": [
                "--directory",
                "C:\\ABSOLUTE\\PATH\\TO\\MCP-Email-Verify",
                "run",
                "server.py"
            ],
            "env":{
              "ABSTRACT_API_KEY":"YUR_API_KEY"
            }
        }
    }
}

image

image

  1. Restart Claude Desktop Restart Claude Desktop to detect the new tool.

  2. Verify Emails Use prompts like:

"can you show me the screenshot of https://github.com/Abhi5h3k"

Development

Formatting and Linting This project uses black and isort for code formatting and import sorting.

  1. Install development dependencies:
     uv add black isort --dev
    
  2. Format the code:
    black .
    
  3. Sort imports:
  isort .

Set up pre-commit

pre-commit install
pre-commit run --all-files

Article: Model Context Protocol (MCP): A Beginner's Guide to the Future of AI Communication

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • modelcontextprotocol
  • 模型上下文协议服务器

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

    Reviews

    3 (1)
    Avatar
    user_QuzjYVW3
    2025-04-16

    MCP-URL2SNAP by Abhi5h3k is an exceptional tool for capturing snapshots from URLs effortlessly. It simplifies the process and integrates seamlessly with various applications. The efficiency and accuracy of the snapshots it produces are remarkable. Highly recommended for developers and researchers who need quick and reliable screenshots. Find out more at https://github.com/Abhi5h3k/MCP-URL2SNAP.