Skip to main content
Glama
mcp-server-code-assist

mcp-server-code-assist

mcp-server-code-assist: 코드 어시스턴트 MCP 서버

개요

코드 수정 및 생성을 위한 모델 컨텍스트 프로토콜 서버입니다. 이 서버는 대규모 언어 모델(Large Language Models)을 통해 코드를 생성, 수정 및 삭제할 수 있는 도구를 제공합니다.

도구

  1. create

    • 새 파일을 만듭니다

    • 입력: 경로와 내용이 포함된 XML 명령

    • 반환: 파일 생성 확인

  2. modify

    • 검색/바꾸기로 기존 파일을 수정합니다.

    • 입력: 경로, 검색 패턴 및 새 콘텐츠가 포함된 XML 지침

    • 반환: 변경 사항의 차이

  3. rewrite

    • 파일을 완전히 다시 작성합니다

    • 입력: 경로와 새 콘텐츠가 포함된 XML 명령

    • 반환: 재작성 확인

  4. delete

    • 파일을 제거합니다

    • 입력: 경로가 포함된 XML 명령어

    • 반환: 삭제 확인

XML 형식

지엑스피1

Related MCP server: Code Merge MCP

설치

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 라이선스. 자세한 내용은 라이선스 파일을 참조하세요.

Available Tools

12 tools
create_directoryD

Creates a new directory

Inputs: path (required).

create_fileC

Creates a new file with content

Inputs: path (required), content.

delete_fileC

Deletes a file

Inputs: path (required).

file_treeC

Lists directory tree structure with git tracking support

Inputs: path (required).

git_diffD

Shows git diff

Inputs: repo_path (required), target (required).

git_logC

Shows git commit history

Inputs: repo_path (required), max_count.

git_showC

Shows git commit details

Inputs: repo_path (required), revision (required).

git_statusC

Shows git repository status

Inputs: repo_path (required).

list_directoryC

Lists directory contents using system ls/dir command

Inputs: path (required).

modify_fileC

Modifies parts of a file using string replacements

Inputs: path (required), replacements (required).

read_fileC

Reads file content

Inputs: path (required).

rewrite_fileC

Rewrites entire file content

Inputs: path (required), content (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 12 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose with no ambiguity. For example, create_file vs. modify_file vs. rewrite_file handle different file operations, while git tools target specific git commands. The descriptions make it easy to tell tools apart.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with snake_case throughout. The naming is predictable and readable, such as create_directory, list_directory, git_status, and modify_file, with no deviations in style.

    Tool Count5/5

    With 12 tools, the count is well-scoped for code assistance, covering file operations and git commands. Each tool earns its place without feeling excessive or thin, aligning with the server's purpose.

    Completeness4/5

    The tool surface is nearly complete for code assistance, covering file CRUD and key git operations. Minor gaps exist, such as no git commit or branch management tools, but agents can work around this with the provided tools.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      A
      quality
      Not graded
      maintenance
      A Model Context Protocol server that allows LLMs to interact with Python environments, enabling code execution, file operations, package management, and development workflows.
      9
      -
    • A
      license
      A
      quality
      B
      maintenance
      A robust, language-agnostic Model Context Protocol (MCP) server that provides AI coding agents with the ability to edit files surgically via Abstract Syntax Trees (AST) instead of relying on token-heavy, brittle search-and-replace or diff operations.
      28
      11
      MIT