AI

Local AI Model via MCP

Connect a local language model to Flow Nodes with MCP.

Flow Nodes includes an MCP (Model Context Protocol) server that can be used with local AI models.

Requirements

  • Flow Nodes running on macOS with an open Flow

  • Ollama or similar

  • Kit, mcphost or similar

  • qwen3:14b or similar (the local AI model)

1. Install Ollama

Bash
brew install ollama

Start Ollama before downloading the model. If you installed it with Homebrew, run ollama serve in a separate terminal.

Download the model:

Bash
ollama pull qwen3:14b

Verify:

Bash
ollama run qwen3:14b

Ollama runs locally at:

Plain text
http://localhost:11434

2. Install Kit

Install Go:

Bash
brew install go

Install Kit:

Bash
go install github.com/mark3labs/kit/cmd/kit@latest

Add to PATH with bash:

Bash
echo 'export PATH="$PATH:$(go env GOPATH)/bin"' >> ~/.bash_profile
source ~/.bash_profile

Add to PATH if using zsh:

Bash
echo 'export PATH="$PATH:$(go env GOPATH)/bin"' >> ~/.zshrc
source ~/.zshrc

Verify:

Bash
which kit
kit --help

3. Configure Flow Nodes MCP

Create the Kit config:

Bash
vi ~/.kit.yml

Add in vim (enter insert mode with i):

YAML
model: ollama/qwen3:14b

mcpServers:
  flownodes:
    type: local
    command:
      - "/Applications/Flow Nodes.app/Contents/Resources/MCP/FlowNodesMCP"

Write and exit vim with :wq

4. Start Flow Nodes

Open Flow Nodes.

Open or create a new flow.

Make sure the MCP is active in settings.

5. Start Kit

Run:

Bash
kit

If successful, Kit should show:

Plain text
MCP server 'flownodes' loaded with XX tools

6. Test with a Prompt

Plain text
create a circle node

Architecture

Ollama (qwen3:14b)
↑↓
Kit
↑↓
FlowNodesMCP
↑↓
Flow Nodes

See the Kit configuration reference and Ollama documentation for installation details.