CLI Usage
Installation
Section titled “Installation”npm install -g github:FlowMCP/flowmcp-cliCLI 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”-
Search for tools
Find tools by keyword. Results include name, description, and the command to add each tool.
Terminal window flowmcp search ethereum# Shows up to 10 matching tools with name + descriptionflowmcp search "token price"# Refine query if too many results -
Add a tool
Activate a tool for your project. The response shows the tool’s parameters with types and requirements.
Terminal window flowmcp add get_contract_abi_etherscan# Response shows: name, description, parameters with typesThe parameter schema is also saved locally in
.flowmcp/tools/for reference. -
Call a tool
Execute the tool with JSON parameters. Use the parameter information from the
addresponse.Terminal window flowmcp call get_contract_abi_etherscan '{"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"}'
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 } }}