Skip to main content
Glama

mcp-server-code-assist

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

  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

uvx mcp-server-code-assist

Using pip

pip install mcp-server-code-assist python -m mcp_server_code_assist

Configuration

Usage with Claude Desktop

"mcpServers": { "code-assist": { "command": "uvx", "args": ["mcp-server-code-assist"] } }
"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.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

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.

  1. Overview
    1. Tools
    2. XML Format
  2. Installation
    1. Using uv (recommended)
    2. Using pip
  3. Configuration
    1. Usage with Claude Desktop
    2. Usage with Zed
  4. Development
    1. License

      Related MCP Servers

      • -
        security
        A
        license
        -
        quality
        A 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 -
        2
        20
        JavaScript
        MIT License
        • Linux
        • Apple
      • -
        security
        F
        license
        -
        quality
        A 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 -
        • Apple
      • A
        security
        A
        license
        A
        quality
        A 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 -
        3
        20
        JavaScript
        MIT License
      • A
        security
        F
        license
        A
        quality
        A 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 -
        5
        46
        TypeScript

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/abhishekbhakat/mcp_server_code_assist'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server