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.
基本信息
配置
使用下面的配置,将此服务器添加到你的 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
starttool (sync/async) - Resume conversations via
resumetool (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 服务器
Perplexity Ask MCP Server
ppl-aiThe official MCP server implementation for the Perplexity API Platform
MCP Claude Code
SDGLBLMCP implementation of Claude Code capabilities and more
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
meGPT - upload an author's content into an LLM
adriancoCode to process many kinds of content by an author into an MCP server
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
评论