---
title: Connect Slate to Claude (MCP and API)
description: Add Slate's MCP server to Claude Desktop, claude.ai or Claude Code, or read Slate's data from your own scripts with a token.
section: Your agency
order: 3
views: api
covers: app/content/api-read.js, app/content/api-tokens.js, app/content/mcp-server.js, app/content/oauth-rules.js
---

Ask Claude about your clients' Slate data: the content inventory, the strategy
draft, the roadmap, guides, drafts, rankings and AI Tracking. Claude reads what
you can see in Slate and nothing more. A sign-in from Claude can also make a
short list of changes if you allow it (below); a token only reads.

- MCP address: `https://heyslate.ai/mcp`
- API address: `https://heyslate.ai/api/v1`

Claude Desktop, claude.ai and Claude Code can sign in to Slate with no token
to copy: add the MCP address as a connector, sign in to Slate when Claude asks,
and press **Allow**. A token (below) still works everywhere, and is how your own
scripts read the API.

## Sign in from Claude

### Claude Desktop and claude.ai

1. Go to **Customize**, **Connectors**, **Add custom connector**.
2. Name it Slate and paste `https://heyslate.ai/mcp` as the address. Leave the
   OAuth client ID and secret blank.
3. Press **Add**, then **Connect**. A Slate page opens. Sign in if Slate asks.
4. Slate shows who is asking and where you'll go back to. Press **Allow**.

Each person connects on their own, and Claude reads Slate as that person. On a
Team or Enterprise plan an Owner can add the connector for everyone, and each
person still signs in to Slate as themselves.

### Claude Code

```
claude mcp add --transport http slate https://heyslate.ai/mcp
```

Then type `/mcp` in Claude Code, pick slate and sign in. Slate's page warns
that it sends you back to an app on your computer: allow it only when you
started the sign-in yourself.

### What a sign-in can do

Read what you can see in Slate, as you. On the Allow screen you can also tick
**Also let it make changes**. Ticked, Claude can change a guide's direction and
fix, take out or put back a guide's lines, as you, the way Edit mode does. It
can also use the other tools under Changes below, including the ones that
spend money, each only after you agree to its price. It can build a new guide
the way New guide does, one step at a time, with each price shown first. It
never deletes, publishes, sends or signs off. Left
unticked, the connection only reads. To change your mind, revoke it and connect
again. It shows on **API and MCP** as "Claude, connected" and the date, beside
your tokens, with "reads and makes changes" when you ticked it.
**Revoke** there ends it at once. Claude keeps itself signed in: the sign-in
renews every hour and lasts a year, or until you revoke it or stop using it for
90 days. You can have 10 Claude connections at a time, apart from your 10 tokens.

## 1. Make a token

