The mcp-server-code-assist is a Model Context Protocol server for code modification and generation powered by Large Language Models. It enables:
- File Operations: Create, read, modify, completely rewrite, and delete files
- Directory Management: List directory contents, create new directories, and display directory tree structures
- Code Modification: Use search/replace patterns to make targeted changes, returning diffs
- Git Integration: View git status, diffs, commit history, and detailed commit information for repositories
These capabilities allow for comprehensive code assistance through file manipulation and version control integration.
mcp-server-code-assist: A Code Assistant MCP Server
Overview
A Model Context Protocol server for code modification and generation. This server provides tools to create, modify, and delete code via Large Language Models.
Tools
create
- Creates new files
- Input: XML instruction with path and content
- Returns: Confirmation of file creation
modify
- Modifies existing files with search/replace
- Input: XML instruction with path, search pattern, and new content
- Returns: Diff of changes
rewrite
- Completely rewrites a file
- Input: XML instruction with path and new content
- Returns: Confirmation of rewrite
delete
- Removes files
- Input: XML instruction with path
- Returns: Confirmation of deletion
XML Format
Installation
Using uv (recommended)
Using pip
Configuration
Usage with Claude Desktop
Usage with Zed
Add to settings.json:
Development
License
MIT License. See LICENSE file for details.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
A Model Context Protocol server that provides tools for code modification and generation via Large Language Models, allowing users to create, modify, rewrite, and delete files using structured XML instructions.
Related Resources
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.Last updated -220JavaScriptMIT License
MCP TapData Serverofficial
-securityFlicense-qualityA Model Context Protocol server that enables Large Language Models to access and interact with database connections, including viewing schemas and performing CRUD operations on connected databases.Last updated -- AsecurityAlicenseAqualityA Model Context Protocol server that helps large language models process code repositories by providing file tree generation, code merging, and code analysis capabilities.Last updated -320JavaScriptMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that provides structured workflow tools for managing software development projects through different complexity levels, offering specialized modes for project planning, design, implementation, and documentation.Last updated -546TypeScript