Sponsored by Deepsite.site

Cursor MCP (Model Context Protocol)

Created By
Sirvenisa year ago
Cursor Model Context Protocol (MCP) extension for Chrome - with comprehensive test coverage
Content

Cursor MCP (Model Context Protocol)

A Chrome extension that integrates with Cursor IDE through the Model Context Protocol (MCP), allowing for enhanced context sharing between the browser and the IDE.

Features

  • Capture console logs and errors
  • Track network requests and responses
  • Take screenshots
  • Get selected DOM elements
  • Register commands with Cursor IDE
  • Configure logging settings

Installation

Browser Extension

  1. Clone this repository
  2. Open Chrome and navigate to chrome://extensions/
  3. Enable Developer Mode (toggle in the top right)
  4. Click "Load unpacked" and select the cloned repository folder
  5. The extension should now be installed and visible in your browser toolbar

Adding to Cursor Settings

  1. Open Cursor IDE
  2. Go to Settings (gear icon in the bottom left corner)
  3. Navigate to the "Extensions" or "MCPs" section
  4. Click "Add MCP"
  5. Enter the MCP information and click "Add"

Usage

You can use the MCP directly from Cursor IDE after adding it to your settings:

`javascript // Get console logs const logs = await mcp.getConsoleLogs();

// Take a screenshot const screenshot = await mcp.takeScreenshot();

// Get all context const context = await mcp.getAllContext(); `

Configuration

The MCP can be configured with the following options:

  • Log limit: Maximum number of logs to keep
  • Query limit: Maximum size of query to process
  • Show request headers: Whether to include request headers in network logs
  • Show response headers: Whether to include response headers in network logs

Development

To contribute to this project, follow these steps:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Submit a pull request

Documentation

For more detailed information, see the following documentation:

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Recommend Clients
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
DeepChatYour AI Partner on Desktop
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
GOOGLE-ADS---ADPLUGThe Google Ads MCP server for Claude and ChatGPT. Connect Google Ads to the AI you already use. Ask it to audit search terms, check pacing, compare CPA, and prepare changes you can review before anything touches the account.
Cline โ€“ #1 on OpenRouterAutonomous coding agent right in your IDE, capable of creating/editing files, executing commands, using the browser, and more with your permission every step of the way.
ZedCode at the speed of thought โ€“ Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
HyperChatHyperChat is a Chat client that strives for openness, utilizing APIs from various LLMs to achieve the best Chat experience, as well as implementing productivity tools through the MCP protocol.
A Sleek AI Assistant & MCP Client5ire is a cross-platform desktop AI assistant, MCP client. It compatible with major service providers, supports local knowledge base and tools via model context protocol servers .
Continueโฉ Create, share, and use custom AI code assistants with our open-source IDE extensions and hub of models, rules, prompts, docs, and other building blocks
y-cli ๐Ÿš€A Tiny Terminal Chat App for AI Models with MCP Client Support
ChatWiseThe second fastest AI chatbotโ„ข
WindsurfThe new purpose-built IDE to harness magic
MCP PlaygroundCall MCP Server Tools Online
LutraLutra is the first MCP compatible client built for everyone
Cherry Studio๐Ÿ’ Cherry Studio is a desktop client that supports for multiple LLM providers.
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Refact.aiOpen-source AI Agent for VS Code and JetBrains that autonomously solves coding tasks end-to-end.
Roo Code (prev. Roo Cline)Roo Code (prev. Roo Cline) gives you a whole dev team of AI agents in your code editor.
chatmcpChatMCP is an AI chat client implementing the Model Context Protocol (MCP).
CursorThe AI Code Editor
MCP ConnectEnables cloud-based AI services to access local Stdio based MCP servers via HTTP requests