⌨️claude mcp serve Command
Also known as claude mcp serve, Claude Code as an MCP server
It runs Claude Code as an MCP server for other apps.
Think of it like
It is like a kid who gets help with math, now helps a friend with theirs.
Example
Lucy's desktop chat app can use MCP servers. She adds claude mcp serve as a server in it, and the app can now read and edit files in her project.
Why it matters
Claude Code's file and shell tools become usable by any app that speaks MCP.
Definition
Example code
bash
claude mcp serveCommon mistake
Key takeaways
- 1Claude Code as a server. Its tools, shared.
- 2stdin and stdout. No output at start.
- 3Any MCP app. Can connect.