cli
3 questions
- AI
Should I use Claude Code on the web or in my terminal?
The web runs in an Anthropic-managed cloud VM cloned from your GitHub repo; the CLI runs on your laptop with full local access. Use the web for clean-VM tasks (CI fixes, code review, fresh-repo questions) and the CLI for anything that needs your local environment, secrets, or sibling repos.
- AI
How do I add, remove, and debug MCP servers from the command line?
claude mcp add takes transport (http/stdio/sse), scope (local/project/user), and env vars. All options must come before the server name. mcpServers in settings.json is silently ignored: use .mcp.json or the CLI instead.
- AI
Should I use the Claude Code VS Code extension or run the CLI in the integrated terminal?
The VS Code extension adds graphical diffs, a plugin manager, and a Remote tab for cloud sessions. The CLI keeps full tab completion, bash shortcuts, and every command. Run both at once: the extension connects to whatever the CLI starts.