Install in Claude Code
This guide walks you through installing Mistflow in Claude Code, Anthropic’s CLI for Claude.
Automatic install (recommended)
Section titled “Automatic install (recommended)”-
Run the installer
Terminal window npx @mistflow/installerThe installer detects Claude Code and adds Mistflow’s MCP config automatically.
-
Log in
Your browser will open to
app.mistflow.dev. Sign in (or create an account), and the installer will store your API key locally. -
Verify
Open Claude Code in any project directory:
Terminal window claudeThen ask:
What Mistflow tools are available?Claude should list the tools:
plan-app,init-project,deploy, etc. You’re all set.
Manual install
Section titled “Manual install”If you prefer to configure things yourself:
-
Get your API key
Log in to app.mistflow.dev, go to Settings, and copy your API key.
-
Add to Claude Code config
Edit your Claude Code MCP config (usually
~/.claude/mcp.json):{"mcpServers": {"mistflow": {"command": "npx","args": ["-y", "@mistflow/mcp"],"env": {"MISTFLOW_API_KEY": "mist_your_key_here"}}}} -
Restart Claude Code
Close and reopen Claude Code. The MCP server will start automatically.
Updating
Section titled “Updating”To update to the latest version of the MCP server:
npx @mistflow/installer --updateOr manually update the npx call — npx -y @mistflow/mcp always pulls the latest published version.
Troubleshooting
Section titled “Troubleshooting”| Problem | Solution |
|---|---|
| ”No MCP tools found” | Restart Claude Code. Check that ~/.claude/mcp.json has the mistflow entry. |
| ”Authentication failed” | Re-run npx @mistflow/installer to refresh your API key. |
| ”Command not found: npx” | Install Node.js 20+ from nodejs.org. |
For more help, see Troubleshooting.