Cover image
Try Now
2025-03-13

3 years

Works with Finder

1

Github Watches

2

Github Forks

1

Github Stars

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.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • XLwebDev.com
  • PR Professional: Guiding You to Get Media Placements and Publicity Quickly and Effectively

  • Jan Meindl
  • Builds new GPTs

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    4 (1)
    Avatar
    user_FYkUhNOD
    2025-04-15

    As a dedicated MCP application user, I found Procesio by serenichron to be an exceptional tool. The seamless integration and user-friendly interface make it a standout in its category. The process workflows are intuitive, and the customization options are impressive. It significantly enhances productivity and efficiency. Highly recommend checking it out here: https://mcp.so/server/procesio/serenichron