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 -e cli/          # from the repo root (or publish to PyPI later)

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
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"]}}').

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.1.0.tar.gz (14.8 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.1.0-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ivon_cli-0.1.0.tar.gz
  • Upload date:
  • Size: 14.8 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.1.0.tar.gz
Algorithm Hash digest
SHA256 2d15d8435cf89eb389037d39916121c7c610e4df35da428e07caf1429e93e07a
MD5 64a38d0b2440d2213541e79ee6224ca5
BLAKE2b-256 d3c67fcfa8c4439141908812410fc8d201b195fe7864b6a18e32aaab15d46e4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ivon_cli-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 17.5 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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0b68d3b7ccc170d66ff70a8665a035a1f283193ee905212337ba6c9d6653e64
MD5 f805fe368f6011d54957da1682a00159
BLAKE2b-256 1844a585c77530d297bd73684ecd4f0cfcd6963d31d0c3957a22ab3296373164

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