Code Editor
Enables AI assistants to write, edit, and manage code files directly in a specified directory, respecting .gitignore patterns.
Code Editor MCP Server
⚠️ WORK IN PROGRESS ⚠️
This project has just begun development and may not work as expected. Features are being actively developed and tested.
Purpose
This is a Model Context Protocol (MCP) server designed to enable AI assistants to write, edit, and manage code files directly. The server provides a comprehensive set of tools for code generation, file manipulation, and project management.
First Generation Architecture
This is the first generation of the Code Editor MCP Server. Like the evolution of 3D printing technology, where early printers were used to create parts for better, more sophisticated printers, this first generation serves as the foundation for creating its own successor.
Once this generation reaches a complete(ish) state, it will be used to architect and generate a second generation that will be:
- Better written and optimized
- More efficient in tool implementation
- Enhanced with lessons learned from real-world usage
- Refined through the iterative development process
This evolutionary approach leverages the tools themselves to improve the tools, creating a self-improving development cycle as the MCP ecosystem and AI capabilities continue to evolve.
Usage
Claude Configuration
Add this to your Claude desktop app configuration:
{
"mcpServers": {
"codeeditor": {
"command": "c:\\MCPs\\CodeEditor\\CodeEditor.MCP.exe",
"args": [
"--directory=c:\\Projects\\OLAP2"
]
}
}
}
File Access Control
- Directory targeting: The server operates on the directory specified in the
--directory
argument - GitIgnore filtering: All file operations respect
.gitignore
patterns - Safe operations: Only files not listed in
.gitignore
are accessible for reading/writing - Project integrity: Build artifacts, dependencies, and other ignored files remain untouched
This ensures the MCP server integrates cleanly with your existing project workflow without interfering with version control or build processes.
AI-Generated Code
Every line of code in this project was generated by AI.
The author's role is limited to:
- Writing instructions and requirements
- Debugging and testing the generated code
- Providing feedback for improvements
- Defining the MCP server specifications
Current AI Assistant
This project is currently being developed with Claude Sonnet 4 by Anthropic.
Language Support
Primary Focus: C#
The server includes specialized tools for C# development:
- Class and interface creation/modification
- Method and property management
- Project building and testing
- NuGet package restoration
- Solution management
Universal File Operations
While optimized for C#, the underlying file operations support any programming language:
- Read/write files in any format
- Search and replace across codebases
- File and directory management
- Copy/move/delete operations
MCP Server Capabilities
This server enables AI assistants to:
- Generate complete code projects from scratch
- Modify existing codebases intelligently
- Manage project structure and dependencies
- Run builds and tests
- Perform code analysis and refactoring
Integration
This MCP server can be integrated with any AI assistant that supports the MCP, enabling seamless code generation and editing capabilities.
Related Servers
HAL (HTTP API Layer)
An MCP server that enables Large Language Models to make HTTP requests and interact with web APIs. It supports automatic tool generation from OpenAPI/Swagger specifications.
ECharts MCP Server
A server for generating various types of charts using the ECharts library.
Mobile Xray MCP
Take screenshots and analyze mobile apps with AI assistance directly from your IDE.
Sui MCP Tools
A toolkit for interacting with the Sui blockchain and integrating MCP SDK features, with support for multiple network environments.
llm-mcp
A Ruby gem for integrating Large Language Models (LLMs) via the Model Context Protocol (MCP) into development workflows.
Futarchy MCP
A server for interacting with the Futarchy protocol on the Solana blockchain.
Ghibli Video
Generates AI images and videos using the GPT4O Image Generator API.
Lokalise MCP Tool
Add translation keys to Lokalise projects. Requires a Lokalise API key.
PGYER
MCP Server for PGYER platform, supports uploading, querying apps, etc.
OpenAI GPT Image
Generate and edit images using OpenAI's GPT-4o image generation and editing APIs with advanced prompt control.