Skip to main content
Glama

mcp-server-code-assist

mcp-server-code-assist:代码助手 MCP 服务器

概述

用于代码修改和生成的模型上下文协议服务器。该服务器提供通过大型语言模型创建、修改和删除代码的工具。

工具

  1. create
    • 创建新文件
    • 输入:带有路径和内容的 XML 指令
    • 返回:文件创建确认
  2. modify
    • 使用搜索/替换修改现有文件
    • 输入:带有路径、搜索模式和新内容的 XML 指令
    • 返回:变化的差异
  3. rewrite
    • 完全重写文件
    • 输入:带有路径和新内容的 XML 指令
    • 返回:重写确认
  4. delete
    • 删除文件
    • 输入:带路径的 XML 指令
    • 返回:删除确认

XML 格式

<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>

安装

使用 uv(推荐)

uvx mcp-server-code-assist

使用 pip

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

配置

与 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"] } }

与 Zed 一起使用

添加到settings.json:

"context_servers": { "mcp-server-code-assist": { "command": { "path": "uvx", "args": ["mcp-server-code-assist"] } } },

发展

cd src/code-assist uvx mcp-server-code-assist # For docker: docker build -t mcp/code-assist .

执照

MIT 许可证。详情请参阅 LICENSE 文件。

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.

模型上下文协议服务器通过大型语言模型提供代码修改和生成的工具,允许用户使用结构化 XML 指令创建、修改、重写和删除文件。

  1. 概述
    1. 工具
    2. XML 格式
  2. 安装
    1. 使用 uv(推荐)
    2. 使用 pip
  3. 配置
    1. 与 Claude Desktop 一起使用
    2. 与 Zed 一起使用
  4. 发展
    1. 执照

      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