Prerequisites: Install pflow before continuing.
Option 1: CLI access (simplest)
Windsurf has terminal access, so the simplest approach is to use pflow via CLI. Tell Windsurf:Option 2: MCP server
You can also add pflow as an MCP server for structured tool access.1. Open your MCP config file
The config file is located at:2. Add pflow to your config
3. Restart Windsurf
Restart Windsurf to load the new MCP server.Verify installation
Ask Windsurf to list pflow workflows:Troubleshooting
Windsurf doesn't see pflow tools
Windsurf doesn't see pflow tools
- Make sure pflow is installed and in your PATH:
pflow --version - Check your MCP config JSON syntax is valid
- Make sure the config file is at
~/.codeium/windsurf/mcp_config.json - Restart Windsurf
Config file location on different OS
Config file location on different OS
The config path
~/.codeium/windsurf/mcp_config.json is for macOS/Linux. On Windows, check Windsurf documentation for the equivalent path.
