Ultimate Cursor Mcp
Integrates advanced web, code, and file operations with Supabase for database management, providing tools for web scraping, code analysis, and file handling alongside AI-powered functionalities for intelligent analysis and self-improvement based on usage patterns.
Author

giorgos3215
Quick Info
Actions
Tags
Ultimate Self-Evolving Cursor MCP
A comprehensive MCP (Model Context Protocol) implementation for Cursor, featuring advanced tools for web, code, file operations, and Supabase database management.
Features
- Advanced web tools (scraping, crawling, semantic search)
- Powerful code analysis and refactoring tools
- File operations with batch processing and watching capabilities
- AI-powered capabilities (LLM queries, image analysis)
- Full Supabase integration for database operations and management
- Self-improvement mechanism with usage analytics
- Memory persistence for better context understanding
Installation
Easy Setup (Recommended)
Run the setup script which will install both the Ultimate Cursor MCP and optionally the Supabase MCP:
./setup.sh
The script will:
- Install the Ultimate Cursor MCP
- Ask if you want to set up Supabase integration
- Guide you through providing Supabase credentials if needed
- Configure everything automatically
Manual Installation
Ultimate Cursor MCP
python3 tools/mcp_installer.py local .
Supabase MCP (Optional)
python3 tools/mcp_installer.py supabase --url "https://yourproject.supabase.co" --key "your-api-key"
Smithery.ai Installation
If you prefer to install via smithery.ai:
cursor smithery install ultimate-cursor-mcp
Supabase Integration
The Supabase integration provides:
- SQL query execution with safety controls (read-only by default)
- Database schema inspection tools
- Management API access with safety classifications
- Auth Admin tools for user management
Benefits of Supabase MCP
- Safety features: Starts in read-only mode; requires explicit mode switching for write operations
- Comprehensive database tools: Schema inspection, table information, detailed structure
- Full SQL support: Execute any PostgreSQL query with transaction handling
- Advanced Management API access: Send arbitrary requests with auto-injection of project ref
- Auth Admin tools: User creation, deletion, invitation and management
Read the complete Supabase integration guide
Testing
After installation, you can test the functionality:
./test-client.js
Configuration
The configuration is stored in ~/.cursor/mcp.json
. After installation, restart Cursor for the changes to take effect.
Development
Project Structure
src/
- TypeScript implementation of the MCP serverenhanced-mcp.js
- Main MCP servertools/
- Tool implementationsweb-tools.js
- Web scraping and search toolscode-tools.js
- Code analysis toolsfile-tools.js
- File operation toolsai-tools.js
- LLM and image analysis tools
tools/
- Helper scriptsmcp_installer.py
- Installation utility
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
License
MIT