AC

auchenberg/claude-code-mcp

Developer tools

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

188 stars 29 forks 品質 55 トレンド 17MIT

auchenberg/claude-code-mcp は、https://github.com/auchenberg/claude-code-mcp. からインポートされたMCPサーバー候補です。

概要

auchenberg/claude-code-mcp は、https://github.com/auchenberg/claude-code-mcp. からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

Claude Code MCPは、モデルコンテキストプロトコル(MCP)サーバーとしてのClaude Codeの実装です。このプロジェクトにより、標準化されたMCPインターフェースを通じてClaude Codeの強力なソフトウェアエンジニアリング機能を活用できます。

⚠️ 免責事項 ⚠️

Claude Code MCPはDevinAIによる自動生成プロジェクトで、Claudeコードベースの解析とMCPサーバーの生成を促されました。

これは概念実証であり、誰にも使うことを勧めません。

クロード・コードとは何ですか?

Claude CodeはAnthropicのソフトウェアエンジニアリングタスク用CLIツールで、Claudeによって機能しています。開発者を支援する一連のツールと機能を提供します:

  • コード生成と編集
  • コードレビューと分析
  • デバッグおよびトラブルシューティング
  • ファイルシステム操作
  • シェルコマンド実行
  • プロジェクトの探求と理解

元の実装はJavaScriptモジュールとして提供されており、ClaudeのAPIとやり取りするためのプロンプトやツールを定義しています。

MCPとは何か?

モデルコンテキストプロトコル(MCP)は、異なるモデルやプロバイダー間で一貫したインタラクションパターンを可能にするAIモデル向けの標準化されたインターフェースです。MCPは次のように定義しています:

  • ツール:モデルがアクションを実行するために呼び出せる関数

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

README

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

Claude Code MCP

Claude Code MCP is an implementation of Claude Code as a Model Context Protocol (MCP) server. This project allows you to use Claude Code’s powerful software engineering capabilities through the standardized MCP interface.

⚠️ DISCLAIMER ⚠️

Claude Code MCP is a auto-generated project by DevinAI, who was prompted to analyse the Claude Code codebase, and generate an MCP server.

This is a proof of concept that I don’t advise anyone to use.

What is Claude Code?

Claude Code is Anthropic’s CLI tool for software engineering tasks, powered by Claude. It provides a set of tools and capabilities that help developers with:

  • Code generation and editing
  • Code review and analysis
  • Debugging and troubleshooting
  • File system operations
  • Shell command execution
  • Project exploration and understanding

The original implementation is available as a JavaScript module that defines prompts and tools for interacting with Claude’s API.

What is MCP?

The Model Context Protocol (MCP) is a standardized interface for AI models that enables consistent interaction patterns across different models and providers. MCP defines:

  • Tools: Functions that models can call to perform actions
  • Resources: External data that models can access
  • Prompts: Predefined conversation templates

By implementing Claude Code as an MCP server, we make its capabilities available to any MCP-compatible client, allowing for greater interoperability and flexibility.

Features

  • Full implementation of Claude Code functionality as an MCP server
  • Provides tools for file operations, shell commands, and code analysis
  • Exposes resources for accessing file system and environment information
  • Includes prompts for general CLI interaction and code review
  • Compatible with any MCP client
  • TypeScript implementation with full type safety

Installation

# Clone the repository
git clone https://github.com/auchenberg/claude-code-mcp.git
cd claude-code-mcp

# Install dependencies
npm install

# Build the project
npm run build

Usage

Running as a standalone server

# Start the server
npm start

Using with MCP clients

Claude Code MCP can be used with any MCP client. Here’s an example of how to connect to it using the MCP TypeScript SDK:

import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";

const transport = new StdioClientTransport({
  command: "node",
  args: ["dist/index.js"]
});

const client = new Client(
  {
    name: "example-client",
    version: "1.0.0"
  },
  {
    capabilities: {
      prompts: {},
      resources: {},
      tools: {}
    }
  }
);

await client.connect(transport);

// Use Claude Code through MCP
const result = await client.callTool({
  name: "bash",
  arguments: {
GitHub で README 全文を見る

インストール

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

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