Skip to content

Connect your agent

After this page your agent is connected to https://countviews.com/mcp and has made its first call.

Key Sign-in (OAuth)
You do make a key in Agent → Connect an agent, paste it into the client paste only the address; the client registers itself and opens a consent screen
Works in every client below ChatGPT, claude.ai, Claude Code, VS Code
Scopes the preset you pick what you tick on the consent screen; only reads are ticked by default

Details of the sign-in: OAuth. A key never does more than the person who made it (permissions).

Choose a client, paste your key, and copy the exact config.

Where does your agent run?
What may the key do?
Looks at campaigns, clips and the balance. Changes nothing.

Steps

  1. This key is shown as cvk_…: the real one cannot be shown again. Put your key there, or make a new one.
  2. Run this line in a terminal, once.
  3. Then ask the agent to call whoami. That is the first call we will see.
Add the server
claude mcp add --transport http countviews https://countviews.com/mcp --header "Authorization: Bearer cvk_…"

A key is sent as Authorization: Bearer <key>. The MCP address is the same everywhere. The first call to ask for is whoami.

claude mcp add --transport http countviews https://countviews.com/mcp \
--header "Authorization: Bearer $COUNTVIEWS_KEY"

No key: claude mcp add --transport http countviews https://countviews.com/mcp, then type /mcp inside Claude Code and authenticate. For a key that can launch campaigns, never choose “always allow” for campaign_activate.

Ask the agent to call whoami. The key in Agent then shows when and through what it was first used (rest, call or mcp). Keep at most 5 keys per workspace; revoke one in the same screen.