About Code MCP
Code MCP is an MCP server published by 54yyyu in the Developer Tools category: code-MCP: Connect Claude AI to your development environment through the Model Context Protocol (MCP), enabling terminal commands and file operations through the AI interface. Conduid read 9 tools from its source: create_directory, delete_path, edit_block, edit_file, git_operation, list_directory and 3 more. No package is published for it, so it installs from a source checkout.
The repository has 38 stars and 3 forks, is licensed MIT, and its last commit was on 21 Mar 2025. Conduid has no tagged release on record for it. It passes 2 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, Dependencies pinned, No dynamic code execution and Scoped permissions. Its topics include devtools.
Install
git clone https://github.com/54yyyu/code-mcpTools (9)
create_directoryCreate a directory within the project.| Parameter | Type | Description |
|---|---|---|
| dir_path * | string | Path to the directory to create (relative to project root or absolute) |
delete_pathDelete a file or directory within the project.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to true to execute the deletion, false to preview only |
| path_to_delete * | string | Path to delete (relative to project root or absolute) |
edit_blockProcess edit blocks to modify code across multiple files.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to true to execute the edits, false to preview only |
| edit_content * | string | Text containing edit blocks in either search/replace or unified diff format |
edit_fileEdit a file with various operations: write, append, insert, replace, or delete.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to true to execute the edit, false to preview only |
| content | string | Content to write, append, or insert, or replacement content |
| end_line | integer | Last line to remove for delete_lines operation (1-based index, inclusive) |
| file_path * | string | Path to the file (relative to project root or absolute) |
| line_number | integer | Line number for insert operation (1-based index) |
| operation * | string | Type of edit ('write', 'append', 'insert', 'replace', 'delete', 'delete_lines') |
| pattern | string | Pattern to find for replace or delete operations |
| start_line | integer | First line to remove for delete_lines operation (1-based index) |
git_operationExecute a git operation in the project repository.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to true to execute operations that require confirmation (like push) |
| operation * | string | The git operation to perform (e.g., "status", "log", "branch") |
list_directoryList the contents of a directory within the project in a tree-like format.| Parameter | Type | Description |
|---|---|---|
| dir_path | string | Path to the directory (relative to project root or absolute, empty for project root) |
| max_depth | integer | Maximum depth for the directory tree (default: 3) |
read_fileRead the contents of a file within the project directory.| Parameter | Type | Description |
|---|---|---|
| file_path * | string | Path to the file (relative to project root or absolute) |
run_commandExecute a shell command and return its output.| Parameter | Type | Description |
|---|---|---|
| command * | string | The shell command to execute |
smart_editEnhanced file editing with smart pattern matching and function-level operations.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Set to true to execute the edit, false to preview only |
| context_lines | integer | Number of context lines to show in previews |
| edit_format | string | Format for edits ('search_replace', 'unified_diff', 'whole_file') when using edit_block operation |
| file_path * | string | Path to the file (relative to project root or absolute) |
| function_name | string | Target function name for function-level operations |
| fuzzy_match | boolean | Enable fuzzy matching for more flexible pattern matching |
| match_indent | boolean | Account for indentation differences when matching patterns |
| new_content | string | New content to insert/replace |
| operation | string | Type of edit ('preview', 'update_function', 'replace', 'delete', 'append', 'write', 'edit_block') |
| pattern | string | Pattern to find (with flexible whitespace matching) |
| regex_mode | boolean | Enable regex pattern matching |
Security checks
Static checks derived from the repository a month ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 1.1K words.
- ✓License declaredThe repository declares the MIT license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- !Dependencies pinnedNo lockfile. Installs can pull different code over time.
- !No dynamic code executionScanned 5 source files and found 2 calls to eval or shell execution, in src/code_mcp/server.py among others. Review how tool inputs reach them before granting credentials.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
The repository's README runs to about 1.1K words, fetched a month ago. The original in the repository is authoritative.
Read full README