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.
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
- Clone Repository
git clone https://github.com/arnavv-guptaa/screenshot-mcp.git
cd mcp-screenshot
npm install
-
Configure MCP Server
- Open Cursor Settings
- Navigate to "Tools & Integration"
- Click "New MCP Server"
- 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" } } }- Save the configuration
- Verify that "1 tool enabled" appears in the MCP server status
- Make sure the MCP server is active (toggle if needed)
-
Configure Authentication (Optional) Create
screenshot-config.jsonin 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
-
Authentication
- Provide credentials when requesting protected pages
- Mention if there's a specific login flow
-
Dynamic Content
- Let the agent know about interactive elements
- Mention if specific tabs or sections need focus
-
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
- Basic Page Capture
Can you take a screenshot of https://example.com?
- Protected Dashboard
Can you capture https://app.example.com/dashboard?
Login credentials:
user: admin@example.com
pass: admin123
- 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.
- 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
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.