claude-code-mcpServer

KunihiroS
GitHub
code executioncoding agentsMCP server

Loading subscription status...

💡 Description

The Claude-Code-MCP project is an MCP server that executes the locally installed Claude Code command and provides tools for code explanation, review, fixing, editing, testing, simulating commands, and custom queries. It uses Node.js and the MCP SDK, receiving JSON format requests from clients. The server processes these requests and returns execution results in JSON format.

📝 JSON Entries

{
  "mcpServers": [
    {
      "claude-code-server": {
        "env": {
          "LOG_LEVEL": "info",
          "CLAUDE_BIN": "/path/to/your/claude/executable"
        },
        "args": [
          "-y",
          "@kunihiros/claude-code-mcp"
        ],
        "command": "npx"
      }
    }
  ]
}

🛠️ Tools

explain_codereview_codefix_codeedit_codetest_codesimulate_commandyour_own_query

Features

  • Tool request handling
  • Input processing with Base64 encoding
  • Command generation and execution
  • JSON format results

💬 Example Queries

  • Explain the given code
  • Review the code snippet
  • Fix the identified errors in the code
  • Edit the code based on provided instructions
  • Generate tests for the code