screenshot-mcp

screenshot-mcp

An AI-powered screenshot tool for Cursor IDE that enables agents to capture and analyze web pages, handling authentication, dynamic content, and element-specific capture.

Category
Visit Server

README

MCP Screenshot Tool for Cursor

A powerful AI-powered screenshot tool designed specifically for Cursor IDE, enabling AI agents to capture and analyze web pages intelligently.

Features

  • 🤖 AI-First Design - Built for AI agents to understand and interact with web pages
  • 🔐 Authentication Support - Handles login flows automatically
  • 📊 Smart Content Analysis - Detects and captures dynamic content, tabs, and interactive elements
  • 📸 Comprehensive Capture - Takes full-page, scrolling, and element-specific screenshots
  • ⚡ Intelligent Waiting - Adapts to page content and ensures proper rendering

Setup in Cursor

  1. Clone Repository
git clone https://github.com/arnavv-guptaa/screenshot-mcp.git
cd mcp-screenshot
npm install
  1. Configure MCP Server

    1. Open Cursor Settings
    2. Navigate to "Tools & Integration"
    3. Click "New MCP Server"
    4. Add the following configuration (replace the paths with your local clone path):
    {
      "mcpServers": {
        "screenshot": {
          "type": "local",
          "command": "node",
          "args": ["/Users/username/path/to/screenshot-mcp/mcp-screenshot.js"],
          "cwd": "/Users/username/path/to/screenshot-mcp"
        }
      }
    }
    
    1. Save the configuration
    2. Verify that "1 tool enabled" appears in the MCP server status
    3. Make sure the MCP server is active (toggle if needed)
  2. Configure Authentication (Optional) Create screenshot-config.json in your cloned repository:

{
  "authentication": {
    "required": true,
    "credentials": {
      "username": "your-username",
      "password": "your-password"
    }
  }
}

Usage Guide for AI Agents

Basic Screenshot

Simply provide the URL to capture:

@https://example.com
Can you take a screenshot of this page?

Authentication Required

For protected pages, provide credentials:

@https://app.example.com/dashboard
Can you capture this page? Here are the credentials:
username: user@example.com
password: pass123

Dynamic Content

The tool automatically:

  • Waits for content to load
  • Detects and captures tabs
  • Handles lazy-loaded content
  • Ensures charts and data are rendered

Example:

@https://app.example.com/analytics
Can you capture all tabs in the analytics dashboard?

Element Specific

Capture specific components:

@https://example.com/pricing
Can you capture just the pricing table?

Best Practices for Users

  1. Authentication

    • Provide credentials when requesting protected pages
    • Mention if there's a specific login flow
  2. Dynamic Content

    • Let the agent know about interactive elements
    • Mention if specific tabs or sections need focus
  3. Performance

    • Allow time for complex pages to load
    • Mention if certain elements need special attention

Capabilities

The tool can:

  • Handle single-page applications (SPAs)
  • Navigate and capture multiple tabs
  • Wait for dynamic content to load
  • Capture specific elements
  • Handle various authentication flows
  • Analyze page structure
  • Detect and interact with UI components

Examples

  1. Basic Page Capture
Can you take a screenshot of https://example.com?
  1. Protected Dashboard
Can you capture https://app.example.com/dashboard?
Login credentials:
user: admin@example.com
pass: admin123
  1. Multi-Tab Interface
Can you capture all tabs on https://app.example.com/settings?
Make sure to wait for each tab's content to load.
  1. Complex Data Views
Can you capture the analytics dashboard at https://app.example.com/analytics?
Please ensure all charts are fully rendered.

Notes

  • The tool automatically handles most scenarios without special configuration
  • Screenshots are processed and displayed directly in the Cursor chat
  • The tool adapts its waiting strategy based on page content
  • Authentication sessions are managed automatically

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured