⌨️claude mcp add-json Command
Also known as claude mcp add-json, claude mcp add-from-claude-desktop
It adds an MCP server from a block of JSON.
Think of it like
It is like you copy the whole note in one go. You do not copy it word by word.
Example
A server's guide gives Emma a JSON block with a URL and two headers. She pastes it into claude mcp add-json, and the server is added in one step.
Why it matters
You can paste what the guide gives you, and not turn it into flags by hand.
Definition
Example code
bash
claude mcp add-json weather '{"type":"http","url":"https://api.example.com/mcp"}'Common mistake
Key takeaways
- 1One server's JSON. Not the wrapper.
- 2Good for long setups. Headers and sign-in.
- 3From Claude Desktop. A copy command too.