mimocode Subcommands

This page covers the auth, mcp, and session subcommands of mimocode. For other commands see CLI.


auth

Command to manage credentials and login for providers.

mimo auth [command]

login

MiMo Code is powered by the provider list at Models.dev, so you can use mimo auth login to configure API keys for any provider you'd like to use. This is stored in ~/.local/share/mimocode/auth.json.

mimo auth login

When MiMo Code starts up it loads the providers from the credentials file. And if there are any keys defined in your environments or a .env file in your project.


list

Lists all the authenticated providers as stored in the credentials file.

mimo auth list

Or the short version.

mimo auth ls

logout

Logs you out of a provider by clearing it from the credentials file.

mimo auth logout

mcp

Manage Model Context Protocol servers.

mimo mcp [command]

add

Add an MCP server to your configuration.

mimo mcp add

This command will guide you through adding either a local or remote MCP server.


list

List all configured MCP servers and their connection status.

mimo mcp list

Or use the short version.

mimo mcp ls

auth

Authenticate with an OAuth-enabled MCP server.

mimo mcp auth [name]

If you don't provide a server name, you'll be prompted to select from available OAuth-capable servers.

You can also list OAuth-capable servers and their authentication status.

mimo mcp auth list

Or use the short version.

mimo mcp auth ls

logout

Remove OAuth credentials for an MCP server.

mimo mcp logout [name]

debug

Debug OAuth connection issues for an MCP server.

mimo mcp debug <name>

session

Manage MiMo Code sessions.

mimo session [command]

list

List all MiMo Code sessions.

mimo session list

Flags

FlagShortDescription
--max-count-nLimit to N most recent sessions
--formatOutput format: table or json (table)