degenduel-mcp
AI Development Assistant MCP Server is a tutorial demo providing intelligent coding assistance through custom AI tools.
🤖 AI Development Assistant MCP Server
Welcome to your AI-powered development toolkit, designed as a Model Context Protocol (MCP) server for Cursor! This project provides intelligent coding assistance through custom AI tools. Note that this is mostly a tutorial demo, and not a production-ready tool.
✨ Features
🎨 Code Architect
Call advanced reasoning LLMs to generate plans and instructions for coding agents.
📸 Screenshot Buddy
Take UI design screenshots and use them with the composer agent.
🔍 Code Review
Use git diffs to trigger code reviews.
🚀 Getting Started
1. Environment Setup
First, you'll need to set up your environment variables. Create a file at src/env/keys.ts
:
export const OPENAI_API_KEY = "your_key_here";
// Add any other keys you need
⚠️ Security Note: Storing API keys directly in source code is not recommended for production environments. This is only for local development and learning purposes. You can set the env var inline in the Cursor MCP interface as well.
2. Installation
npm install
# or
yarn install
3. Development & Build Commands
# Build the server
npm run build-only
# Development mode (watch for changes)
npm run dev
# Run the server
npm run start
# Deploy with PM2
npm run pm2
# Other PM2 commands
npm run stop # Stop the server
npm run restart # Restart the server
npm run logs # View server logs
npm run status # Check server status
4. Adding to Cursor
This project is designed to be used as an MCP server in Cursor. Here's how to set it up:
- Open Cursor
- Go to
Cursor Settings > Features > MCP
- Click
+ Add New MCP Server
- Fill out the form:
- Name: AI Development Assistant
- Type: stdio
- Command:
node /path/to/your/project/build/index.js
📘 Pro Tip: You might need to use the full path to your project's built index.js file.
After adding the server, you should see your tools listed under "Available Tools". If not, try clicking the refresh button in the top right corner of the MCP server section.
For more details about MCP setup, check out the Cursor MCP Documentation.
🛠️ Using the Tools
Once configured, you can use these tools directly in Cursor's Composer. The AI will automatically suggest using relevant tools, or you can explicitly request them by name or description.
For example, try typing in Composer:
- "Review this code for best practices"
- "Help me architect a new feature"
- "Analyze this UI screenshot"
The agent will ask for your approval before making any tool calls.
📘 Pro Tip: You can update your .cursorrules file with instructions on how to use the tools for certain scenarios, and the agent will use the tools automatically.
📁 Project Structure
src/
├── tools/
│ ├── architect.ts # Code structure generator
│ ├── screenshot.ts # Screenshot analysis tool
│ └── codeReview.ts # Code review tool
├── env/
│ └── keys.ts # Environment configuration (add your API keys here!)
└── index.ts # Main entry point
🤝 Contributing
Contributions welcome! Please feel free to submit a Pull Request.
📝 License
This project is licensed under the MIT License - see the file for details.
🐛 Issues & Support
Found a bug or need help? Open an issue with:
- What you were trying to do
- What happened instead
- Steps to reproduce
- Your environment details
I'll be honest though, this is a tutorial demo, and not a production-ready tool so I likely won't be fixing issues. But feel free to fork it and make it your own!
Made with ❤️ by developers, for developers
Related MCP Servers
View all developer_tools servers →context7
by upstash
Context7 MCP provides up-to-date, version-specific documentation and code examples directly into your prompt, enhancing the capabilities of LLMs by ensuring they use the latest information.
git-mcp
by idosal
GitMCP is a free, open-source, remote Model Context Protocol (MCP) server that transforms GitHub projects into documentation hubs, enabling AI tools to access up-to-date documentation and code.
exa-mcp-server
by exa-labs
A Model Context Protocol (MCP) server allows AI assistants to use the Exa AI Search API for real-time web searches in a secure manner.
Sequential Thinking
by modelcontextprotocol
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
Everything MCP Server
by modelcontextprotocol
The Everything MCP Server is a comprehensive test server designed to demonstrate the full capabilities of the Model Context Protocol (MCP). It is not intended for production use but serves as a valuable tool for developers building MCP clients.
gateway
by centralmind
CentralMind Gateway is a tool designed to expose databases to AI agents via MCP or OpenAPI protocols, providing secure, LLM-optimized APIs.
mcpdoc
by langchain-ai
MCP LLMS-TXT Documentation Server provides a structured way to manage and retrieve LLM documentation using the Model Context Protocol.