setup

setup is a command for Claude Code from amekala/ads-mcp. It costs 15 tokens per session (670 once invoked), scanned A, original, MIT.

A setup command for an Adspirer brand workspace, where campaign and advertising information is managed. It connects the workspace and gathers brand documents and campaign data.

In plain words
What is it for?
Authenticating the Adspirer connection, scanning local brand documents, and pulling campaign data into the workspace.
Why use it?
It gives the workspace the connections and local information needed before working with a brand's advertising campaigns.

Command for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Part of the adspirer-advertising-agent plugin — 19 skills, 5 commands, 1 agent, 2 MCP servers shipped together

Good fit Authenticating the Adspirer connection, scanning local brand documents, and pulling campaign data into the workspace.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/amekala/ads-mcp/setup
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/amekala/ads-mcp

Made for: Claude Code.

Or install adspirer-advertising-agent, the plugin that ships this one along with the rest of its 19 skills, 5 commands, 1 agent, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup

README.md
[![agentmods](https://agentmods.dev/badge/commands/amekala/ads-mcp/setup/github.svg)](https://agentmods.dev/commands/amekala/ads-mcp/setup)
Your own site
<a href="https://agentmods.dev/commands/amekala/ads-mcp/setup"><img src="https://agentmods.dev/badge/commands/amekala/ads-mcp/setup/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup

Your own site · 80×15
<a href="https://agentmods.dev/commands/amekala/ads-mcp/setup"><img src="https://agentmods.dev/badge/commands/amekala/ads-mcp/setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 670 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00670
Opus 5.5 $0.00006 $0.00268
Sonnet 5.5 $0.00003 $0.00134
Haiku 4.5 $0.00002 $0.00067

Measured 1mo ago against content hash 28eac62424b7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/setup.md · 26 lines

What it actually says

IMPORTANT: You may execute this workflow directly or delegate parts to the single performance-marketing-agent subagent. Keep responsibility for final output in this command and ensure all required checks are completed.

Run the full brand workspace setup. Follow these steps in order:

  1. Connect to Adspirer — Call get_connections_status.

    • If it works: continue to step 2.
    • If the MCP server is not found: tell the user "Run /mcp and find the adspirer server (listed under the plugin, e.g. plugin:adspirer-advertising-agent:adspirer) — click to authenticate. If you don't see it, run /plugin marketplace add amekala/ads-mcp then /plugin install adspirer-advertising-agent. After authenticating, run /adspirer:setup again."
    • As a fallback: run claude mcp add --transport http adspirer https://mcp.adspirer.com/mcp via Bash, then tell the user to restart Claude Code, run /mcp to authenticate, then run /adspirer:setup again.
    • If the MCP server is registered but not authenticated: tell the user "Run /mcp, find the Adspirer server, and authenticate it. Then run /adspirer:setup again."
  2. Scan local folder for brand docs — use Glob to find files: **/*.md, **/*.txt, **/*.csv, **/*.yaml, **/*.json, **/*.pdf. Read any files found.

  3. Pull live campaign data from the platforms that came back connected. Follow adspirer-mcp for the call contract.

    Direct calls:

    • get_connections_status — run this first; skip any platform it reports as not connected
    • get_campaign_performance (lookback_days: 30)
    • get_meta_campaign_performance (lookback_days: 30)

    Through a router, with {"action": "execute", "tool_name": "...", "arguments": {...}}:

    • google_ads → list_campaigns, get_business_profile, get_benchmark_context
    • linkedin_ads → list_linkedin_campaigns, get_linkedin_campaign_performance (lookback_days: 30)
  4. Create CLAUDE.md at the project root with: brand context from scanned docs, connected platforms and account info, performance snapshot with key metrics, KPI targets. Existing-file guard: if a CLAUDE.md already exists and is not an Adspirer brand workspace (e.g. it's a software project's instructions), never overwrite or restructure it — ask the user whether to append a clearly-marked ## Adspirer Brand Context section instead, and don't touch the file until they answer. If it's already a brand workspace, update it in place preserving user edits.

  5. Present a summary of everything found — accounts connected, campaigns discovered, key metrics, and what you can help with

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 26 lines · 15 tokens per session scan A 28eac62424b7

Subscribe to this mod's changes

setup is a command published in the GitHub repository amekala/ads-mcp (103 stars, last pushed 9d ago), licensed MIT. It adds 15 tokens to every session and 670 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.