Cogny CLI · Email

    Brevo from your shell.

    Manage contacts and lists, create and send email campaigns, pull transactional-email reports, and fire transactional sends in Brevo (formerly Sendinblue) — from Bash over the Brevo MCP. The Brevo API v3 without an API-key header on every call.

    # 1. sign up (free for 15 calls) — uses your git email
    $ npx @cogny/cli init --agent claude-code
    
    # 2. see every Brevo tool
    $ cogny tools list
    
    # 3. call any tool from Bash — no MCP wiring
    $ cogny tools call mcp__Brevo__create_email_campaign --input '{…}'
    ❯ start Cogny Solo — $9/mo@cogny/cli on npm →

    cogny --who

    TWO PATHS
    You're a human

    Today you log into Brevo to add contacts, build a campaign, and read SMTP stats screen by screen. The CLI lets you bulk-add contacts, create a campaign, and pull aggregated send stats as JSON in single scriptable calls. Connect Brevo once in Cogny Solo and let your coding agent — or scheduled reports — do the querying for you.

    ❯ start Solo
    You're an agent

    Self-onboard with one command. The CLI issues a key, wires nothing, and exposes every Brevo tool over JSON-RPC. First 15 calls are free.

    $ npx @cogny/cli init --agent claude-code

    cogny tools call

    3 EXAMPLES

    Real tool names from the Brevo MCP. Send --input JSON, get JSON back.

    mcp__Brevo__create_email_campaignCreate an email campaign targeting one or more lists.
    $ cogny tools call mcp__Brevo__create_email_campaign \
      --input '{"name":"June Newsletter","subject":"New arrivals are here","sender":{"name":"Acme","email":"news@acme.com"},"html_content":"<h1>New arrivals</h1>","recipients":{"listIds":[12]}}'
    example response
    {
      "id": 481
    }
    mcp__Brevo__list_contactsList contacts with pagination.
    $ cogny tools call mcp__Brevo__list_contacts \
      --input '{"limit":2,"offset":0,"sort":"desc"}'
    example response
    {
      "contacts": [
        {
          "id": 1042,
          "email": "jane@example.com",
          "emailBlacklisted": false,
          "listIds": [
            12
          ]
        },
        {
          "id": 1041,
          "email": "bob@example.com",
          "emailBlacklisted": false,
          "listIds": [
            12,
            7
          ]
        }
      ],
      "count": 28410
    }
    mcp__Brevo__get_smtp_reportAggregated transactional-email statistics.
    $ cogny tools call mcp__Brevo__get_smtp_report \
      --input '{"days":7}'
    example response
    {
      "requests": 9120,
      "delivered": 8980,
      "opens": 4210,
      "clicks": 880,
      "hardBounces": 21,
      "spamReports": 3
    }

    cogny tools list

    MORE

    A sample of the rest of the Brevo surface. Run cogny tools list --json for every tool and its input schema.

    mcp__Brevo__get_accountmcp__Brevo__get_contactmcp__Brevo__create_contactmcp__Brevo__update_contactmcp__Brevo__list_contact_listsmcp__Brevo__add_contacts_to_listmcp__Brevo__list_email_campaignsmcp__Brevo__send_email_campaign_nowmcp__Brevo__send_transactional_email

    cogny --faq

    Is this an official Brevo CLI?

    No — it is the Cogny CLI calling the Brevo MCP over the cogny-mcp-proxy. You connect your Brevo (Sendinblue) API key once inside Cogny and then call the v3 API from Bash; the proxy supplies the api-key header.

    Does it cover transactional email too?

    Yes. Alongside contact and campaign tools, the Brevo MCP exposes `send_transactional_email` and `get_smtp_report` for transactional sends and their aggregated stats.

    Can my coding agent run these calls?

    Yes. After `npx @cogny/cli init`, an agent calls `cogny tools call mcp__Brevo__get_smtp_report --input ...` from any shell — no MCP wiring or restart needed.

    related CLIs

    /cli/klaviyo/cli/mailchimp/cli/mailerlite

    Building an agent? The full tool map for all servers is one fetch: /cli/llms.txt