Skip to content

Tools, integrations, and security

This chapter combines three concerns that are inseparable in Claude Code:

  1. Which capabilities become model-visible tools?
  2. Which external systems contribute tools, prompts, hooks, plugins, or agents?
  3. Which trust boundaries approve, deny, redact, or persist policy?

Read this chapter when the question is: why could the model do that, and what guarded the action?

Source-anchor policy

This page is a chapter guide. Linked implementation pages carry concrete cli.renamed.js anchors.

Semantic aliasMinified anchorScope
Tools/integrations/security chapterN/A — navigation pageGroups built-in tools, permissions, MCP/plugins/hooks, settings, and integration policy.
Tool/security implementation pagesSee linked source-anchor tablesConcrete bundle anchors live in destination pages.

Trust-boundary map

flowchart TD
Builtins[Built-in tools] --> Assembly[Runtime tool set]
MCP[MCP servers] --> Assembly
Plugins[Plugins / skills / agents / hooks] --> Assembly
IDE[IDE / Chrome / file resources] --> Assembly
Assembly --> Model[Model-visible capabilities]
Model --> ToolCall[Tool call]
ToolCall --> Permissions[Permission mode and allow/deny rules]
Permissions --> Hooks[Hook events]
Hooks --> Execute[Execute or deny]
Execute --> Events[Session events / telemetry]

Primary reading order

OrderPageTool/security question answered
1Tool runtime, events, and integration flowsWhich tools exist, how do events/communication/shell/SDK/LSP/Web/context exclusion/settings/persistence fit together, and where are the main cli.renamed.js anchors?
2Tool inventory and schemasWhich built-in, MCP, plugin, skill, and agent/task tool surfaces exist, who owns their schemas, and which permission boundary applies?
3Built-in tools and permissionsWhich built-in tool names exist, how do flags filter or permission them, and how does ToolExecutionBoundary mediate PreToolUse, can_use_tool, PermissionDenied, and edit/web guards?
4Browser automation and Claude in ChromeHow do dynamic MCP setup, extension/native-host transports, browser selection, tab groups, browser tools, permissions, timeouts, and reconnect compose?
5Computer-use MCPHow does the macOS computer-control MCP register tools, request per-app access, enforce tiers and lock ownership, and clean up a turn?
6IDE integration and LSP diagnosticsHow do IDE lock-file discovery/dynamic MCP and the separate plugin LSP subprocess/diagnostic pipeline work?
7Artifact publishing and live pagesHow do Artifact, /artifacts, live capability guidance, extracted templates/validators, plan/PR publishing skills, URL restoration, and conflict/live-update guards compose?
8Claude Design and design-system syncHow do ClaudeDesign, DesignSync, OAuth/consent, path plans, project grants, and the bundled /design-sync pipeline compose?
9Sandbox and isolationHow does command sandboxing work across Linux/WSL, macOS, and feature-gated Windows, and how do strict/fallback modes, filesystem policy, and network filtering compose with tool permissions?
10MCP, plugins, and hooksHow are MCP servers, plugins, marketplaces, and hooks wired into the runtime; how does McpRuntimeCoordinator connect them; and what do /reload-plugins, /reload-skills, and /skill-doctor rebuild or inspect?
11Plugin lifecycle and configurationHow do discovery, installation, scoped enablement, dependencies, manifest contributions, plugin defaults, userConfig, secure option storage, substitution, and reload boundaries compose?
12Skills systemHow are filesystem, bundled, managed, and plugin skills discovered, exposed, invoked, and safely materialized?
13Hooks and events referenceWhich hook names, lifecycle events, stream frames, control frames, and MCP protocol methods are visible?
14Status line runtime and command protocolHow do /statusline setup, JSON stdin, refresh/cancellation, shell execution, rendering, policy/trust, and the separate subagent-row protocol work?
15Settings, policy, and integrationsWhich settings sources are admitted, validated, merged, watched, and written, and how do configuration commands cross their mutation/consent boundaries?
16Settings schema referenceWhich known settings roots, keys, policy groups, source restrictions, and setting-vs-flag-vs-env boundaries should readers use as canonical references?
17Tool runtime and security architectureHow is the capability registry + single execution boundary structured, and how do MCP/plugins/hooks/integrations compose without bypassing trust?

Handoffs

Created and maintained by Yingting Huang.