MCP.so
登录

Claude Code MCP Server

@ebeloded

关于 Claude Code MCP Server

An MCP server that allows AI tools to interact with Claude Code programmatically with session continuity and async execution support.

基本信息

分类

AI 与智能体

许可证

MIT

运行时

node

传输方式

stdio

发布者

ebeloded

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "claude": {
      "command": "npx",
      "args": [
        "claude-mcp"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Claude Code MCP Server?

An MCP server that bridges AI tools with Claude Code, enabling agent-in-agent workflows with conversation continuity and both synchronous and asynchronous execution. It lets AI systems programmatically start or resume Claude Code conversations, monitor long-running tasks, and branch conversations from any previous response.

How to use Claude Code MCP Server?

Install via npx or local clone, then add the MCP server configuration to your client’s MCP config file (e.g., ~/.cursor/mcp.json). Use the tools start, resume, status, and cancel to interact with Claude Code. Requires Node.js 18+ and the Claude Code CLI installed and configured.

Key features of Claude Code MCP Server

  • Fresh conversations via start tool (sync/async)
  • Resume conversations via resume tool (sync/async)
  • Working directory support for different projects
  • Async task monitoring with elapsed time and cancellation
  • Conversation branching from any previous Response ID
  • Automatic Claude CLI detection and permission bypass

Use cases of Claude Code MCP Server

  • Starting new code analysis tasks in different project directories
  • Continuing a conversation with Claude to build on prior analysis
  • Running long‑lived code reviews asynchronously while other work proceeds
  • Branching a conversation from an earlier response to explore alternative solutions

FAQ from Claude Code MCP Server

What tools does the MCP server expose?

It exposes start, resume, status, and cancel tools for managing Claude Code conversations and tasks.

How does asynchronous execution work?

The start and resume tools accept an async parameter (defaults to true) to run non‑blocking; the server returns a task ID for status monitoring and cancellation.

What are the runtime dependencies?

Node.js 18+ and the Claude Code CLI installed and run once with --dangerously-skip-permissions to accept terms.

Does it always bypass permissions?

Yes, it uses --dangerously-skip-permissions for full functionality. Future versions will support configurable permission modes.

How can I customize behavior with environment variables?

Set CLAUDE_CLI_NAME (default “claude”), MCP_CLAUDE_DEBUG for verbose logging, or MCP_NOTIFICATIONS to disable macOS notifications.

评论

AI 与智能体 分类下的更多 MCP 服务器