Skip to main content
Start with the café example and try its MCP server, CLI or messaging agent. All three use the same tools.

Before you start

You need Node.js 22.18 or later and npm. Check your version with node --version. MCP and CLI tool calls run without a model key or Flow account. The messaging agent needs a model; you can use your own provider key or Flow’s trial setup.

Create your project

1

Create the starter

Run this from the folder where you keep your projects:
Terminal
Use lowercase letters, digits and dashes for the folder name. --display-name is what people call your agent.
Use init instead of new:
Terminal
2

Choose how to try it

Start the MCP server:
First terminal
It prints its MCP URL and a command to connect Claude Code. Keep it running. In another terminal in the same project, read the café menu:
Second terminal
Check it worked: you should see JSON with a menu array, including the café’s drinks, prices, milk options and allergens.
This is an excerpt; the starter returns the full menu.
To try the same tools in an assistant, connect the MCP URL using the command printed by the server. Remote hosts such as Claude or ChatGPT need a public HTTPS endpoint: see MCP servers.
3

Make it your product

Add your own tools in src/tools.ts, write workflows in agent/skills/ and replace the café’s instructions in agent/AGENTS.md. The starter also includes coding-agent skills in .claude/skills/.Check the tool and CLI definitions:
Terminal
Check it worked: the command reports no configuration problems. Then exercise a real request in the interface you chose.

Where to edit

If something does not connect

The starter uses MCP_PORT, else port 8790 or the next free port. Use the URL it prints. For this my-agent project, set MY_AGENT_SERVER to that URL when running the CLI:
Terminal
Replace 8791 with the actual port. The variable name is derived from the project name.
Run npx @flow-engineer/flow link for Flow’s trial setup, or add your provider key to .env. Restart npm start after changing environment values.

Add your first tool

Implement a capability and call it from the CLI.

Explore the playground

Inspect tool calls, switch channels and test sign-in.