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.1.tar.gz (30.5 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.1-py3-none-any.whl (33.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ivon_cli-0.2.1.tar.gz
  • Upload date:
  • Size: 30.5 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.1.tar.gz
Algorithm Hash digest
SHA256 f361b9dd0609b93ba6456b8294deb135eae3aef0d35ecdbd076471f82a965302
MD5 2b3a52ec2ecaa21ad021138d1bd8b586
BLAKE2b-256 4666f08e5a90cc845bd37ea41fa16244b8a643fb49b693900cde4648f88cb019

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ivon_cli-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 33.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ed7f87cf9b77bca3231251e2dfb219a3d56aa46889dd8ad7815f8d423a0b8020
MD5 a24cb2d53434b69c7ebbd60cf561fd2b
BLAKE2b-256 61190b30aefb0dfca81eab3fe4f5fcbf4123cff97db0f20437a03a56aa148a37

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