
Cursor MCP (Model Context Protocol)
Cursor Model Context Protocol (MCP) extension for Chrome - with comprehensive test coverage
what is Cursor MCP?
Cursor MCP (Model Context Protocol) is a Chrome extension that integrates with Cursor IDE, enhancing context sharing between the browser and the IDE.
how to use Cursor MCP?
To use Cursor MCP, install the extension in Chrome and add it to your Cursor IDE settings. You can then access various features directly from the IDE.
key features of Cursor MCP?
- Capture console logs and errors
- Track network requests and responses
- Take screenshots
- Get selected DOM elements
- Register commands with Cursor IDE
- Configure logging settings
use cases of Cursor MCP?
- Debugging web applications by capturing console logs.
- Monitoring network requests during development.
- Taking screenshots for documentation or bug reporting.
FAQ from Cursor MCP?
- Is Cursor MCP free to use?
Yes! Cursor MCP is free to use for everyone.
- Can I contribute to Cursor MCP?
Yes! Contributions are welcome, and you can submit a pull request on GitHub.
- What programming language is Cursor MCP written in?
Cursor MCP is primarily written in JavaScript.
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
- Clone this repository
- Open Chrome and navigate to chrome://extensions/
- Enable Developer Mode (toggle in the top right)
- Click "Load unpacked" and select the cloned repository folder
- The extension should now be installed and visible in your browser toolbar
Adding to Cursor Settings
- Open Cursor IDE
- Go to Settings (gear icon in the bottom left corner)
- Navigate to the "Extensions" or "MCPs" section
- Click "Add MCP"
- 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:
- Fork the repository
- Create a feature branch
- Make your changes
- 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.