Skip to main content
Glama
Advernue MCP

Advernue MCP

Official
by advernue
README.md
# @advernue/mcp

A stdio [MCP](https://modelcontextprotocol.io) server for the [Advernue](https://advernue.com) API: one request shape over ~200 ad platforms, exposed as tools to any MCP client. Built on [`@advernue/sdk`](https://github.com/advernue/advernue-node).

> `@advernue/sdk` is installed from GitHub (`github:advernue/advernue-node#main`) until it is on npm; switch to the published semver range then.

## Use

```json
{
  "mcpServers": {
    "advernue": {
      "command": "npx",
      "args": ["-y", "@advernue/mcp"],
      "env": { "ADVERNUE_API_KEY": "adv_..." }
    }
  }
}
```

`ADVERNUE_API_KEY` is required for tool calls; `ADVERNUE_BASE_URL` optionally overrides `https://api.advernue.com`.

## Tools

One tool per API operation, named `<tag>_<operation>` (for example `campaigns_list`, `analytics_compare`, `crosspost_launch`). Inputs are JSON Schema taken from the OpenAPI spec: path and query parameters are top-level fields, the request body is the `body` field.

- **Reads** (GET, plus analytics and preview/simulate style POSTs) are annotated `readOnlyHint: true` and run immediately.
- **Writes default to a dry run.** Where the API supports `dry_run`, a write without `confirm: true` is sent as a dry run (validate and preview only). For writes without a server-side dry run, nothing is sent and the tool returns a preview of the request. Set `confirm: true` to execute for real.
- Writes also accept `idempotencyKey` (generated when omitted).
- API errors come back as tool results with `isError: true` and the `{ status, code, message, details }` envelope.

## License

MIT

TDQS

C2.9/5.0

Scored across 176 tools

Disambiguation4/5

Despite the huge surface, most tools have distinct resource+action purposes and clear domain prefixes, so an agent can usually differentiate list/get/create/update/delete variants. Some overlaps remain (e.g. creativeLibrary_resize vs planResize, rules_run vs rules_simulate, approvals vs approvalLinks vs approvers), but descriptions generally resolve them.

Naming Consistency4/5

The dominant pattern is resource_verb in snake_case with camelCase resource names (e.g. audiences_createList, adGroups_update), which is predictable enough. Minor deviations like auth_me, ops_health, platform_platformConfig, and branding_get reduce consistency slightly but remain readable.

Tool Count1/5

176 tools is far beyond the 50+ threshold and creates a severe selection burden for an agent. Even though the domain is broad, the surface is too large to be practically scoped as a single MCP tool set.

Completeness4/5

Coverage is extensive across ads, analytics, reports, tracking, billing, security, notifications, and admin workflows, with CRUD in many domains. Some lifecycle gaps exist, such as no delete operations for campaigns/ad groups/ads (status changes may substitute) and limited client lifecycle management, but these are minor relative to the surface.