Before you begin
You need:- A PlainRouter account with access to the intended workspace.
- An active Meta ad account connection.
- An MCP-compatible client that can send a fixed bearer token to a remote HTTP server.
- A workspace owner who can issue the token.
- A clear choice of the one advertising account the client should use.
ads_read or ads_management. Governed creative execution needs ads_management.
Connect with a workspace token
1
Issue the token
In PlainRouter, switch to the intended workspace and open Account → API. Choose the exact ad account, a Read, Write, or Admin tier, and an expiry.
2
Copy it once
Copy the complete token immediately after issuance. PlainRouter cannot display it again.
3
Add the PlainRouter MCP server
In your MCP client, add
https://plainrouter.com/mcp as a remote HTTP server and configure the token as its bearer credential.4
Confirm the bound account
Call
get_account_state first. Confirm the returned workspace and account before continuing.Permissions
The agent cannot supply another account ID to widen access. Creative tools recheck that provider objects belong to the approved account.
Recommended workflows
For Signals analysis:get_account_stateverify_signal_ingestionif Signal activation is still waiting for its server-side checkget_signal_healthget_performancewhen stored reconciliation is relevantpropose-actionsonly after the evidence and human-supplied target are clear
get_account_stateget-creative-libraryupload-assetif the approved account does not already contain the intended imageduplicate-ad-with-creativeusing an asset ID returned by a PlainRouter tool- Direct the person to the returned
approval_queue_url
Authorization lifetime and revocation
Workspace tokens expire after 30, 90, or 365 days. The owner can rotate or revoke them immediately from Account → API. PlainRouter also caps a token by the issuing person’s current workspace role on every request. If that person’s role no longer covers the token tier, the token stops authenticating at that tier. Issue a new token instead of trying to reuse a credential whose authority changed.Troubleshoot
The client receives 401 Unauthorized
Confirm the client sends the complete workspace token as a bearer credential and that it has not expired or been revoked. Also confirm its issuing person still holds a workspace role that covers the token tier.
If the client is sending an OAuth access token, the rejection is expected. Replace it with a workspace execution token.
A creative tool reports a missing permission
Issue a token with the required tier. Use Read for library access and Write or Admin for proposal-producing creative tools and Launcher draft batches.PlainRouter asks you to reconnect Meta
The selected account may lack an active Meta connection or the requiredads_read or ads_management access. Reconnect Meta, confirm the same ad account, and retry the same idempotent request.