Skip to main content

Global options

These options work with all commands:
OptionDescription
--help, -hShow help for a command
--version, -vShow version
--configPath to config file
--verboseEnable verbose output
--quiet, -qSuppress non-error output

Authentication

airstore login

Authenticate with Airstore.
airstore login
Opens your browser for OAuth authentication.

airstore logout

Log out and clear credentials.
airstore logout

airstore whoami

Show current authenticated user.
airstore whoami

Sources

airstore connect <source>

Connect a data source via OAuth.
airstore connect gmail
airstore connect github
airstore connect gdrive
airstore connect linear
airstore connect notion
airstore connect slack
OptionDescription
--reauthForce re-authentication

airstore disconnect <source>

Disconnect a source.
airstore disconnect gmail

airstore sources list

List connected sources.
airstore sources list

Smart folders

airstore create <path> --query "<query>"

Create a smart folder with a natural language query.
airstore create sources/gmail/investor-emails \
  --query "emails from investors in the last 30 days"
OptionDescription
--query, -qNatural language query (required)

airstore update <path> --query "<query>"

Update a smart folder’s query.
airstore update sources/gmail/investor-emails \
  --query "emails from investors in the last 60 days"

airstore delete <path>

Delete a smart folder.
airstore delete sources/gmail/investor-emails

airstore sync <path>

Force sync a smart folder.
airstore sync sources/gmail/investor-emails

Mounting

airstore mount <path>

Mount the Airstore filesystem.
airstore mount ~/airstore
OptionDescription
--tokenAuthentication token (for cloud)
--foregroundRun in foreground
--sourcesComma-separated list of sources to mount
--tools-readonlyMount tools in read-only mode

airstore unmount <path>

Unmount the filesystem.
airstore unmount ~/airstore

airstore status

Show mount status.
airstore status

MCP servers

airstore mcp add

Add a custom MCP server.
airstore mcp add \
  --name=my-server \
  --command="npx my-mcp-server" \
  --env="API_KEY=xxx"
OptionDescription
--nameServer identifier (required)
--commandCommand to start server (required)
--envEnvironment variable (repeatable)
--argsAdditional arguments

airstore mcp remove <name>

Remove an MCP server.
airstore mcp remove my-server

airstore mcp list

List configured MCP servers.
airstore mcp list

airstore mcp test <name>

Test an MCP server connection.
airstore mcp test my-server

Tools

airstore tools list

List available tools.
airstore tools list
OptionDescription
--verboseShow command-level status

airstore tools enable <tool>

Enable a tool.
airstore tools enable github

airstore tools disable <tool>

Disable a tool.
airstore tools disable github
OptionDescription
--commandDisable specific command only

airstore tools readonly

Enable read-only mode for all tools.
airstore tools readonly
airstore tools readonly --off

Permissions

airstore hide <path>

Hide a folder from agents.
airstore hide sources/gmail/personal
OptionDescription
--temporaryHide for current session only

airstore show <path>

Show a hidden folder to agents.
airstore show sources/gmail/personal

airstore hidden list

List hidden folders.
airstore hidden list

Tokens

airstore token create

Create a mount token.
airstore token create --name="modal-sandbox"
OptionDescription
--nameToken name (required)
--readonlyCreate read-only token
--sourcesLimit to specific sources
--expiresToken expiration (e.g., “24h”, “7d”)

airstore token list

List tokens.
airstore token list

airstore token revoke <name>

Revoke a token.
airstore token revoke modal-sandbox

Logs

airstore logs

View audit logs.
airstore logs
OptionDescription
--sinceStart time (e.g., “1 hour ago”)
--untilEnd time
--typeFilter by event type
--pathFilter by path pattern
--agentFilter by agent
--formatOutput format (text, json, csv)
--follow, -fFollow log output

Configuration

airstore config get <key>

Get a config value.
airstore config get api_url

airstore config set <key> <value>

Set a config value.
airstore config set api_url https://api.airstore.dev

airstore config list

List all config values.
airstore config list

Next steps