Skip to main content

ivon CLI — Meta Ads connector commands + MCP access for the ivon autonomous marketing team

Project description

ivon CLI

Command-line access to the ivon Meta Ads connector — the same hosted MCP server that powers ivon's agents, wrapped in human-friendly commands.

Install

pip install ivon-cli         # from PyPI (or pipx install ivon-cli)
pip install -e cli/          # from the repo root, for development

Login

ivon auth login              # opens browser → Google sign-in on ivon.ai → done
ivon auth status             # who am I + Facebook Ads connection state
ivon auth logout

Credentials are stored in ~/.ivon/credentials (0600). The token is your long-lived ivon API token — regenerate it on https://ivon.ai/profile to revoke all CLI / MCP access.

Meta Ads commands

ivon meta tools                                   # list every MCP tool, grouped
ivon meta tools get_insights                      # one tool: params, defaults + example
ivon meta tools get_insights --json               # same as JSON Schema (for agents)
ivon meta accounts                                # your ad accounts
ivon meta campaigns -a act_123 --status ACTIVE
ivon meta adsets -a act_123 -c <campaign_id>
ivon meta ads -a act_123
ivon meta insights act_123 -t last_7d --breakdown age
ivon meta call create_campaign -p account_id=act_123 -p name="Spring Sale" \
    -p objective=OUTCOME_TRAFFIC -p status=PAUSED

ivon meta call <tool> -p key=value reaches any tool on the server — values parse as JSON when possible (-p limit=25, -p targeting='{"geo_locations":{"countries":["US"]}}').

ivon meta tools reads a catalog snapshot bundled with the CLI, so discovery is instant and works before login; --refresh re-fetches from the live server. Refresh the bundled snapshot with scripts/snapshot_cli_tools.py after changing the backend's tool surface.

MCP client setup

ivon mcp config              # prints Claude Code / Claude Desktop config
ivon mcp config --show-token # same, with your real token embedded

Environment overrides

  • IVON_API_URL — point at a different backend (loopback allowed for dev; other hosts need IVON_ALLOW_CUSTOM_API=1).
  • IVON_CONFIG_DIR — credentials directory (default ~/.ivon).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ivon_cli-0.2.0.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ivon_cli-0.2.0-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

Details for the file ivon_cli-0.2.0.tar.gz.

File metadata

  • Download URL: ivon_cli-0.2.0.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for ivon_cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0c3f2a29e463267b8c44db39987e83862615817be9090819c9c933b56c170eab
MD5 36849197fd012ba45dbd12351e49e166
BLAKE2b-256 faf1fca12b13aa8503cad5ef7f742aae83a2e316ddf4f1eb15cc6e842007b17b

See more details on using hashes here.

File details

Details for the file ivon_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ivon_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.12

File hashes

Hashes for ivon_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d8c9787daab62b1e13a8d905f0dd42cf14b1262feb9b7ff2b92cdf385d8167f1
MD5 58e3067c548eeaf2b8784a556afbfe2d
BLAKE2b-256 2e8e0558909800a8f412aca81991c701b542acb8f5bd0130b366248bb0d020dd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page