Knowledges 8 min

VB-02 Everything You Need to Know About Claude Code's Toolset

Part 02 of the Vibe coding with Claude Code series: the default tools, how to run YOLO mode and still stay safe, MCP scopes, and the MCP servers I use (and don't) while building DevPocket.app.

Also in: Tiếng Việt · 中文 · 한국어 · 日本語

I plan to document and share everything I've learned from using Claude Code while "vibe coding" the DevPocket.app app. This series should have 8 posts. In the first one I covered Sub-agents; today I'm sharing everything worth knowing about Claude Code's toolset:

  • The default tools
  • How tool permissions work
  • How to use CC in "YOLO" mode and still stay safe
  • The MCP Servers I use (and don't use)
  • Understanding MCP "scopes"
  • A few hacky tricks scattered throughout the post

Previous post in the series — VB-01: First steps with Sub-agents in Claude Code

VB-01 First steps with Sub-agents in Claude Codegoonnguyen.substack.com

Claude Code (CC) is a CLI coding agent that, in my opinion, is the best one out there right now. One of CC's biggest strengths is how effectively it uses tools.

The default tools

GroupTools
Browse filesLs, Grep, Glob
Create & editWrite, Edit, MultiEdit
Run commandsBash
Search the internetWebSearch, WebFetch
Task managementTodoWrite, TodoRead
Summon sub-agentsTask

Claude Code pretty much has every tool it needs to "get to work"!

Permissions

When you start with the claude command, CC runs with the default permissions: for every tool it wants to use, it asks you first.

Claude Code repeatedly asking for permission to use tools

This is perfectly safe, because AI isn't perfect and it can make mistakes too. Who knows when it might get a wild idea and "delete the French language folder" on your machine? (rm -fr /*)

Safe, sure, but honestly... it's pretty annoying. Every time I start a new project I have to sit there accepting permissions for the same tools all over again 🤪

So I switched to a different approach that's still safe enough:

YOLO MODE! (Still safe)

YOLO mode

If you run CC with the --dangerously-skip-permissions flag, you skip all that annoying permission accepting. However...

A great power should come with a great responsibility

Remember what I just said above? (It's not "deleting the French language folder", it's *deleting your entire file system*)

So what did I do to prevent that kind of thing while still skipping the annoying permissions? I configured 2 things: Deny Commands and Dev Container.

  • Deny Commands: CC's settings (at ~/.claude/settings.json) have a commands.deny section - put the commands you don't want CC running on its own there (e.g. rm, or if you're working with a database, block the commands that write/update records too, like prisma db push). See the settings docs.
  • Dev Container: run a Docker container with Claude Code preinstalled and the project mounted as a volume, then exec into the container's shell and go full "yolo" 😌

Tips

I created 2 aliases in ~/.zshrc to launch CC faster:

bashalias cc="claude"
alias ccd="claude --dangerously-skip-permissions"
VB-02 Everything You Need to Know About Claude Code's Toolset

Alright, now let's start unlocking CC's full power with...

MCP Servers

I probably don't need to explain what MCP is anymore. But if you don't know yet, read this post.

How to install

There are 2 ways to install: command-based and JSON-based. For example:

bash# Command-based
claude mcp add --transport http github -s user https://api.githubcopilot.com/mcp/
claude mcp add kubernetes -s user -- npx -y mcp-server-kubernetes

# JSON-based
claude mcp add-json weather-api '{"type":"stdio","command":"/path/to/weather-cli","args":["--api-key","abc123"],"env":{"CACHE_DIR":"/tmp"}}'

Locked section: Scope

Locked section: Local (default)

Locked section: Project (shared via repo)

Locked section: User (Global)

Locked section: Tips

Locked section: The MCPs I use

Locked section: 1/ Context7

Locked section: 2/ Serena MCP

Locked section: 3/ PostgreSQL MCP

Locked section: 4/ MongoDB MCP (depends on the project)

Locked section: 5/ Playwright MCP

Locked section: 6/ GitHub MCP

Locked section: 7/ Figma MCP

Locked section: 8/ And finally: Repomix

Locked section: Some MCPs I see other people use (but I don't)

Locked section: Security (one more time)

The rest is for Knowledges members

Plus 16 more sections (about 5 min) for members

You are reading roughly the first third. Knowledges, Combo and Community plans unlock paid articles in full; the Zuey AI plan reads previews only.