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
--directoryargument - GitIgnore filtering: All file operations respect
.gitignorepatterns - Safe operations: Only files not listed in
.gitignoreare 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
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
iOS Simulator MCP Server
A Model Context Protocol (MCP) server for interacting with iOS simulators. This server allows you to interact with iOS simulators by getting information about them, controlling UI interactions, and inspecting UI elements.
Rossum MCP & Agent
MCP server and AI agent toolkit for intelligent document processing with Rossum.
DevRev MCP server
Search and retrieve information from DevRev using its APIs.
MCP-S Gateway
A secure, open-source OAuth gateway for MCP authentication.
MCP Design System Extractor
Extracts component information, including HTML, styles, and metadata, from Storybook design systems.
AutoProvisioner
A server for automated provisioning, supporting both local and remote communication protocols.
Steadybit
Interact with the Steadybit platform to run chaos engineering experiments.
MalwareBazaar MCP
Interface with Malware Bazaar to get real-time threat intelligence and sample metadata for cybersecurity research.
CodeVF MCP
CodeVF MCP lets AI hand off problems to real engineers instantly, so your workflows don’t stall when models hit their limits.
TIA-Portal MCP-Server
A VS Code extension to connect and interact with Siemens TIA Portal projects directly from the editor.