# Plainrouter API resources > Machine-readable entry points for Plainrouter's Conversion API and agent-facing MCP server. ## Conversion API - Base URL: `https://plainrouter.com/api/v1` - [API discovery Markdown](https://plainrouter.com/api.md) - [API v1 Markdown](https://plainrouter.com/api/v1.md) - [Plainrouter Conversion API documentation](https://plainrouter.com/docs/api/conversions) - [Plainrouter API Docs](https://plainrouter.com/api/docs) - [Versioning and deprecation policy](https://plainrouter.com/api/versioning) - [OpenAPI 3.1 specification](https://plainrouter.com/openapi.json) - [Authentication guide](https://plainrouter.com/auth.md) - [Webhook guide](https://plainrouter.com/webhooks.md) - [RFC 9727 API catalog](https://plainrouter.com/.well-known/api-catalog) 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. The production Conversion API accepts idempotent server-side events, exposes delivery traces and reports, supports controlled replay and test operations, and provides an idempotent user-data deletion endpoint. Production requests authenticate with the customer workspace Signals bearer secret documented in the API guide. Responses publish `RateLimit-Policy` (`"default";q=120;w=60`) and `RateLimit` (`"default";r=118`) per draft-ietf-httpapi-ratelimit-headers-11. Read `r` on every response to pace yourself. A `429 Too Many Requests` response adds `Retry-After` and the seconds until reset as `t`; wait at least that many seconds before retrying. ## Official clients - [Plainrouter TypeScript SDK `@plainrouter/sdk@0.10.1`](https://www.npmjs.com/package/@plainrouter/sdk): install with `npm install @plainrouter/sdk@0.10.1` on Node.js 22.22.2 or newer. - [Plainrouter CLI](https://plainrouter.com/docs/cli/get-started): install from [PyPI](https://pypi.org/project/plainrouter/) with `pipx install plainrouter==0.10.1`, from [npm](https://www.npmjs.com/package/@plainrouter/cli) with `npm install --global @plainrouter/cli@0.10.1`, or with `brew install plainrouter/tap/plainrouter`, then run `plainrouter --help`. Use `--json` for machine-readable output. - [Plainrouter Python SDK and CLI `plainrouter==0.10.1`](https://pypi.org/project/plainrouter/): install the SDK with `python -m pip install plainrouter==0.10.1` on Python 3.11 or newer. - [Plainrouter PHP SDK `plainrouter/sdk 0.4.1`](https://packagist.org/packages/plainrouter/sdk): install with `composer require plainrouter/sdk:0.4.1` on PHP 8.2 or newer. - [Plainrouter Ruby SDK `plainrouter-sdk 0.6.1`](https://rubygems.org/gems/plainrouter-sdk): install with `gem install plainrouter-sdk -v 0.6.1` on Ruby 3.2 or newer. - [Plainrouter Go SDK `github.com/plainrouter/sdk-go@v0.7.1`](https://github.com/plainrouter/sdk-go): install with `go get github.com/plainrouter/sdk-go@v0.7.1` on Go 1.23 or newer. - [Plainrouter Homebrew tap](https://github.com/plainrouter/homebrew-tap): source for `brew install plainrouter/tap/plainrouter`. - [CLI quickstart](https://plainrouter.com/docs/cli/get-started) - [TypeScript SDK guide](https://plainrouter.com/docs/sdk/typescript) - [Python SDK guide](https://plainrouter.com/docs/sdk/python) - [PHP SDK guide](https://plainrouter.com/docs/sdk/php) - [Ruby SDK guide](https://plainrouter.com/docs/sdk/ruby) - [Go SDK guide](https://plainrouter.com/docs/sdk/go) ## Agent API and MCP - NLWeb v0.55 conversational-search endpoint: `POST https://plainrouter.com/ask` with `{"query":{"text":"What does Plainrouter do?"}}`; `GET /ask?query=...` is also supported. Request SSE with `Accept: text/event-stream`, `prefer.streaming: true`, or `?streaming=true`; events are `start`, `result`, and `complete`. - [HTTP Message Signatures key directory](https://plainrouter.com/.well-known/http-message-signatures-directory) — Ed25519 verification keys in JWKS form with `kid`, `nbf`, and `exp` metadata. - [OAuth protected-resource metadata](https://plainrouter.com/.well-known/oauth-protected-resource) - [OAuth authorization-server metadata](https://plainrouter.com/.well-known/oauth-authorization-server) - [MCP server card](https://plainrouter.com/.well-known/mcp/server-card.json) - [MCP well-known manifest](https://plainrouter.com/.well-known/mcp) - Streamable HTTP MCP endpoint: `https://plainrouter.com/mcp` - MCP App resource: `ui://resources/account-state-app`, rendered by `get_account_state` through `_meta.ui.resourceUri` The MCP endpoint is `https://plainrouter.com/mcp`. Tool calls require a workspace key or workspace-scoped OAuth execution token. For production MCP, first have the human create a workspace key in **Settings → Workspace keys**, then configure the MCP client with the key as its bearer credential. OAuth management credentials cannot authenticate MCP. Tools stay within the key's workspace and any account restriction, and consequential changes remain subject to workspace policy and any required approval. Never request a user's password or underlying advertising-platform credential.