roasr-mcp
OfficialProvides access to Google Ads analytics via RoASr, including audit findings, KPI summaries, daily metrics, breakdowns, and campaign data.
Provides access to Meta (Facebook) ad analytics via RoASr, including audit findings, KPI summaries, daily metrics, breakdowns, and creative analysis.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@roasr-mcpShow me the KPI summary for last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
roasr-mcp
English · Русский
MCP server for RoASr — connect Claude, ChatGPT, Codex, Cursor, or any MCP-compatible client to your RoASr ad-analytics workspace: Meta, Google Ads and Yandex Direct ad-audit findings, KPI summaries, competitor spy and Vision creative analysis. A thin, dependency-free client over the public /v1 REST API.
Auth is by your
pg_live_…API key; workspace isolation and scopes are enforced API-side. The server is stateless, and read-only apart from one Yandex Direct campaign pause/resume tool that works solely inside permissions you granted.
Quick start
1. Get an API key
Sign in at https://roasr.com → Settings → API keys → create a pg_live_… key with the scopes you need (shown once).
2. Connect — pick one
A. Remote connector — no install (Claude.ai web, ChatGPT, Codex, or any HTTP/streamable-http MCP client):
URL: https://roasr.com/api/mcp
Auth: Bearer pg_live_…The tool catalog at that URL is public (any client can list the tools without a key); every actual tool call requires the Authorization: Bearer pg_live_… header — the API key scopes the call to your workspace. Most MCP-capable clients (Claude.ai, ChatGPT connectors, Codex) accept this URL + bearer token directly in their "add remote MCP server" UI, no local process needed.
B. Local via npx (Claude Desktop, Cursor, Claude Code) — add to your MCP config:
{
"mcpServers": {
"roasr": {
"command": "npx",
"args": ["-y", "roasr-mcp"],
"env": {
"ROASR_API_KEY": "pg_live_…",
"ROASR_BASE_URL": "https://roasr.com"
}
}
}
}Until the npm package is published, use
"args": ["-y", "github:RoASr-com/roasr-mcp"].
C. From source:
git clone https://github.com/RoASr-com/roasr-mcp && cd roasr-mcp
npm install && npm run build
ROASR_API_KEY=pg_live_… node dist/index.jsRelated MCP server: google-ads-transparency-mcp
Tools
Tool | Description | Endpoint · scope |
| AI-audit findings by priority (optional client filter) |
|
| Ad KPI summary over a date window (spend, impressions, clicks, conversions, revenue, CTR, CPC, CPM, ROAS, CPA, reach, frequency). Optional |
|
| Daily metric time series over a date window (incl. reach/frequency) — for trends and charts. Optional |
|
| Metric breakdown by dimension ( |
|
| Per-campaign/adset metrics and KPIs over a date window (spend, CTR, CPC, ROAS, CPA, reach, frequency…), sorted by spend |
|
| Conversion breakdown by action type over a date window: |
|
| Workspace clients with context |
|
| Competitor creative tag leaderboard (days_live ≈ winner) |
|
| Search stored competitor creatives (hook / headline / tags / brand) |
|
| Vision breakdown of a creative by |
|
| Rich platform signals by |
|
| Direct only. Search queries for a window: text, campaign/ad group, match type, impressions, clicks, spend, conversions. The strongest Direct signal — sizes the share of spend on queries with zero conversions |
|
| Direct only. Ads with moderation state and metrics: |
|
| Direct only. Which Yandex.Metrika goals the account's conversions are counted against. No date window — current config. Empty goals ⇒ conversions cannot be attributed |
|
| Direct only. One call for the four Direct kinds by |
|
| Plan limits and the remaining daily Yandex API unit quota (Direct meters per login; its Reports endpoint hides its own consumption) |
|
| The one write tool. Pauses/resumes a live Direct campaign, only within permissions the account owner granted for that key. Idempotent by |
|
| Status and attempt history of a write command — resolves one left in |
|
roasr_metrics_summary/roasr_metrics_daily/roasr_metrics_breakdown/roasr_metrics_campaigns/roasr_metrics_actions/roasr_signalsshare the same date-window params:since/until(YYYY-MM-DD,sincetakes priority) orsinceDays(1–365, default 30), plus optionalaccountId/clientIdfilters.roasr_metrics_breakdownalso requiresdimensionand acceptslimit(1–200, default 50).roasr_metrics_campaignsacceptslevel(campaigndefault, oradset) andlimit(1–200, default 50); its response includesdataSince— the earliest date entity-level data has been collected since.roasr_metrics_summary/roasr_metrics_dailyaccept an optionalentityRef(campaign:<id>|adset:<id>) to scope to one entity instead of the whole workspace.roasr_signalsrequireskindand acceptslimit(1–200, default 50); its response includesasOf(per-account latest).reach/frequency(summary/daily/breakdown) are Meta-only —nullfor older data or non-Meta accounts;reachis a sum of daily reach (not de-duplicated),frequencyis always the derivedimpressions/reach. Action buckets are not additive —engagementis an aggregate ofreactions/comments/shares, don't sum them together.
Spy (
spy_search+vision_analyze) is the edge — your AI gets data that lives nowhere else. Ad Library scans and Vision analysis (LLM/credits) run inside the RoASr app; this server returns the already-stored result.
Configuration
Env | Required | Default |
| ✅ | — (server exits with an actionable error if missing) |
| — |
|
Development
npm install # installs devDeps + builds dist/ (prepare hook)
npm run build # tsc → dist/index.js (executable bin, shebang)
npm run dev # tsx src/index.tsLayout: src/index.ts (entry, env validation, fail-loud) · src/protocol.ts (dependency-free JSON-RPC 2.0 stdio + runMcpServer/ToolDef) · src/client.ts (RoasrClient, Bearer auth, error-envelope unwrap) · src/tools.ts (buildTools → 18 tools).
Unit tests (vitest, fake client, no network) live in the RoASr monorepo, which is the source of truth for
src/— this repository is its published mirror.
Agent skills
Tool schemas tell an agent what it can call; these tell it how to reason. Drop the folder into
your agent's skills directory (Claude Code: .claude/skills/), or just paste the file into context.
Skill | For |
The cross-platform working method: order of analysis, per-platform gotchas, ready workflows, safety rules for the write tool | |
Yandex Direct in depth — goal selection before any conversion number, archived campaigns, | |
Driving RoASr from Hermes (remote HTTP MCP) | |
Driving RoASr from OpenClaw (remote HTTP or local stdio) |
Notes / invariants
stdout is protocol-only — all logs go to
stderr(a strayconsole.logbreaks JSON-RPC).Fail-loud — missing
ROASR_API_KEY→ actionable stderr message +exit(1).Tool errors surface as
{ isError: true }(MCP convention), so the client can recover.Read-only except
roasr_campaign_set_state— that one pauses/resumes a live Yandex Direct campaign, and only inside the permissions the account owner granted for that key. Scopes are enforced API-side.Vision / Ad-Library results are pre-computed in the app —
vision_analyzereturns a stored breakdown.
License
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceCross-platform ad management MCP server for Google Ads and Meta Ads. Campaign analytics, A/B testing with z-test, anomaly detection, and budget reallocation. 15 tools, 60 tests.Last updated1756MIT
- AlicenseAqualityDmaintenanceAn MCP server that lets AI assistants look up any advertiser's Google ads. Search by domain or company name, retrieve ad creatives, and decode text ad content from Google's Ads Transparency Center.Last updated245MIT
- Flicense-qualityDmaintenanceMCP server that wraps the Meta Marketing API (Graph API v25.0) as semantic tools for LLM agents.Last updated1
- Alicense-qualityAmaintenanceMCP server for VK Ads API (myTarget v2) that allows AI agents to manage advertising accounts: create and modify campaigns, ads, upload creatives, and fetch statistics.Last updated5506Apache 2.0
Related MCP Connectors
MCP for Yandex Direct: manage ad campaigns & analytics from Claude or ChatGPT
Search Meta, Google Ads, LinkedIn, and TikTok ad libraries plus creative analysis via MCP.
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RoASr-com/roasr-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server