Code Assist

Code Assist

abhishekbhakat

Performs file operations like creating, modifying, and deleting code files through structured search-and-replace operations. Uses XML format for precise code modifications with diff tracking.

Enables code modification and generation tasks through file operations, search-and-replace, and version control integration for automated refactoring and codebase maintenance.

2460 views5Local (stdio)

What it does

  • Create new code files
  • Modify existing files with search-and-replace
  • Completely rewrite files
  • Delete files and directories
  • Generate diffs of changes
  • Execute structured XML-based operations

Best for

Automated code refactoringAI-assisted codebase maintenanceBulk file modificationsCode generation workflows
Structured XML format for precise controlBuilt-in diff trackingNo API key needed

About Code Assist

Code Assist is a community-built MCP server published by abhishekbhakat that provides AI assistants with tools and capabilities via the Model Context Protocol. Code Assist is an AI code generator for code modification, refactoring, and codebase maintenance with file ops, version It is categorized under developer tools.

How to install

You can install Code Assist in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

License

Code Assist is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

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.

mcp-server-code-assist MCP server

Tools

  1. create

    • Creates new files
    • Input: XML instruction with path and content
    • Returns: Confirmation of file creation
  2. modify

    • Modifies existing files with search/replace
    • Input: XML instruction with path, search pattern, and new content
    • Returns: Diff of changes
  3. rewrite

    • Completely rewrites a file
    • Input: XML instruction with path and new content
    • Returns: Confirmation of rewrite
  4. 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.

Alternatives

Related Skills

Browse all skills
audit-prep-assistant

Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes dead code, ensures accessibility, and generates documentation (flowcharts, user stories, inline comments).

0
godot

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

398
python-expert

Senior Python developer expertise for writing clean, efficient, and well-documented code. Use when: writing Python code, optimizing Python scripts, reviewing Python code for best practices, debugging Python issues, implementing type hints, or when user mentions Python, PEP 8, or needs help with Python data structures and algorithms.

13
codex

Invoke Codex CLI for complex coding tasks requiring high reasoning capabilities. This skill should be invoked when users explicitly mention "Codex", request complex implementation challenges, advanced reasoning, or need high-reasoning model assistance. Automatically triggers on codex-related requests and supports session continuation for iterative development.

12
elegant-design

Create world-class, accessible, responsive interfaces with sophisticated interactive elements including chat, terminals, code display, and streaming content. Use when building user interfaces that need professional polish and developer-focused features.

9
ui-design-system

UI design system toolkit for Senior UI Designer including design token generation, component documentation, responsive design calculations, and developer handoff tools. Use for creating design systems, maintaining visual consistency, and facilitating design-dev collaboration.

6