Skip to content

CLI Usage

Reference

Install via GitHub:

npm install -g github:FlowMCP/flowmcp-cli

FlowMCP packages are not published to NPM. They are installed directly from GitHub.

The CLI follows a three-step pattern: discover tools, activate them, then call them.

flowmcp search query

Browse matching tools

flowmcp add tool-name

Tool activated + parameters shown

flowmcp call tool-name JSON-args

Tool result returned

CommandDescription
flowmcp search <query>Find tools (max 10 results)
flowmcp add <tool-name>Activate a tool + show parameters
flowmcp call <tool-name> '{json}'Call a tool with JSON parameters
flowmcp remove <tool-name>Deactivate a tool
flowmcp listShow active tools
flowmcp statusHealth check

Discover tools by keyword. Add a tool to activate it for your project — the response shows the tool’s parameters. Then call the tool with JSON arguments.

Terminal window
flowmcp search ethereum
flowmcp add get_contract_abi_etherscan
flowmcp call get_contract_abi_etherscan '{"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"}'

The parameter schema for each added tool is saved locally in .flowmcp/tools/ for inspection.

The CLI has two operating modes that control which commands are available:

ModeCommandsUse Case
Agentsearch, add, call, remove, list, statusDaily AI agent usage
Dev+ validate, test, migrateSchema development
Terminal window
flowmcp mode dev # Switch to dev mode
flowmcp mode agent # Switch back to agent mode

Dev mode unlocks additional commands for schema authors:

Terminal window
flowmcp validate <path> # Validate schema structure
flowmcp test single <path> # Live API test
flowmcp validate-agent <path> # Validate agent manifest

When you add tools, a .flowmcp/ directory is created in your project:

.flowmcp/
├── config.json # Active tools + mode
└── tools/ # Parameter schemas (auto-generated)
└── get_contract_abi_etherscan.json

Each file in tools/ contains the tool name, description, and expected input parameters:

{
"name": "get_contract_abi_etherscan",
"description": "Returns the Contract ABI of a verified smart contract",
"parameters": {
"address": { "type": "string", "required": true }
}
}

The CLI stores its grading working data — the workbench island — next to your global config, not in any repository. Default location and override chain:

PrioritySourceExample
1--grading-data <path> flagper-call override
2FLOWMCP_GRADING_DATA env varshell/session override
3gradingDataDir in ~/.flowmcp/config.jsonpersistent config
4Default~/.flowmcp/grading/

This island holds runtime grading data only. It lives in your home directory, is never published, and must not be committed. The published Grading standard itself is the versioned spec at /grading/.