1. In Slate, open the menu under your email and pick **API and MCP**.
2. Press **Create token**. Name it for where it will live ("Claude on my
   laptop") and pick how long it lasts: 30 days, 90 days or 1 year.
3. Copy the token. Slate shows it once. Keep it in a password manager.

A token starts with `slt_`. You can have 10 at a time. **Revoke** stops a token
at once. A token never makes or changes anything in Slate.

## 2. Connect Claude

### Claude Code

Run this in a terminal, with your token in place of `YOUR_TOKEN`:

```
claude mcp add --transport http slate https://heyslate.ai/mcp --header "Authorization: Bearer YOUR_TOKEN"
```

Add `--scope user` to use it in every project. To keep the token out of a
shared file, put this in the project's `.mcp.json` and set `SLATE_TOKEN` in
your shell:

```json
{
  "mcpServers": {
    "slate": {
      "type": "http",
      "url": "https://heyslate.ai/mcp",
      "headers": { "Authorization": "Bearer ${SLATE_TOKEN}" }
    }
  }
}
```

Type `/mcp` in Claude Code to check that Slate is connected.

### Claude Desktop and claude.ai

**Sign in with Slate** is the easy way, above. To use a token instead:

**With request headers** (in beta, not in every account yet):

1. Go to **Customize**, **Connectors**, **Add custom connector**.
2. Name it Slate and paste `https://heyslate.ai/mcp` as the address.
3. Choose **No sign-in**. Under **Request headers**, add `authorization`
   with the value `Bearer ` and then your token (the word Bearer, a space,
   then the token).
4. Press **Add**.

**Careful on a Team or Enterprise plan.** An Owner adds connectors for the whole
organization, and a request header is shared by everyone in it. Don't put
your own token there: everyone in your Claude organization would read Slate
as you. Sign in with Slate instead (above), so each person reads as themselves.

**If your account has no Request headers** (Claude Desktop only): Desktop can
run a small bridge on your computer. It needs Node.js. In Claude Desktop, open
**Settings**, **Developer**, **Edit Config**, add this to the file, then
restart Claude Desktop:

```json
{
  "mcpServers": {
    "slate": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://heyslate.ai/mcp", "--header", "Authorization:${SLATE_AUTH}"],
      "env": { "SLATE_AUTH": "Bearer YOUR_TOKEN" }
    }
  }
}
```

### Your own scripts

Every route is a GET. Send the same token:

```
curl -H "Authorization: Bearer YOUR_TOKEN" https://heyslate.ai/api/v1/clients
```

`GET https://heyslate.ai/api/v1` lists the routes.

## 3. What each tool returns

Start with `list_clients` to get a client's id, then pass `client_id` to the
others. A list takes `limit` (1 to 200, 50 unless it says otherwise) and
`cursor`, and answers `data`, `next_cursor` (pass it back for more, or null at
the end) and `total`. The API answers the same JSON, plus `api_version`.

| Tool | API route | What comes back |
|---|---|---|
| `get_me` | `/me` | your email, your agencies and role in each, whether you're the platform owner, when the token expires |
| `list_clients` | `/clients` | each client you can see: `id`, `name`, `website`, `what_they_sell`, `agency`, `archived`. `include_archived` adds archived clients |
| `get_client` | `/clients/{client_id}` | `profile` (what they do, service lines, markets, headquarters, voice, call to action, price position, claims, firms that aren't competitors, reviewed), `personas` (buyers), `ai_tracking` (domain, also known as, place, engines, cadence, paused, competitors) |
| `list_ai_checks` | `/clients/{client_id}/ai-checks` | AI Tracking checks, newest first, 10 a page: `name`, `state` (finished, collecting, failed), dates, `numbers` and `change` since the check before |
| `get_ai_check` | `/clients/{client_id}/ai-checks/{check_id}` | one check: `numbers`, `change`, `previous_check` |
| `get_ai_sentiment` | `/clients/{client_id}/ai-checks/{check_id}/sentiment` | how one check's answers describe the client and each confirmed competitor: for each firm, `positive`, `mixed`, `negative`, `named` (just named), `judged` and `favorable_pct`, the same `by_engine` and `by_question_type`, and `quotes` in the answers' own words. `scored: false` until the check is scored |
| `list_rankings` | `/clients/{client_id}/rankings` | each tracked keyword in each place: `position` (null when not found), `previous_position`, `movement` (a number of places up, negative for down, `found`, `gone` or null), the ranking `url`, local pack and `local_pack_matched_by` (which tracking item recognized the business: `place_id`, `cid`, `website`, `phone` or `name`), AI Overview and whether it cited the client, and the Google Maps position from the same place (`maps_position`, `maps_found`, `maps_depth`, `maps_matched_by`; null when no Maps check was made). `location` narrows to places whose name contains it |
| `list_pages` | `/clients/{client_id}/pages` | each live page: `slate_call`, Slate's recommendation (`action`: keep, improve, combine or remove, with `confidence` and `why`; `combine_into_url`; `no_call` when the page type is off for the audit), `your_call`, the team's decision (its action, combine or redirect target, `no_redirect` when a removed page goes with no redirect on purpose, `why`, the team's reason for its decision, priority), `search_console` (clicks, impressions, position), `keyword`, `seo_score`, `words`. Filter with `slate_call` or `your_call` (keep, improve, combine, remove, new, none). An address that already redirects isn't a page here; it's in `list_redirects` |
| `list_redirects` | `/clients/{client_id}/redirects` | each address in the inventory that already redirects, as the newest crawl saw it: `from`, `to` and `to_url`, `target_status` (null when the crawl didn't read it), `code` and `permanent`, `hops` and `lands_url`, `flags` (dead end, chain, sends to home, temporary, still in search, each with `why`), `needs_fix`, `search_console` (clicks, impressions) and `your_call`. Flagged first. Also `counts`: redirecting, need a fix, chains, still getting clicks |
| `list_roadmap` | `/clients/{client_id}/roadmap` | each topic: `topic`, `keyword`, `cluster`, `intent`, `page_type`, `build` (new, improve, structural, candidate), `potential_traffic`, `search_volume`, `difficulty`, `top_page`, `phase`, `tier`, `priority`, `month`, `status` (to decide, in plan, improve, signed off, sent back, rejected). Also `clusters`. `include_rejected` adds rejected topics |
| `get_strategy` | `/clients/{client_id}/strategy` | the strategy draft as text, by section: who buys, their problems, priorities, point of view, campaigns, search demand, how it's measured, pace; and who signed it off |
| `list_guides` | `/clients/{client_id}/guides` | each page's newest guide: `page`, `url`, `keyword`, `created_at`, `signed_off` |
| `get_guide` | `/clients/{client_id}/guides/{guide_id}` | one guide as your team edited it: brief, opening, title tag, meta description, recommended address, outline, competitors, internal links, design direction, what's needed from the client, notes |
| `list_drafts` | `/clients/{client_id}/drafts` | each page's newest draft, thrown-away ones left out: `page`, `url`, `keyword`, `status` (proposed, accepted, editing, ready), `written_by` (slate or imported), `published`, `open_client_questions` |
| `get_draft` | `/clients/{client_id}/drafts/{draft_id}` | one draft as accepted so far: every person's edit and every accepted suggestion, nothing still waiting. `title`, `sections` (each `heading` and its `blocks`: paragraphs, subheads, lists, tables, callouts), `notes` (type, who it's for, priority, title, need, why) and `client_questions` with any `answer` |
| `list_mockups` | `/clients/{client_id}/mockups` | each shared review mockup, newest first: `label`, `link`, `draft_id`, who made it and when. `include_revoked` adds links that were turned off |
| `get_voice_guide` | `/clients/{client_id}/voice-guide` | the voice guide in full, sources named, and whether a person has `checked` it. `written: false` when there isn't one |
| `get_sitemap` | `/clients/{client_id}/sitemap` | the planned sitemap, in order: each page's `title`, `url`, `current_url`, `fate` (keep, improve, combine, remove, new), `page_type`, `parent_id`, `menu` (main, top, footer, none, hidden) with its label and parent, `reason`, `notes`, and on a page leaving the site `leaving` (`what`: remove or combine, `redirect_to`, the new address, and `no_redirect` for a 410 or noindex on purpose). Menu links to other sites come separately in `outside_links` (a `label`, the full `url`, `menu`), never in the pages. Also `built` and `locked`. 200 pages a page |
| `get_keyword_map` | `/clients/{client_id}/keyword-map` | each tracked Google search and AI prompt: `kind`, `type`, `text`, `owner` (the page, or "no page needed"), `role` (Main or Supporting), `status` (On target, Wrong page, Two pages, Page leaving, Proposed, No owner, Not yet, Planned, No page needed) and `why`, `google_rank`, and the `proposed` owner waiting for a person. Also `counts` by status, `last_scan` and `last_check`. `status` narrows to one |
| `list_campaigns` | `/clients/{client_id}/campaigns` | each paid campaign that spent in the last 30 days, as the campaign tracker shows it: `platform`, `name`, `status`, `goal`, budget (`daily`, `monthly`), `pace`, spend and results, the tracker's `flags` in plain words, and `ad_sets` with their own numbers and flags. Ad copy and previews are left out. `platform` (google, meta, linkedin) narrows to one |
| `list_budget_plans` | `/clients/{client_id}/budget-plans` | each saved budget calculator plan: `name`, `platform`, `inputs`, and `out`: `monthly_budget`, `linkedin_minimum` and `set_by_minimum`, `total`, `months`, `monthly_frequency`, `impressions_a_month`, `clicks_a_month` and `cost_per_click` (low and high), `break_even_clients`, `audience_too_small` |
| `get_weekly_brief` | `/clients/{client_id}/weekly-brief` | the newest weekly brief: `week`, the `brief` (biggest win, biggest risk, next moves) as a person reads it, and the `client_summary` as edited. `written: false` when there isn't one |
| `list_jobs` | `/clients/{client_id}/jobs` | the client's last 20 background jobs (guide builds, drafts, checks), newest first: `kind`, `status` (running, done, failed), `step`, `error`, who started it and when. `job_id` gives one |
| `get_method` | | Slate's own way of doing a piece of work: `refresh`, `plan`, `questions`, `guide` or `voice`. The `rules`, each with the Slate file it comes from (`from`), the `tools` to read first, and the whole method as `text`. Without a `name`, the list. Reads no client data |

In claude.ai and the Claude Desktop chat, `get_guide` also shows the guide as
a page in the conversation: the brief, the outline with each bullet and its
source, the questions for the client and the internal links, with Open in
Slate. It only shows the guide. Apps that can't show a page, Claude Code
included, get the same text as always.

### Slate's ways of working

Besides the tools, Slate gives Claude five of its own ways of working, so the
work comes out the way Slate does it: **Refresh a live page**, **Plan
content**, **Write the questions AI Tracking asks**, **Build a content guide**
and **Write in a client's voice**. Each lists the rules Slate's own screens
follow, the Slate file each comes from, and the tools to read first.

- In Claude Code they are slash commands: `/slate:refresh`, `/slate:plan`,
  `/slate:questions`, `/slate:guide` and `/slate:voice` (typed in full,
  `/mcp__slate__plan`). Add the client's name after it to have it named.
- In claude.ai and Claude Desktop, pick them from the connector's prompts, or
  ask Claude to follow Slate's way of planning content.
- Claude also fetches the right one itself with `get_method` when it starts
  that kind of work.
- Your own scripts can read them as resources at `slate://method/<name>`.

They read nothing about your clients and change nothing.

### Changes (only when you ticked "Also let it make changes")

A connection that only reads doesn't see these. Personal tokens and the API
(`/api/v1`) only ever read.

| Tool | What it does |
|---|---|
| `list_guide_lines` | (reads, for every connection) each line of a guide Edit mode can change, from the guide as saved now: `path`, `label`, `text` as it reads now, `edited`, `can_remove`. Outline sections show as `kind: whole`. A bullet added by hand has its own path, after its section's own bullets; sections added by hand show with no path |
| `add_guide_line` | adds a bullet to an outline section, as Edit mode's Add a bullet does. Name the section by its path (`guide.outline.N`) or its heading. The answer gives the new bullet's path. The same bullet twice in one section is refused |
| `edit_guide_line` | changes one line to `text`. The original stays underneath, so Show original and `restore_guide_line` bring it back |
| `remove_guide_line` | takes out a line marked `can_remove`, such as an outline section or a bullet |
| `restore_guide_line` | undoes a change to one line, so it reads as the guide was written. On a bullet added by hand, it puts back one that was taken out |
| `set_guide_direction` | saves the page's direction, up to 4,000 characters. It doesn't rebuild the guide: the answer links to the guide, where you rebuild it |
| `add_draft_question` | adds a question for the client to a draft's list, as Add a question does, with the section it's about if you name one. Refused while someone else is editing the draft |
| `make_mockup_link` | draws a draft as a page in the client's site design, with its numbered notes, and makes a share link, as Share on the draft screen does. Needs the site design read first (Read the site design on the draft screen). Its questions aren't tidied first, as Share does. The link carries the draft's sign-offs as they stand, as Share's link does. Costs nothing |
| `add_to_client_brain` | saves one fact from the chat to a client's Knowledge page as a suggestion: the line it fills (`target`), what it should say (`value`), where it came from (`source`: the chat, file or call), which tool you are (`from_tool`: claude, chatgpt or gemini) and the client's own words if there are any (`quote`). Say "save this to Slate" in the chat. It changes nothing on Knowledge until someone accepts it there. A line Knowledge already has, or one already waiting, isn't added twice. Costs nothing |
| `start_ai_check` | queues an AI Tracking check, as Run now does. **Spends money** (see below) |
| `start_rank_scan` | queues an organic rank scan, as Scan now does. Map grids are scanned in Slate. **Spends money** |
| `write_draft` | writes a page's first draft from its newest signed-off guide, as Write the first draft does, and saves it as yours. Follow it with `list_jobs`. A page that already has a draft is redrafted in Slate. **Spends money** |

### Building a guide (only when you ticked "Also let it make changes")

Claude takes the same steps as New guide, one call each. Before the first paid
step it checks the Knowledge a guide needs, as New guide does; to go on
without a row, tell Claude to, as Build without it does.

| Tool | What it does |
|---|---|
| `look_up_topic` | looks a topic up, as Find the angle does: Google's results, searched phrases and page traffic, from the United States or one of the client's markets. It shows on your New guide screen as your lookup. About $0.16. **Spends money** |
| `get_topic_lookup` | (reads, for every connection) the lookup as the keyword and pages steps show it: the phrases with searches and difficulty, Slate's suggested keyword and why, the pages that rank with the ones Slate would pick, how many to pick, and your client's own page on the topic, with Rework or Rewrite suggested. Claude shows you the choices; Slate's suggestion is never taken without your say |
| `search_example_pages` | searches Google with another phrase for more pages to learn from, as Search for examples with another phrase does. About 5 cents. **Spends money** |
| `paste_page_text` | sends the text of a page Slate can't read, as Paste its text does: at least 100 words. Slate keeps it as yours for 24 hours and reads it in place of the page when the build picks that page. Costs nothing |
| `build_guide` | builds the guide from the keyword and the pages you chose (up to your agency's count), as Build the guide does: it saves the page, with Rework, Rewrite or a new page beside the one you have, and starts reading the pages. The price is the one Build the guide shows for the same choices, the Brief's short version included. **Spends money** |
| `continue_guide_build` | goes on to the next step once the one before is done: writing the guide, then How to win this one. Costs nothing more. If the page gets a newer guide meanwhile, nothing more runs |

A finished build saves itself. When How to win this one finishes, Slate saves
the guide on the page and writes the Brief's short version, the way Build the
guide does on the screen: a page you have keeps its title and address, a live
page stays live, and if the page got a newer guide meanwhile, that one stays.
If How to win this one doesn't work, the guide is saved without it. If Claude
stops after the guide is written and before How to win this one starts, Slate
saves it the next time you or a teammate opens the client's guides, within 48
hours, the way it saves a build whose tab was closed. A build is yours: a
teammate's Claude can't go on with it.

**What spends money asks twice.** Called without `confirm_cost`, each tool
that spends answers with its price and what it buys, and buys nothing. Called again
with `confirm_cost` set to that price, it starts. If the price moved in
between, it says the new one and buys nothing. Claude is told to show you the
price and wait for your yes before the second call. Each is paid the way your
own press would be, and a check or scan is checked against the client's
monthly cap before anything is bought. An AI check is refused when Where the
buyer is doesn't end in a country, with the line Setup shows. A draft from Claude doesn't run the
news check the draft screen starts beside a first draft.

Every change is saved as you, under your role, and Slate's call log keeps
which guide and which line it changed.

### AI Tracking numbers

`numbers` are the ones a check kept when it closed. Each rate is
`{ pct, n, of }`:

- `named`: of the answers that put a firm forward, the share naming the client.
- `top`: of the answers naming the client, the share where it's first.
- `rec`: of the answers naming the client, the share putting it forward as a
  firm to hire.
- `voice`: the client's share of every firm mention, and the `rival` named most.
- `win`: head-to-head questions only.
- `by_engine`, `by_type`: `named` per AI engine and per question type
  (Compare is the win rate). `cited`: how often AI Overviews cites the
  client's site; never part of a rate. `firms`: each firm's counts and
  average position.

`recounted: true` means the check kept no numbers when it closed, so Slate
counted it now with today's lists. `change` gives the points since the check
before for `named`, `top`, `rec`, `voice` and `win`; `pts` is null when the
two can't be compared, and `why` says why.

AI visibility is a leading sign of making a buyer's shortlist. It isn't tied
to deals, leads or revenue.

## 4. When something goes wrong

Errors are `{ "error": { "code", "message" } }` with a plain sentence. In
Claude, a tool error comes back as the tool's answer.

| Status | Code | What to do |
|---|---|---|
| 401 | `no_token`, `bad_token`, `unknown_token` | Send the header `Authorization: Bearer slt_...` with the whole token |
| 401 | `revoked`, `expired` | Make a new token |
| 404 | `no_client` | The id is wrong, or the client isn't one you can see |
| 405 | `read_only` | The API only reads. Use GET |
| 429 | `busy` | More than 120 calls in a minute on one token. Wait a minute |
| 503 | `not_configured`, `read_failed` | Try again in a minute |

Every call is logged with the token, the tool and the client.
