# SDGLBL/mcp-claude-code [Health: Active]

**Category:** 🤖 Coding Agents  
**Repository:** https://github.com/SDGLBL/mcp-claude-code  
**GitHub Stars:** 303  
**Views:** 2  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sdglbl-mcp-claude-code

## Description
An implementation of Claude Code capabilities using MCP, enabling AI code understanding, modification, and project analysis with comprehensive tool support.

## Tools
Capabilities this server exposes over MCP:

- **read** — Read file contents with line numbers, offset, and limit capabilities
- **write** — Create or overwrite files
- **edit** — Make line-based edits to text files
- **multi_edit** — Make multiple precise text replacements in a single file operation with atomic transactions
- **directory_tree** — Get a recursive tree view of directories
- **grep** — Fast pattern search in files with ripgrep integration for best performance ([docs](./doc/migration_SearchContentTool_to_Grep.md))
- **content_replace** — Replace patterns in file contents
- **grep_ast** — Search code with AST context showing matches within functions, classes, and other structures
- **run_command** — Execute shell commands (also used for directory creation, file moving, and directory listing)
- **notebook_read** — Extract and read source code from all cells in a Jupyter notebook with outputs
- **notebook_edit** — Edit, insert, or delete cells in a Jupyter notebook
- **think** — Structured space for complex reasoning and analysis without making changes
- **dispatch_agent** — Launch one or more agents that can perform tasks using read-only tools concurrently
- **batch** — Execute multiple tool invocations in parallel or serially in a single request
- **todo_write** — Create and manage a structured task list
- **todo_read** — Read a structured task list

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What SDGLBL/mcp-claude-code MCP server does

SDGLBL/mcp-claude-code MCP server exposes Claude Code-like project operations through the Model Context Protocol. It lets an MCP client inspect a codebase, search for relevant content, make targeted changes, execute shell commands, and analyze project structure. The implementation is intended for workflows where an AI assistant needs to understand and improve project files rather than only generate isolated code snippets.

The server supports both ordinary source files and Jupyter notebooks. Notebook tools can read source and output cells, or insert, edit, and delete cells. It also includes planning and coordination tools: `think` provides a reasoning space that does not make changes, while `todo_write` and `todo_read` manage structured task lists.

## How it works

MCP clients call the exposed tools with operation-specific parameters. File reads can include line numbers, offsets, and limits. Text changes are available through line edits, pattern replacement, and multi-replacement transactions. The `multi_edit` operation applies several precise replacements within one file operation and is described as atomic.

For code discovery, `grep` uses ripgrep integration for fast pattern searches, while `grep_ast` returns matches with context from functions, classes, and other code structures. `directory_tree` provides a recursive view of directories. `run_command` executes shell commands and is also used for directory creation, moving files, and listing directories.

Complex work can be split across read-only sub-agents with `dispatch_agent`. The `batch` tool combines multiple invocations and can run them in parallel or serial order. Agent operations can be configured with LiteLLM-compatible models, according to the project description.

## Setup and configuration

SDGLBL/mcp-claude-code MCP server points users to the repository's `INSTALL.md` for installation and configuration instructions. The repository also includes a tutorial for version 0.3.

Configuration should account for the server's filesystem and command execution scope. The documented security model includes permission prompts for file modifications and command execution, access restricted to specified directories, input validation, sanitization, and error handling.

## Tools and capabilities

The available tools cover these areas:

- Read, create, overwrite, and edit text files with `read`, `write`, `edit`, `multi_edit`, and `content_replace`.
- Explore directories and locate code with `directory_tree`, `grep`, and `grep_ast`.
- Execute shell commands through `run_command`.
- Read and modify notebook cells with `notebook_read` and `notebook_edit`.
- Plan and coordinate work with `think`, `todo_write`, `todo_read`, `dispatch_agent`, and `batch`.

For developers evaluating the 🤖 Coding Agents category, SDGLBL/mcp-claude-code MCP server fits projects that need an MCP client to combine code understanding, controlled edits, command execution, and task coordination in one tool surface.

## Limitations and notes

It also names Claude Desktop but does not confirm compatibility with other specific clients. Because the server can modify files and execute commands, its directory restrictions and permission prompts are relevant when deciding how to deploy it.

The project is licensed under the MIT License. Search performance depends on ripgrep for the `grep` tool, and the available notebook operations apply specifically to Jupyter notebooks.

_Full upstream README: https://allmcps.com/mcp/sdglbl-mcp-claude-code/readme_

