Documentation

Español

CLI reference

Commands and global options available in the Mico CLI.

Global syntax

mico [--base DIR] [--db-path FILE] [--json] <command>
OptionEnvironment variableBehavior
--base DIRMICO_BASEUse DIR/app.db.
--db-path FILEMICO_DB_PATHUse an explicit SQLite file.
--json—Emit a versioned JSON response or machine-readable JSON error.

--db-path takes precedence over --base. Without either option, the CLI uses Mico's platform application-data directory and recognized legacy locations.

Meeting commands

CommandOptionsResult
meetings list-q, --query TEXT, --series-id ID, --limit 1..200, --offset NUMBERMeetings, newest first by start time (creation time when there is none). Defaults to 20 results.
meetings get ID—Metadata, canonical note, summaries, participants, and action items.
meetings note ID--kind note|summary|allThe selected note documents. Defaults to note.
meetings transcript ID--limit 1..500, --offset NUMBERA bounded transcript word page. Defaults to 200 words from offset 0.
meetings history ID--limit 1..200, --offset NUMBERA page of meetings from the same recurring series. Defaults to 20 from offset 0.
meetings export ID--format markdown|json, -o, --output FILE, --forceA complete meeting export, including transcripts. Defaults to Markdown on stdout. Existing files require --force.

JSON response contract

Successful --json responses contain:

FieldMeaning
schema_versionCLI JSON contract version. Currently 1.
commandStable command identifier such as meetings.list.
dataCommand result.
paginationPage metadata when the command is paginated.

Pagination includes offset, limit, returned, optional total, and optional next_offset.

Doctor command

mico --json doctor

Checks the resolved database path, read-only access, and required schema without changing data. It exits with status 0 when ready is true and status 1 when ready is false.

Help and version

mico --help
mico meetings --help
mico meetings list --help
mico --version

The CLI has no MCP command. Mico's MCP server is remote: see the MCP reference.