CURSOR25X MCP Server
Server loop tugas interaktif untuk Cursor IDE, dirancang untuk melakukan operasi berbasis tugas dalam pengembangan aplikasi web modern.
Dokumentasi
CURSOR25X - Interactive Task Loop MCP Server
๐ฑ Social Media
๐ CURSOR25X is an interactive task loop MCP (Model Context Protocol) server developed for Cursor IDE. It performs task-based operations by continuously receiving user input and develops modern web applications.
๐ฏ Features
- ๐ Interactive Task Loop: Continuous task loop with user input
- ๐ Automatic File Management: Automatically creates
cursor25xinput.cjsfile - ๐ Web App Ready: Ready for modern web applications
- ๐ Smart Working Directory: Automatically detects Cursor workspace
- ๐ Graceful Exit: Clean exit with "stop" command
- โก Task Processing: Determines appropriate tasks based on input type
- ๐ Cursor Rules Integration:
.cursor/rules/cursor25x.mdcrules
๐ Quick Setup
1. Clone Repository
git clone https://github.com/tuncer-byte/cursor25x.git
cd cursor25x
2. Install Dependencies
npm install
npm run build
3. Integrate with Cursor IDE
Add the following to your ~/.cursor/mcp.json file:
{
"mcpServers": {
"cursor25x": {
"command": "node",
"args": ["/path/to/cursor25x/dist/index.js"]
}
}
}
4. Start Using
In Cursor IDE:
- Ctrl+Shift+P > "MCP: Connect to Server"
- Select
cursor25xserver - Run
start_task_looptool
๐ง Usage
Main Tool: start_task_loop
One tool, maximum power!
// Run this tool in Cursor IDE:
mcp_cursor25x_start_task_loop()
What it does:
- ๐ Starts interactive loop
- ๐ Creates
cursor25xinput.cjs - ๐ Creates
.cursor/rules/cursor25x.mdcrules file - ๐ฅ๏ธ Waits for user input in terminal
- โก Processes tasks based on input
๐ Task Loop Workflow
graph TD
A[Tool Started] --> B[Check Files]
B --> C[Create cursor25xinput.cjs]
C --> D[Create .cursor/rules/cursor25x.mdc]
D --> E[Run Node Input Script]
E --> F[Wait for User Input]
F --> G{Input Type?}
G -->|"create"| H[Create Task]
G -->|"read"| I[Read Task]
G -->|"update"| J[Update Task]
G -->|"delete"| K[Delete Task]
G -->|"help"| L[Help Task]
G -->|"stop"| M[End Loop]
H --> N[Return Result]
I --> N
J --> N
K --> N
L --> N
N --> E
๐ก Example Usage Commands
Create Web Application
๐ CURSOR25X prompt: create a modern React web app with authentication
Code Review
๐ CURSOR25X prompt: read and analyze the current project structure
Update
๐ CURSOR25X prompt: update the package.json with latest dependencies
Help
๐ CURSOR25X prompt: help
End Loop
๐ CURSOR25X prompt: stop
๐๏ธ Project Structure
cursor25x/
โโโ src/
โ โโโ index.ts # Main MCP server
โ โโโ interactive-loop.ts # Task loop logic
โ โโโ input-handler.ts # Input processing
โ โโโ rules.ts # Task rules
โโโ dist/ # Compiled JavaScript
โโโ .cursor/
โ โโโ rules/
โ โโโ cursor25x.mdc # Cursor IDE rules
โโโ cursor25xinput.cjs # Interactive input handler
โโโ package.json
โโโ tsconfig.json
โโโ README.md
๐ ๏ธ Development
Run in Development Mode
npm run dev
Build
npm run build
Testing
# Test MCP server
node dist/index.js
๐ง Configuration
Working Directory
Server automatically determines working directory in this order:
CURSOR_WORKSPACEenvironment variablePWDenvironment variable~/cursor25xdefault directory
Cursor Rules
.cursor/rules/cursor25x.mdc file is automatically created and includes:
- Task loop workflow rules
- Input processing guide
- Error handling directives
- Usage examples
๐ Web App Support
CURSOR25X is optimized for modern web application development:
- React/Vue/Angular projects
- Node.js backend development
- Database integration
- API development
- Authentication systems
- Modern UI/UX design
๐จ Troubleshooting
MCP Connection Error
# Check if server is running
ps aux | grep cursor25x
# Port check
netstat -an | grep LISTEN
Build Error
# Clean dependencies and reinstall
rm -rf node_modules package-lock.json
npm install
npm run build
Cursor Integration Error
- Check
~/.cursor/mcp.jsonfile - Make sure paths are correct
- Restart Cursor IDE
๐ค Contributing
- Fork the project
- Create feature branch (
git checkout -b feature/amazing-feature) - Commit changes (
git commit -m 'Add amazing feature') - Push to branch (
git push origin feature/amazing-feature) - Create Pull Request
๐ License
MIT License - see LICENSE file for details.
๐ Credits
- Developer: tuncer-byte
- MCP SDK: @modelcontextprotocol/sdk
- Cursor IDE: Cursor
๐ Contact
- GitHub Issues: Issues
- Discussions: Discussions
๐ Speed up your development workflow 25x with CURSOR25X!
Designed for modern AI-powered development. Perfect harmony with Cursor IDE.