CLI Usage
Installation
Section titled “Installation”Install via GitHub:
npm install -g github:FlowMCP/flowmcp-cli FlowMCP packages are not published to NPM. They are installed directly from GitHub.
CLI Workflow
Section titled “CLI Workflow”The CLI follows a three-step pattern: discover tools, activate them, then call them.
Core Commands
Section titled “Core Commands”| Command | Description |
|---|---|
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 list | Show active tools |
flowmcp status | Health check |
Search, Add, Call
Section titled “Search, Add, Call”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.
flowmcp search ethereumflowmcp add get_contract_abi_etherscanflowmcp call get_contract_abi_etherscan '{"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"}'The parameter schema for each added tool is saved locally in .flowmcp/tools/ for inspection.
Agent Mode vs Dev Mode
Section titled “Agent Mode vs Dev Mode”The CLI has two operating modes that control which commands are available:
| Mode | Commands | Use Case |
|---|---|---|
| Agent | search, add, call, remove, list, status | Daily AI agent usage |
| Dev | + validate, test, migrate | Schema development |
flowmcp mode dev # Switch to dev modeflowmcp mode agent # Switch back to agent modeDev Mode Commands
Section titled “Dev Mode Commands”Dev mode unlocks additional commands for schema authors:
flowmcp validate <path> # Validate schema structureflowmcp test single <path> # Live API testflowmcp validate-agent <path> # Validate agent manifestLocal Project Config
Section titled “Local Project Config”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.jsonEach 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 } }}API Keys
Section titled “API Keys”Grading (Experimental)
Section titled “Grading (Experimental)”The CLI stores its grading working data — the workbench island — next to your global config, not in any repository. Default location and override chain:
| Priority | Source | Example |
|---|---|---|
| 1 | --grading-data <path> flag | per-call override |
| 2 | FLOWMCP_GRADING_DATA env var | shell/session override |
| 3 | gradingDataDir in ~/.flowmcp/config.json | persistent config |
| 4 | Default | ~/.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/.