SM

sdglbl/mcp-claude-code

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

305 stars 39 forks 品質 43 トレンド 19MIT

Claudeコードの機能などを含むMCPの実装

概要

モデルコンテキストプロトコル(MCP)を用いたClaudeコード機能の実装。 このプロジェクトは、Claude Codeに似た機能を実装したMCPサーバーを提供し、Claudeがプロジェクトファイルの修正・改善のための命令を直接実行できるようにします。Model Context Protocolを活用することで、Claude Desktopを含むさまざまなMCPクライアントとのシームレスな統合が可能になりました。 - : ファイルアクセスとパターン検索を通じてコードベースを分析・理解 - : 適切な権限処理でファイルにターゲットを絞った編集を行う - : エラー処理とシェルサポートを改善した様々な言語でコマンドやスクリプトを実行する - : シェルコマンドで適切なセキュリティ制御でファイルを管理 - : プロジェクト全体で高性能検索で関連するファイルやコードパターンを見つける - : 複雑なタスクを同時作業可能な専門のサブエージェントに委任 - : エージェント操作用に任意のLiteLLM互換モデルを設定 - : Jupyterノートブックの読み書きと編集を...

概要(AI 翻訳)

モデルコンテキストプロトコル(MCP)を用いたClaudeコード機能の実装。

概要

このプロジェクトは、Claude Codeに似た機能を実装したMCPサーバーを提供し、Claudeがプロジェクトファイルの修正・改善のための命令を直接実行できるようにします。Model Context Protocolを活用することで、Claude Desktopを含むさまざまなMCPクライアントとのシームレスな統合が可能になりました。

特徴

  • コード理解:ファイルアクセスとパターン検索を通じてコードベースを分析・理解する
  • コード修正:適切な権限処理を用いてファイルにターゲットを絞った編集を行う
  • 強化コマンド実行:エラー処理とシェルサポートが改善された様々な言語でコマンドやスクリプトを実行
  • ファイル操作:シェルコマンドを通じて適切なセキュリティ制御でファイルを管理
  • コード発見:プロジェクト全体で高性能検索で関連ファイルやコードパターンを発見
  • エージェント委任:複雑なタスクを同時作業可能な専門的なサブエージェントに委任する
  • 複数のLLMプロバイダーサポート:エージェント操作のために任意のLiteLLM互換モデルを設定

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP Claude Code

An implementation of Claude Code capabilities using the Model Context Protocol (MCP).

Overview

This project provides an MCP server that implements Claude Code-like functionality, allowing Claude to directly execute instructions for modifying and improving project files. By leveraging the Model Context Protocol, this implementation enables seamless integration with various MCP clients including Claude Desktop.

Features

  • Code Understanding: Analyze and understand codebases through file access and pattern searching
  • Code Modification: Make targeted edits to files with proper permission handling
  • Enhanced Command Execution: Run commands and scripts in various languages with improved error handling and shell support
  • File Operations: Manage files with proper security controls through shell commands
  • Code Discovery: Find relevant files and code patterns across your project with high-performance searching
  • Agent Delegation: Delegate complex tasks to specialized sub-agents that can work concurrently
  • Multiple LLM Provider Support: Configure any LiteLLM-compatible model for agent operations
  • Jupyter Notebook Support: Read and edit Jupyter notebooks with full cell and output handling

Tools Implemented

Tool Description
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)
content_replace Replace patterns in file contents
grep_ast Search code with AST context showing matches within functions, classes, and other structures
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →