Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CodeKeyNew to Visual Studio Code? Get it now.
CodeKey

CodeKey

Codekey

|
2 installs
| (0) | Free
Remote control for AI coding agents — approve, deny, reply from your phone
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CodeKey

Remote control for AI coding agents — approve, deny, reply from your phone.

Turn your AI coding assistant into a mobile-driven workflow: receive permission requests on your phone, approve or deny them, and even send follow-up prompts — all without switching back to your editor.

Features

  • Phone-based approval: When Claude Code or Codex CLI asks for permission (file write, command execution), the request shows up on your phone instantly
  • Send commands remotely: Type prompts from your phone and have them executed in your VS Code terminal
  • Multi-agent support: Works with Claude Code, Codex CLI, and OpenCode
  • Real-time status: See agent activity and approval queue on your phone
  • Privacy-first: Your code stays local — only structured command/approval data flows through the relay

How it works

Phone App → Relay Server(WS) → VS Code Extension(WS Bridge) → AI Agent Terminal

The VS Code extension runs a lightweight bridge process that connects to a relay server. Your phone app (WeChat Mini Program or browser) communicates through the same relay, enabling bidirectional control.

Getting Started

  1. Install the extension from VS Code Marketplace
  2. Open VS Code and click the CodeKey icon in the activity bar
  3. Use CodeKey: Pair Device from the command palette to scan the QR code with your phone
  4. Start Claude Code or Codex CLI in a VS Code terminal
  5. Approve/deny requests from your phone

Requirements

  • VS Code 1.96+
  • Claude Code CLI (npm install -g @anthropic-ai/claude-code) or Codex CLI

Commands

Command Description
CodeKey: Show Dashboard Open the management dashboard
CodeKey: Pair Device Pair with your phone via QR code
CodeKey: Start Claude Code Start a Claude Code session
CodeKey: Start Codex Session Start a Codex CLI session
CodeKey: Enable Hook Install Claude Code hooks for approval handling
CodeKey: Enable OpenCode Integration Enable OpenCode telemetry plugin
CodeKey: Toggle Debug Log Toggle verbose debug logging

Configuration

Setting Description
codekey.codexExecutable Path to Codex CLI binary
codekey.codexInitialPrompt Initial prompt for Codex sessions
codekey.codexResumeSandbox Sandbox mode for Codex resume
codekey.codexResumeApprovalPolicy Approval policy for Codex resume

License

Apache 2.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft