---
title: Plainrouter MCP quickstart for agent onboarding
description: Sign up, authorize an ad account and preview changes through Plainrouter MCP.
last_updated: 2026-08-27
---

# Plainrouter MCP quickstart

Sign up free at [Plainrouter](https://plainrouter.com/register), authorize access and connect an ad account. Then call `dry_run_actions` to preview a proposed change against account policy and admission without writing.

## Connect your client

The Streamable HTTP endpoint is `https://plainrouter.com/mcp`.

A human creates a workspace key in **Settings → Workspace keys**, choosing Read or Write and an expiry. The client sends the key as a bearer credential from secure credential storage. Write access is required for `dry_run_actions`.

OAuth clients sign in through Plainrouter and authorize account access. Workspace-scoped OAuth execution tokens also authenticate MCP; management credentials and Signals secrets are refused.

The protocol handshake, discovery catalogs and static `ui://` app shells are available without a credential. Tool calls and other protected methods return `401` without a valid credential, with a `WWW-Authenticate` header pointing to resource metadata.

## Read and preview

Call `get_account_state` and confirm the workspace and ad account. Account-scoped tools select an eligible account within the credential's workspace; pass `account_id` when several are available.

With Write access, `dry_run_actions` previews policy and admission results without writing. A preview does not authorize execution. In Ask mode, agent changes never run on their own; proposals wait for a person's approval. In Custom (execution_mode auto), the Custom switches on the Agent rules page decide which agent changes run on their own. In Full, agent changes that pass admission and workspace policy run automatically.

## Reference

- [Authentication guide](https://plainrouter.com/auth.md)
- [MCP setup](https://plainrouter.com/docs/mcp/setup)
- [MCP server card](https://plainrouter.com/.well-known/mcp/server-card.json)
- [Agent instructions](https://plainrouter.com/.well-known/agents.md)
