Inspect an approved ad account and first-party signal health, then propose policy-gated actions.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
PlainRouter is an independent arrival ledger and spend enforcement under the ad account. Agents can trust its reads because the platform being measured does not produce them, and its enforcement is structural, not advisory.
PlainRouter exposes a remote Streamable HTTP MCP server at https://plainrouter.com/mcp.
The server uses OAuth 2.1. Request only the mcp:use scope. Account access is limited to the advertising account approved by the human user. Complete OAuth authorization in your client's normal flow; do not place credentials in the endpoint URL. Review authentication before connecting an agent.
In Claude's Integrations UI, add a remote MCP server and enter https://plainrouter.com/mcp. Complete the OAuth 2.1 authorization and approve only the human-selected advertising account.
mcp.json)Add the remote server to Cursor's mcp.json:
When Cursor prompts you, complete OAuth 2.1 and grant only mcp:use; the connection can access only the advertising account approved by the human.
Configure the client's Streamable HTTP transport with endpoint https://plainrouter.com/mcp. Use its OAuth 2.1 flow to request only mcp:use, and send the resulting authorization through the client's standard HTTP authentication mechanism. Account access remains limited to the human-approved advertising account.
Use https://plainrouter.com/mcp/sandbox to test an MCP integration without credentials or an advertising account. Every response is synthetic and marked as sandbox data; the remote cannot read production data, persist events, contact an advertising provider, or expose production-only tools that propose, write, or affect spend. Move to https://plainrouter.com/mcp and complete OAuth only when the integration is ready for real account data.
This is PlainRouter's public repository for agent integrations and generated SDKs. It includes:
https://plainrouter.com/mcp; andget-ad-account-context for approved account context and read-only measurements;verify-signal-ingestion for an idempotent identity-free onboarding check; andpropose-governed-ad-actions for evidence-backed proposals subject to policy and human approval.Install the skills with the open Agent Skills CLI:
The live MCP server advertises these tools. Availability remains limited by the connection permissions and the human-approved advertising account.
| Tool | Description and agent-facing constraint |
|---|---|
get_account_state | Reads the authorized account, workspace, connection, Signal destination, and available read-only capabilities. Read-only and idempotent; use it before account-specific work. |
get_signal_health | Diagnoses stored event flow, Meta delivery outcomes, match quality, and reconciliation gaps. Read-only and idempotent; it does not call the Marketing API and is not evidence for spend-affecting proposals. |
get_performance | Returns admissible proposal evidence comparing Meta-reported conversions with gateway-verified accepted conversions. Read-only and idempotent; days accepts 1–90 and defaults to 7. |
verify_signal_ingestion | Writes one identity-free onboarding verification event and confirms ledger receipt. Idempotent and has no spend capability. |
propose-actions | Proposes 1–25 budget, status, upload, or creative-duplication actions. Idempotent; every proposal passes workspace policy, and suggest-only approval never executes it. |
get-creative-library | Reads Meta image and video assets, historically associated ads, and 30-day performance. Read-only; results can be filtered and paginated. |
upload-asset | Stages a JPEG or PNG image and submits a canonical upload action. Idempotent and non-destructive; the action remains policy- and approval-gated. |
duplicate-ad-with-creative | Proposes duplicating a source Meta ad with a selected creative asset. Idempotent and non-destructive; approved copies are always created paused. |
launcher.draft_batch | Creates a Launch draft from already-synced Drive assets in the execution token's workspace and ad account. Creates draft state only and accepts no caller-supplied account context. |
launcher.batch_status | Reads the bounded status projection of a token-bound Launch batch. Read-only and idempotent. |
launcher.preview_batch | Runs the authoritative Launch gate preview checkpoint for a token-bound batch. Non-destructive; a blocked gate prevents advancement. |
launcher.execute_batch | Enters execution for a token-bound Launch batch. Every mutation is proposed through Actions rather than applied outside the governed lane. |
show_spend_cap_approval | Renders the static spend-cap approval preview card. Read-only and idempotent; it reads and writes nothing. |
Generated from PlainRouter's signed OpenAPI contract.
Install the generated SDK:
Inject a Signal Tracker secret explicitly, then call a generated operation:
The default API base URL is https://plainrouter.com/api/v1. The SDK never
embeds credentials.
Install the Python SDK:
Python 3.11 or newer is required. Python package releases are versioned independently from the API contract and are verified against the vendored, signed OpenAPI contract before publication.
Install the Ruby gem:
Use the compact client facade for the three API areas:
Ruby 3.2 or newer is required. The complete generated models and HTTP-aware
methods remain available under PlainRouter::OpenAPI without crowding the
top-level SDK documentation.
The generated Go client is published as its own standard Go module:
Install the canonical scoped CLI globally:
Or run the scoped package without installing it globally:
Python users can install the equivalent CLI from
PyPI with pipx:
Both distributions expose the plainrouter command. Keep only one global
installation on your PATH to avoid selecting an unintended executable.
Provide a Signal Tracker secret without placing it in shell history:
The same CLI is also available from the official Homebrew tap:
Official developer resources: documentation, API documentation, and OpenAPI specification.
Official project: plainrouter.com · documentation · source
This repository is in 0.x development. Stability and support are not yet
promised.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/plainrouter-2)<a href="https://allmcps.com/mcp/plainrouter-2"><img src="https://allmcps.com/api/badge/plainrouter-2?style=directory" alt="PlainRouter on AllMCPs" /></a>