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
<Plan>
Describe approach and reasoning
</Plan>
<file path="/path/to/file" action="create|modify|rewrite|delete">
<change>
<description>What this change does</description>
<search>
===
Original code for modification
===
</search>
<content>
===
New or modified code
===
</content>
</change>
</file>
Installation
Using uv (recommended)
uvx mcp-server-code-assist
Using pip
pip install mcp-server-code-assist
python -m mcp_server_code_assist
Configuration
Usage with Claude Desktop
Using uvx
"mcpServers": {
"code-assist": {
"command": "uvx",
"args": ["mcp-server-code-assist"]
}
}
Using docker
"mcpServers": {
"code-assist": {
"command": "docker",
"args": ["run", "--rm", "-i", "--mount", "type=bind,src=/Users/username,dst=/Users/username", "mcp/code-assist"]
}
}
Usage with Zed
Add to settings.json:
"context_servers": {
"mcp-server-code-assist": {
"command": {
"path": "uvx",
"args": ["mcp-server-code-assist"]
}
}
},
Development
cd src/code-assist
uvx mcp-server-code-assist
# For docker:
docker build -t mcp/code-assist .
License
MIT License. See LICENSE file for details.
Code Assistant
Project Details
- abhishekbhakat/mcp_server_code_assist
- MIT License
- Last Updated: 4/3/2025
Recomended MCP Servers
Discord Webhook MCP Server
这是一个测试仓库
Model Context Protocol Server that allows AI models to interact with JigsawStack models!
一个基于 Node.js 和 TypeScript 的 MCP 服务,用于读写图片元数据
An MCP server that provides LLMs with the ability to use GitHub issues as tasks
This read-only MCP Server allows you to connect to SingleStore data from Claude Desktop through CData JDBC Drivers....
A zero-installation solution for AI agents to control remote macOS systems. Full desktop capabilities without extra software, using...





