Skip to main content
reopt Handbook
reopt Handbook
Codex Command MasterLabels and command selectionHow to read a detail guideComplete command listTerminal CLI Commands and Options

Task guides

Core Command GroupSession Command GroupCustom Command GuideMCP Command and Integration GuideDesign Workflows

Conversation and context

Cmd. /clearCmd. /renameCmd. /archiveCmd. /deleteCmd. /compactCmd. /copyCmd. /memoriesCmd. /importCmd. /initCmd. /mentionCmd. /forkCmd. /sideCmd. /resumeCmd. /newCmd. /cdCmd. /exportCmd. /recap

Planning and execution

Cmd. /planCmd. /goalCmd. /psCmd. /stopCmd. /app

Review and verification

Cmd. /review

Models and settings

Cmd. /modelCmd. /fast

Permissions and integrations

Cmd. /permissionsCmd. /ideCmd. /setup-default-sandboxCmd. /sandbox-add-read-dirCmd. /pluginsCmd. /hooksCmd. /approveCmd. /skillsCmd. /mcp

Status and diagnostics

Cmd. /agentCmd. /appsCmd. /diffCmd. /feedbackCmd. /personalityCmd. /rawCmd. /statusCmd. /debug-configCmd. /title

Display and input

Cmd. /keymapCmd. /vimCmd. /experimentalCmd. /statuslineCmd. /themeCmd. /petsCmd. /voiceCmd. /worktree

Account and usage

Cmd. /exitCmd. /logoutCmd. /quitCmd. /usage

Legacy

Cmd. /approvals

Verification and history

Current verification scopeHandbook updatesRelease coverage historyEarlier verification recordsCommand change history
Handbook›Codex Command Master›MCP Command and Integration Guide
한국어English

MCP Command and Integration Guide

How to operate MCP servers and tools safely from Codex.

Key takeaways

  • The core MCP-related commands are /mcp, /apps, /plugins, and /permissions.
  • Start integrations with read-only tools before granting broader access.
  • Design the approval policy at the same time you design the tool surface, not afterward.
  • Document fallback steps for server failures, auth failures, and missing tools.
  • For design tools such as Figma, MCP supplies external context while a Skill defines the retrieval, implementation, and verification sequence.

Core Commands

  • /mcp
  • /apps
  • /plugins
  • /permissions

Connect design tools

In the official Codex design workflow, the Figma MCP server supplies structured design context, variables, assets, and the exact variant. Check the following before implementation:

/plugins
/skills
/mcp
CheckPurpose
get_design_contextPull structure, styles, and asset context for the exact Figma node
get_metadataMap the file and narrow the node set when a response is truncated
get_screenshotCapture the exact visual variant before coding
$playwrightVerify responsive behavior, interactions, and visual differences in a real browser

If tools are missing, use /mcp verbose to inspect authentication and tool exposure. Follow /en/books/codex-command-master/design-workflows for the full implementation loop.

Operating Principles

  1. Start with read-only tools.
  2. Design the approval policy at the same time as the tool surface.
  3. Document fallback steps for server failures, auth failures, and missing tools.
  4. Record the design source of truth and final browser viewports.

Sources

  • Codex MCP customization: https://learn.chatgpt.com/docs/customization/overview#mcp
  • Figma designs to code: https://learn.chatgpt.com/use-cases/figma-designs-to-code

Related docs

Design Workflows

Connect /plugins, /skills, /mcp, and /ide with Figma, ImageGen, and Playwright to design, implement, and verify UI with Codex.

Cmd. /mcp

List configured MCP tools and inspect server diagnostics.

MCP Integration

Advanced Codex Usage · Connect Codex to MCP servers with explicit tool, data, and trust boundaries.

Workflow Strategies

Design Systems for the AI Era · Compare design-to-code, code-to-design, and bidirectional AI workflows.

MCP Integration

Claude Code Complete Guide · Connect Claude Code to tools and resources through Model Context Protocol servers.

Custom Command Guide

How to design and operate team-specific slash commands.

Design Workflows

Connect /plugins, /skills, /mcp, and /ide with Figma, ImageGen, and Playwright to design, implement, and verify UI with Codex.

On this page

Core CommandsConnect design toolsOperating PrinciplesSources