IdeaFlow for VS Code
IdeaFlow adds a local MCP connector to Codex and Claude Code. Install the extension, run IdeaFlow: 登录并授权, enter an active IdeaFlow user account, then choose the AI clients to configure.
Supported VS Code hosts
- Windows x64 and Windows ARM64 (using the bundled x64 Python runtime through Windows x64 emulation).
- macOS Intel and Apple silicon.
- Linux x64 and ARM64.
The extension runs on the VS Code extension host. For Remote SSH, WSL, or Dev Containers, the host operating system is the remote environment. The first connector install downloads Python package dependencies from the configured Python package index.
Run python3 scripts/build.py to create platform-specific VSIX packages in dist/. The build includes win32-x64, win32-arm64, darwin-x64, darwin-arm64, linux-x64, and linux-arm64 targets. Build selected targets with python3 scripts/build.py --target win32-x64 darwin-x64 darwin-arm64.
The packages use the publisher ID ideaflow and all share the version in package.json. Sign in to a Marketplace publisher account with that ID, then publish each VSIX package for its matching platform. For example, npx @vscode/vsce publish --packagePath dist/ideaflow-vscode-0.1.8-win32-x64.vsix. Repeat with each generated VSIX to make the same release available on every supported platform.
Install and connect
- In VS Code, open Extensions and search for IdeaFlow, or install the matching VSIX from Install from VSIX….
- Open the IdeaFlow activity-bar view and run 登录并授权.
- Enter the username or email and password for an active IdeaFlow user account. Website administrator accounts are for management and cannot be used as connector accounts.
- Choose Codex, Claude Code, or both, then restart the selected AI clients.
What the extension writes
- The connector and its bundled Python runtime are installed under
~/.ideaflow-desktop in the extension host user's home directory.
- Device credentials are stored in the current user's IdeaFlow state directory with owner-only permissions. The account password is sent over standard input for the HTTPS login request and is not stored.
- Codex configuration is merged into
~/.codex/config.toml or $CODEX_HOME/config.toml.
- Claude Code's MCP server entry is merged into
~/.claude.json.
- Existing configuration files are backed up before changes. Conflicting entries are preserved and reported.
The extension does not call a model. Codex or Claude Code uses its own model subscription. The connector exposes IdeaFlow workflows over local stdio MCP and calls the IdeaFlow service over HTTPS.
The IdeaFlow panel uses the active VS Code color theme and shows connector authorization and client configuration status.
Commands
IdeaFlow: 安装或修复连接器
IdeaFlow: 登录并授权
IdeaFlow: 配置 AI 客户端
IdeaFlow: 检查连接
IdeaFlow: 退出并解绑设备
Use 退出并解绑设备 only when you intend to revoke this device on the IdeaFlow service.