home / mcp / a code assistant mcp server

A Code Assistant MCP Server

Provides code modification and generation capabilities with create, modify, rewrite, and delete actions via MCP clients.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "abhishekbhakat-mcp_server_code_assist": {
      "command": "uvx",
      "args": [
        "mcp-server-code-assist"
      ]
    }
  }
}

You can run and connect to the Code Assist MCP Server to create, modify, rewrite, and delete code through conversational interactions with a code-focused AI. This server enables you to generate new files, apply precise changes, fully rewrite files, or remove files as part of your coding workflow, all via MCP clients.

How to use

To use the Code Assist MCP Server, connect your MCP client to one of the available runtime options and start issuing tool-like requests to create, modify, rewrite, or delete code files. The server exposes practical actions that your client can trigger, such as creating new files with specific content, applying search/replace edits to existing files, completely rewriting a file, or deleting unwanted files. Workflows typically involve sending an XML-based plan with changes and then receiving confirmations or diffs that reflect what happened.

How to install

Prerequisites: Ensure you have a runtime available to start the server. You can run the server using one of the following methods.

# Method 1: Using uvx (recommended for MCP servers)
uvx mcp-server-code-assist

# Method 2: Using Python directly
pip install mcp-server-code-assist
python -m mcp_server_code_assist

# Method 3: Build and run with Docker
# Build the image
 docker build -t mcp/code-assist .
# Run the image directly (example)
 docker run --rm -i --mount type=bind,src=/Users/username,dst=/Users/username mcp/code-assist

Additional configuration options

The server can be started in multiple ways, depending on your preferred tooling. You can run the server via uvx, via Python, or via Docker as shown above. Depending on your environment, you may integrate the server with your MCP client through a standard HTTP endpoint or via local stdio streams, using the appropriate command and arguments.

Tools and capabilities

The Code Assist MCP Server provides four core actions you can invoke on files through structured instructions.

Notes on usage with clients

When you start the server, your MCP client can issue operations to create new files with content, modify existing files by replacing patterns, rewrite entire files, or delete files. You will typically receive confirmations of file creation or rewrite, or a diff showing the changes applied during a modification.

Available tools

create

Creates a new file by sending an XML instruction with the target path and the initial content; returns a confirmation of file creation.

modify

Modifies an existing file by applying a search/replace operation using an XML instruction that specifies the path, the search pattern, and the new content; returns a diff of the changes.

rewrite

Completely rewrites an existing file with new content through an XML instruction that includes the path and the full new content; returns a confirmation of the rewrite.

delete

Removes a file by providing an XML instruction with the path to delete; returns a confirmation of deletion.