AI Development Assistant MCP Server
An AI assistant for development tasks, including taking screenshots, architecting solutions, and performing code reviews.
š¤ 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.
š Read file & Read multiple files
Single-file reading enables efficient data analysis; multi-file reading facilitates bulk data processing.
š 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. Build the Server
npm run build
4. Open Windsurf Chat and Configure MCP
This project is designed to be used as an MCP server in Cursor. Here's how to set it up:
- Open Windsurf on your system.
- Navigate to the Chat section.
- Click
+ Configure MCP(this allows you to add a new MCP server). - Add the following JSON configuration:
{
"mcpServers": {
"mcp-server": {
"command": "node",
"args": [
"D:\\mpc-server\\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 Windsurf 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"
- "Read single file & Read multiple files"
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
ā āāā fileReader.ts # read file & read multiple files tool
ā āāā codeReview.ts # Code review tool
āāā env/
ā āāā keys.ts # Environment configuration (add your API keys here!)
āāā index.ts # Main entry point
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
xcodebuild
š Build iOS Xcode workspace/project and feed back errors to llm.
MCP Analytics with GitHub OAuth
A remote MCP server with GitHub OAuth authentication and built-in analytics tracking.
UUID MCP Provider
Generates timestamp-based unique identifiers using UUID v7.
CDK API MCP Server
Provides an offline AWS CDK API reference.
Autodev Codebase
A platform-agnostic code analysis library with semantic search capabilities and MCP server support.
Remote MCP Server (Authless)
A remote MCP server deployable on Cloudflare Workers, without authentication.
GemForge (Gemini Tools)
Integrates Google's Gemini for advanced codebase analysis, web search, and processing of text, PDFs, and images.
Read Docs MCP
Enables AI agents to access and understand package documentation from local or remote repositories.
Software Planning Tool
A tool for structured software development planning, helping to break down projects into tasks and track progress.
PHP MCP Server
A server-side implementation of the Model Context Protocol (MCP) for PHP applications, allowing exposure of application parts as standardized MCP Tools, Resources, and Prompts.