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.2.tar.gz (39.4 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.2-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ivon_cli-0.2.2.tar.gz
  • Upload date:
  • Size: 39.4 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.2.tar.gz
Algorithm Hash digest
SHA256 456239762433c463c35721a1c9f71df010e91ba0709a408e285c6913e54b9493
MD5 d6e605682661ee137ac551dcfab6c5e4
BLAKE2b-256 2c2333c9ed61302f8a7ed25bc2532e8b1f0964ded42455377bcef1b21d29c8ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ivon_cli-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 42.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3765eee3568c4567fe84f4bf5e7159e3c08e534ed616dd7e1da8f33a28b5737f
MD5 430a2cf4fd1cb41b0e2ef616ddbc6287
BLAKE2b-256 faef2bba2059786ccf10b904a84d6634158891eb0d0a431a25255865145ef708

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