Skip to content

CLI Usage

Terminal window
npm install -g github:FlowMCP/flowmcp-cli

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

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
  1. 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 + description
    flowmcp search "token price"
    # Refine query if too many results
  2. 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 types

    The parameter schema is also saved locally in .flowmcp/tools/ for reference.

  3. Call a tool

    Execute the tool with JSON parameters. Use the parameter information from the add response.

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

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 }
}
}