mcp-server-code-assist
mcp-server-code-assist: Un servidor MCP con asistente de código
Descripción general
Un servidor de Protocolo de Contexto de Modelo para la modificación y generación de código. Este servidor proporciona herramientas para crear, modificar y eliminar código mediante Modelos de Lenguaje Grandes.
Herramientas
createCrea nuevos archivos
Entrada: instrucción XML con ruta y contenido
Devuelve: Confirmación de creación del archivo
modifyModifica archivos existentes con búsqueda/reemplazo
Entrada: instrucción XML con ruta, patrón de búsqueda y contenido nuevo
Devoluciones: Diferencia de cambios
rewriteReescribe completamente un archivo
Entrada: instrucción XML con ruta y contenido nuevo
Devoluciones: Confirmación de reescritura
deleteElimina archivos
Entrada: instrucción XML con ruta
Devoluciones: Confirmación de eliminación
Formato 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>Related MCP server: Code Merge MCP
Instalación
Uso de uv (recomendado)
uvx mcp-server-code-assistUsando pip
pip install mcp-server-code-assist
python -m mcp_server_code_assistConfiguración
Uso con 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"]
}
}Uso con Zed
Agregar a settings.json:
"context_servers": {
"mcp-server-code-assist": {
"command": {
"path": "uvx",
"args": ["mcp-server-code-assist"]
}
}
},Desarrollo
cd src/code-assist
uvx mcp-server-code-assist
# For docker:
docker build -t mcp/code-assist .Licencia
Licencia MIT. Consulte el archivo de LICENCIA para obtener más detalles.
Available Tools
12 toolscreate_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
Scored across 12 tools
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.
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.
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.
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.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables LLMs to read, search, and analyze code files with advanced caching and real-time file watching capabilities.66 npm40MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that helps large language models process code repositories by providing file tree generation, code merging, and code analysis capabilities.321MIT
- FlicenseAqualityNot gradedmaintenanceA Model Context Protocol server that allows LLMs to interact with Python environments, enabling code execution, file operations, package management, and development workflows.9-
- AlicenseAqualityBmaintenanceA 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.2810MIT