# Armorial documentation All pages of https://armorial.io/docs as Markdown, in reading order. # Armorial docs > How to set up a brandbook in Armorial, connect Claude, ChatGPT, Grok, Cursor and other AI tools to it, and get on-brand work back. Source: https://armorial.io/docs Armorial keeps each brand in one place: a brandbook your team browses as a brand portal, and that AI tools read through an MCP connection. Change the brandbook once, publish, and people and AI tools read the same version. ## Start here - [Getting started](https://armorial.io/docs/getting-started): create a brand, fill the brandbook and publish it. - [Connect your AI](https://armorial.io/docs/connect): the MCP server URL, and how a connection works. - [Prompt guide](https://armorial.io/docs/prompts): prompts that get on-brand results, and instructions to paste into a Claude Project or custom GPT. ## Connect a tool | Tool | Sign-in | Guide | | --- | --- | --- | | Claude (web, desktop, mobile) | OAuth | [Claude](https://armorial.io/docs/connect/claude) | | ChatGPT | OAuth | [ChatGPT](https://armorial.io/docs/connect/chatgpt) | | Grok (grok.com) | OAuth | [Grok](https://armorial.io/docs/connect/grok) | | Grok Bot | OAuth or API key | [Grok Bot](https://armorial.io/docs/connect/grok-bot) | | Claude Code | OAuth | [Claude Code](https://armorial.io/docs/connect/claude-code) | | VS Code | OAuth | [VS Code](https://armorial.io/docs/connect/vscode) | | Cursor | API key | [Cursor](https://armorial.io/docs/connect/cursor) | | Scripts and other MCP clients | API key or OAuth | [Other clients](https://armorial.io/docs/connect/other) | ## Reference - [Tools](https://armorial.io/docs/tools): the seven read-only tools the MCP server offers. - [Skills](https://armorial.io/docs/skills): three workflows the server teaches your AI. - [API keys](https://armorial.io/docs/api-keys): keys for Cursor and scripts. - [Exports](https://armorial.io/docs/exports): `brand.md`, design tokens and the live link. - [Security and access](https://armorial.io/docs/security): what an AI tool can and can't see. - [Troubleshooting](https://armorial.io/docs/troubleshooting) ## For AI assistants Every page here is also plain Markdown: add `.md` to its URL (for example [/docs/connect.md](https://armorial.io/docs/connect.md)). The full index for language models is at [/llms.txt](https://armorial.io/llms.txt), and all docs in one file at [/llms-full.txt](https://armorial.io/llms-full.txt). --- # Getting started > Create a brand in Armorial, fill its brandbook, publish it and share the brand portal. Source: https://armorial.io/docs/getting-started ## 1. Create an account Sign in at [app.armorial.io](https://app.armorial.io/login) with an email link, a password or Google. Your first sign-in creates a free workspace. A workspace holds your brands, your team and your billing. ## 2. Create a brand On the dashboard, click **New brand**. Start from **a website** (Armorial reads the site and fills in what it finds, see [Start from a website](https://armorial.io/docs/from-a-website)), the **starter brandbook** (every usual page, with guidance in each block), one of your templates, or a **blank** brandbook. ## 3. Fill the brandbook A brandbook has chapters, pages and blocks. There are two kinds of blocks: - **Brand blocks** hold the brand's data in fixed fields: colour palette, typefaces, type scale, logos and their usage rules, tone of voice, writing rules, do's and don'ts, facts and more. AI tools read these as data, wherever you put them in the brandbook. - **Free blocks** are for everything else: text, images, quotes, video, accordions, embeds, code and buttons. You can arrange pages any way you like. AI tools get an index of your pages first and read only what they need, so the structure doesn't have to follow a template. **Tip:** the more you put in brand blocks (especially tone of voice, writing rules and do's and don'ts), the better AI tools follow the brand. A "say instead" list and banned words make a visible difference. ## 4. Publish Click **Publish…**. Every publish is a version (1.0, 1.1, 2.0…) with an optional note. The brand portal, the exports and AI tools always read the latest published version, never your draft. ## 5. Share - **Brand portal:** every brand has a portal at `https://{slug}.armorial.page`. In the brand's settings, choose who may open it: anyone, anyone with a password, or only people with access. - **People:** invite your team to the workspace, or invite a client or freelancer as a guest on one brand. - **Parts of a brandbook:** chapters, pages and files can be open to everyone, to everyone with access to the brand, or only to some people (audiences). - **AI tools:** see [Connect your AI](https://armorial.io/docs/connect). ## Plans The free plan has one brand with 1 GB of storage. The paid plan is $29 per month (or $290 per year) per workspace, with up to 100 brands and 100 GB. The workspace owner upgrades under **Workspace → Plan and billing**; payment goes through Paddle, our reseller, which handles VAT and invoices (businesses add their VAT number at checkout). Switch between monthly and yearly there too, and add 100 brands and 100 GB at a time for $29 a month each (up to 1,000 brands). Going back to fewer blocks works once the brands and files fit. Going back to free never deletes anything. See [pricing](https://armorial.io/#pricing). --- # Start from a website > Make a new brand from a website. Armorial fills in colours, fonts, logo, story, voice and facts, each with where it was found, for you to check. Source: https://armorial.io/docs/from-a-website Paste a website address and Armorial makes a new brand from the starter brandbook, with what the site shows already filled in. You check every value before anything goes live. ## How to start 1. On the dashboard, click **New brand** and pick **A website**. 2. Paste the address, for example `client-website.com`, and click **Create brand from website**. 3. Wait about half a minute. You see each step while Armorial reads the site; then the new brand opens in the editor. Only owners, admins and editors can do this, and the workspace needs a free brand slot. ## What Armorial reads - The homepage and up to 4 other pages it picks from the site's own links, such as about, services, a typical article or contact. - The site's stylesheets, for colours and fonts. - Nothing behind a login, and nothing a site's `robots.txt` asks bots to skip. Our visitor is called `ArmorialBot`. ## What it fills in | Where | What | How | | --- | --- | --- | | Colour palette | Brand colours with HEX and a role (primary, secondary, accent, neutral) | Measured from the CSS; a model picks the roles | | Typefaces | Heading and body fonts, weights, Google or Adobe source | From the CSS and font links | | Primary logo | The logo from the site's header, or its icon | From the page | | Brand settings | Tagline, summary, language | Language from the page; the rest written by a model | | Master story | Elevator pitch and short version | Written by a model from the page text | | Tone of voice | A summary and up to 4 traits, each with an example sentence from the site | Written by a model | | Approved facts | Claims and figures, products and prices the site states, and its official links | Facts by a model, links from the page | Text is written in English. Quotes stay in the site's own language. Everything else starts empty, with guidance. ## Check what was found Every found value has a note: the page it came from, a quote or the CSS rule, and a confidence (high, medium or low). - **Accept** keeps the value and removes the note. - **Reject** empties the value. Armorial never guesses again. - **Accept all high confidence** at the top of the editor accepts those in one click. Medium and low ones need a look. - Editing a value yourself also removes its note. Nothing is live until you publish. Publishing keeps the values as they are and clears the notes: the portal, the exports and AI tools never see the notes. ## Limits | Plan | Website reads | | --- | --- | | Free | 3 in total | | Paid | 100 a month per block of 100 brands, at most 50 a day, and 10 a month for the same site | The same address read again within 24 hours reuses the earlier reading and doesn't count. The dialog shows how many reads you have left. ## When it doesn't work - **"The site refused our visit"**: the site blocks automated visitors. Start from the starter brandbook instead. - **"This site asks automated visitors not to read it"**: its `robots.txt` says so, and we respect that. - **Little or no text**: some sites build their pages with JavaScript only. Colours, fonts and the logo still come through; fill in the text yourself. - **Limit reached**: the message says when reads reset. The text the site contains is treated as data, never as instructions: the model that writes the draft can't follow links, run tools or act on anything the page says. --- # Prompt guide > Prompts that get on-brand results from Claude, ChatGPT, Grok and other AI tools connected to Armorial, plus instructions to paste into a Claude Project or custom GPT. Source: https://armorial.io/docs/prompts With Armorial connected, you don't paste brand guidelines into a prompt. You name the brand and say what you need; the AI tool reads the rules itself. ## What makes a good prompt 1. **Name the brand.** "for Acme" is enough. With several brands connected, the tool otherwise has to ask. 2. **Say the channel and the reader.** "a LinkedIn post for HR managers" beats "a post". 3. **Ask for a check.** "Check it against Acme's writing rules before you answer" makes the tool compare its draft with the do's and don'ts. 4. **Ask for sources when it matters.** "Link the rule you followed" returns portal links your team can check. 5. **Say what it may not invent.** "Only use facts from the brandbook" stops made-up numbers. ## Writing > Write a LinkedIn post of at most 120 words for Acme announcing our new office in Ghent. Follow Acme's tone of voice and writing rules, and check the post against them before you answer. > Rewrite this product description in Acme's voice for the webshop. Keep the facts, change the tone: … > Write three subject lines for Acme's newsletter about the spring sale. Use the tone for newsletters from the brandbook. ## Design > I'm making a dark slide for Acme. Which logo do I use, and which colours for the title and the body text? > Give me Acme's colours and fonts as CSS custom properties, and the Tailwind theme to go with them. ## Review > Is this ad copy on brand for Acme? List what breaks a rule, most serious first, with a link to the rule, then give a fixed version: … > Check this press release against Acme's names and terms and its banned words. ## Questions about the brand > What does Acme's brandbook say about photography of people? > Which sub-brands does Acme have, and when do I use which logo? If the brandbook doesn't cover something, the tool should say so instead of guessing. If it guesses, add "Only use what the brandbook says." ## Instructions for a Claude Project or custom GPT Paste this into the instructions of a Claude Project or a custom GPT that works on one client, with Armorial connected. Replace Acme with the brand's name. ```text You work on the brand Acme. Its brand guidelines are in Armorial (the connected MCP server). Before any task for Acme: 1. Call get_brand_overview(brand: "Acme"). 2. For writing, call get_voice and follow it: tone, tone for this channel, say-instead pairs, banned words, names and terms, writing rules. 3. For anything visual, call get_visual_identity, and get_logo for the right logo file. 4. For other questions, use search and fetch. Before you answer, check your draft against every "must" rule and the banned words, and fix what breaks them. Only use facts the brandbook gives; if something isn't covered, say so. Write in the brand's language unless I ask otherwise. ``` ## For coding agents In `CLAUDE.md`, `AGENTS.md` or Cursor rules: ```markdown This project is for the brand Acme. Before writing UI copy or styling, read the brand with the Armorial MCP (get_brand_overview, then get_voice or get_visual_identity) and follow it. Use the colour and font values exactly as returned. ``` --- # Connect your AI > Connect Claude, ChatGPT, Grok, Cursor, VS Code or any MCP client to your brands with one URL. Source: https://armorial.io/docs/connect Armorial is an MCP server (Model Context Protocol, the open standard AI tools use to read outside data). Every tool connects to the same URL: ```text https://mcp.armorial.io/mcp ``` The URL is the same for everyone. Which brands a tool can read follows from how it signs in, not from the URL. ## Two ways to sign in - **OAuth (Claude, ChatGPT, Grok, Grok Bot, Claude Code, VS Code).** You add the URL, the tool opens Armorial, you sign in, pick the workspace and the brands it may read, and allow it. Nothing to copy. - **API key (Cursor, scripts, tools without OAuth).** Create a key on the [AI access page](https://app.armorial.io/ai) and paste it into the tool's config. See [API keys](https://armorial.io/docs/api-keys). ## What a connected tool can do - It **reads** brands. It can't change, publish or delete anything. - It reads only **published versions**, never drafts. - It sees **only what you can see**, limited to the brands you picked. If you lose access to a brand, the tool loses it at once. - File links it gets (logos, images) are valid for 24 hours. ## Setup per tool - [Claude](https://armorial.io/docs/connect/claude) - [ChatGPT](https://armorial.io/docs/connect/chatgpt) - [Grok](https://armorial.io/docs/connect/grok) - [Grok Bot](https://armorial.io/docs/connect/grok-bot) - [Claude Code](https://armorial.io/docs/connect/claude-code) - [VS Code](https://armorial.io/docs/connect/vscode) - [Cursor](https://armorial.io/docs/connect/cursor) - [Other clients and scripts](https://armorial.io/docs/connect/other) ## Disconnect Open the [AI access page](https://app.armorial.io/ai) and click **Disconnect** next to the tool, or **Delete** next to a key. It stops working immediately. --- # Connect Claude > Add Armorial as a custom connector in Claude (web, desktop and mobile). Source: https://armorial.io/docs/connect/claude Works on Claude's web, desktop and mobile apps. A connector you add on one is available on the others. ## Steps 1. In Claude, open **Settings → Connectors** and choose **Add custom connector**. 2. Name it `Armorial` and paste the URL: ```text https://mcp.armorial.io/mcp ``` 3. Click **Connect**. Armorial opens: sign in, pick the workspace and the brands Claude may read, then click **Allow**. 4. In a chat, make sure the Armorial connector is switched on (the tools menu under the message box). On a Team or Enterprise plan, an owner may need to add the connector for the organization first. ## Try it > Write a LinkedIn post for Acme announcing our new office in Ghent. Follow Acme's tone of voice. Claude reads the brand overview and the tone of voice first, then writes. More in the [prompt guide](https://armorial.io/docs/prompts). ## Skills Claude also picks up Armorial's [skills](https://armorial.io/docs/skills) from the connector, where your plan supports them: step-by-step workflows for on-brand writing, visual work and brand reviews. ## Use it in a Project For a client you work on every day, create a Claude Project, switch the connector on, and paste the [project instructions](https://armorial.io/docs/prompts#instructions-for-a-claude-project-or-custom-gpt) from the prompt guide. --- # Connect ChatGPT > Add Armorial to ChatGPT as a connector with the MCP server URL. Source: https://armorial.io/docs/connect/chatgpt ## Steps 1. In ChatGPT, open **Settings → Apps & Connectors**. Depending on your plan, you may first have to turn on **Developer mode** under **Advanced settings**, or ask your workspace admin to add the connector. 2. Create a new connector, name it `Armorial` and paste the URL: ```text https://mcp.armorial.io/mcp ``` 3. Choose **OAuth** as authentication and save. Armorial opens: sign in, pick the workspace and the brands ChatGPT may read, then click **Allow**. 4. In a chat, pick Armorial from the tools or connectors menu. ## Deep research and search Armorial's `search` and `fetch` tools follow the shape ChatGPT expects, so ChatGPT can also use your brandbook as a source in deep research. ## Try it > Using Armorial, check this email against Acme's writing rules and fix what breaks them: … ## Use it in a custom GPT Paste the [instructions for a custom GPT](https://armorial.io/docs/prompts#instructions-for-a-claude-project-or-custom-gpt) from the prompt guide, and connect Armorial to it. --- # Connect Grok > Add Armorial to Grok on grok.com as a custom connector with the MCP server URL. Source: https://armorial.io/docs/connect/grok ## Steps 1. Go to [grok.com/connectors](https://grok.com/connectors) and choose **New Connector → Custom**. 2. Paste the URL: ```text https://mcp.armorial.io/mcp ``` 3. Grok opens Armorial: sign in, pick the workspace and the brands Grok may read, then click **Allow**. 4. In a chat, make sure the Armorial connector is switched on. On **Grok Business or Enterprise**, an admin may first have to add the connector for the team in the xAI console (**Connectors → Add Connector**, with the same URL). Members then connect on grok.com/connectors. Menu names in Grok change from time to time. If a step looks different, look for "connectors" or "custom MCP" in Grok's settings. ## Try it > Using Armorial, write three tweets for Acme announcing the spring sale. Follow Acme's tone of voice and stay under 280 characters each. ## From the xAI API Building with the xAI API instead? Add Armorial as a remote MCP tool with an [API key](https://armorial.io/docs/api-keys): ```json { "type": "mcp", "server_label": "armorial", "server_url": "https://mcp.armorial.io/mcp", "authorization": "arm_your_key" } ``` The `authorization` value is sent as the `Authorization` header. If your setup sends it without the `Bearer ` prefix, put `Bearer arm_your_key` there instead. --- # Connect Grok Bot > Add Armorial to Grok Bot as a custom remote connector, with sign-in or an API key. Source: https://armorial.io/docs/connect/grok-bot Grok Bot works on its own computer, so it connects to Armorial's online MCP server like any other tool. ## Steps 1. In the Grok Bot desktop app, open **Connect apps** and choose **Add a custom connector**. 2. Name it `Armorial`, choose the type **Remote HTTPS** and paste the server URL: ```text https://mcp.armorial.io/mcp ``` 3. Leave **OAuth Client ID** empty and add it. Grok Bot shows a **Connect** card: sign in to Armorial, pick the workspace and brands, then click **Allow**. You can also ask the Bot in a chat: "Add the custom MCP server https://mcp.armorial.io/mcp". Say "custom MCP server", so it doesn't look for a plugin in its catalog. ## With an API key instead If the sign-in doesn't finish, or for a Bot that runs unattended, use an [API key](https://armorial.io/docs/api-keys). In the connector's **HTTP headers**, add: ```text Authorization: Bearer arm_your_key ``` Put the key in the header field, never in a chat message. ## On a team If the connector shows "Disabled by team admin", an admin has to allow the server in the team's plugin and MCP settings. ## Try it > Every Monday, read Acme's tone of voice from Armorial and draft this week's LinkedIn post about our newest case study. --- # Connect Claude Code > Add the Armorial MCP server to Claude Code with one command. Source: https://armorial.io/docs/connect/claude-code ## Steps 1. Run: ```bash claude mcp add --transport http armorial https://mcp.armorial.io/mcp ``` Add `--scope project` to share it with everyone working in the repository (it is saved in `.mcp.json`), or `--scope user` for all your projects. 2. In Claude Code, run `/mcp`, choose `armorial` and sign in. Pick the workspace and brands, then click **Allow**. ## Try it > Use Armorial's design tokens for Acme to update the colours and fonts in `src/styles/theme.css`. > Write the empty-state copy for the dashboard in Acme's tone of voice. ## Tip: put it in CLAUDE.md Add a line to the project's `CLAUDE.md` so Claude Code uses the brand without being asked: ```markdown This project is for the brand Acme. Before writing UI copy or styling, read the brand with the Armorial MCP (get_brand_overview, then get_voice or get_visual_identity) and follow it. ``` --- # Connect VS Code > Add the Armorial MCP server to VS Code (GitHub Copilot agent mode). Source: https://armorial.io/docs/connect/vscode ## Steps 1. Add this to `.vscode/mcp.json` in your project (or to your user configuration with **MCP: Open User Configuration**): ```json { "servers": { "armorial": { "type": "http", "url": "https://mcp.armorial.io/mcp" } } } ``` 2. Start the server from the file (the **Start** link above it) or with **MCP: List Servers**. VS Code asks you to sign in: pick the workspace and brands in Armorial, then click **Allow**. 3. Open Copilot Chat in **Agent** mode. The Armorial tools appear in the tools list. ## Try it > #get_visual_identity for acme: turn its palette into Tailwind theme colours. --- # Connect Cursor > Add the Armorial MCP server to Cursor with an API key. Source: https://armorial.io/docs/connect/cursor Cursor connects with an API key. ## Steps 1. Create a key on the [AI access page](https://app.armorial.io/ai): **New key**, give it a name such as "Cursor on my laptop", choose the brands and an expiry. Copy the key: you only see it once. 2. Add this to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (one project): ```json { "mcpServers": { "armorial": { "url": "https://mcp.armorial.io/mcp", "headers": { "Authorization": "Bearer arm_your_key" } } } } ``` 3. Open **Cursor Settings → MCP** and check that `armorial` is on and shows its tools. Don't commit a project `.cursor/mcp.json` that contains a key. Use the user-level file, or add the project file to `.gitignore`. ## Try it > Read Acme's visual identity from Armorial and apply its colours and fonts to this landing page. --- # Other clients and scripts > Connect any MCP client, or call the Armorial MCP server from your own code. Source: https://armorial.io/docs/connect/other Any client that supports remote MCP servers over Streamable HTTP can connect to: ```text https://mcp.armorial.io/mcp ``` ## With OAuth Clients that support MCP authorization find everything on their own: an unauthenticated request gets a `401` with a `WWW-Authenticate` header that points to `https://mcp.armorial.io/.well-known/oauth-protected-resource`. Armorial supports client ID metadata documents (CIMD), dynamic client registration and PKCE (S256). Scopes: `brands:read` and `offline_access`. ## With an API key Send the key as a bearer token: ```bash curl https://mcp.armorial.io/mcp \ -H "Authorization: Bearer arm_your_key" \ -H "Content-Type: application/json" \ -H "Accept: application/json, text/event-stream" \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_brands","arguments":{}}}' ``` The server is stateless: every request stands on its own, no session needed. Up to 120 requests a minute per key or connection. ## Without MCP For a one-off, every published brand also has [exports](https://armorial.io/docs/exports): the whole brandbook as one Markdown file (`brand.md`) and its design tokens as CSS or JSON. --- # Tools > Reference for the seven read-only tools of the Armorial MCP server, with parameters and examples. Source: https://armorial.io/docs/tools All tools are read-only and work on the latest published version of a brand. Every answer contains readable Markdown for the model and structured data for clients that use it, with portal links to the source. `brand` takes the brand's slug (`acme`) or name (`Acme`). A wrong value returns the brands you can use. ## list_brands The brands this connection can read: slug, name, tagline, parent brand, live version and portal URL. Only needed when the brand isn't named. ## get_brand_overview **Start here.** The core of the brand (tagline, summary, language, main colours, fonts, logo) and an index of the brandbook: every chapter and page with its id, path, block types, length and a one-line summary. | Parameter | | | | --- | --- | --- | | `brand` | required | Slug or name | | `depth` | optional | `pages` (default) or `blocks` to also list every block id | ## get_voice Everything needed to write as the brand: tone of voice and traits, tone per context, "don't say / say instead", writing rules (spelling, capitals, numbers and dates), names and terms, preferred and banned words, principles, and the voice and writing do's and don'ts. | Parameter | | | | --- | --- | --- | | `brand` | required | Slug or name | | `response_format` | optional | `concise` (default) or `detailed` | ## get_visual_identity The visual identity as data: colour palette (HEX, RGB, CMYK, Pantone and role), typefaces with weights and fallbacks, the type scale, logo versions and usage rules, photography, and the visual do's and don'ts. Same parameters as `get_voice`. ## get_logo A download link to the right logo file. | Parameter | | | | --- | --- | --- | | `brand` | required | Slug or name | | `background` | optional | `light` or `dark` (dark picks the inverse version) | | `variant` | optional | `primary`, `mono`, `inverse` or a variant's name | | `file_type` | optional | Preferred format: `svg`, `png`, `pdf`… | Example: `get_logo(brand: "acme", background: "dark", file_type: "png")`. Links are valid for 24 hours. ## search Searches the text of every page, block and file the connection can read. Returns `{results: [{id, title, url, path, snippet}]}`. When nothing matches every word, the answer says so. | Parameter | | | | --- | --- | --- | | `query` | required | Words to look for | | `brand` | optional | Search one brand | | `limit` | optional | 1 to 25, default 8 | ## fetch Reads one item by id from the index or a search result. Returns `{id, title, text, url, metadata}`. - A page (`acme/page/…`): its blocks as Markdown, with block ids. Long pages are cut at a block boundary, with the ids of the remaining blocks. - A block (`acme/block/…`) - A file (`acme/file/…`): name, usage note and download links. ## Recommended order 1. `get_brand_overview` 2. `get_voice` for writing, `get_visual_identity` and `get_logo` for design 3. `search` and `fetch` for anything else The server sends this order to every client as its instructions. --- # Skills > Three workflows the Armorial MCP server publishes as skills: on-brand writing, on-brand visuals and brand review. Source: https://armorial.io/docs/skills Skills are short instructions that teach an AI tool a workflow. Armorial's MCP server publishes three, through the MCP Skills extension. Clients that support it (such as Claude) load them by themselves; there is nothing to install. | Skill | What it does | | --- | --- | | `on-brand-writing` | Reads the overview and the voice, writes in the brand's language and tone, then checks the draft against every "must" rule, banned word and "say instead" before answering | | `on-brand-visual` | Picks colours by role, uses the brand's fonts with their fallbacks, gets the right logo for the background, and keeps clear space and minimum size | | `brand-review` | Checks a draft rule by rule, most serious first, quotes the passage, names the rule with its link, and gives a fixed version | The skills are the same for every brand: the brand's content comes from the tools, so a change to your brandbook never needs a new skill. ## Use them by hand For a client without skill support, download a skill and add it to your tool (for example as a Claude skill, or pasted into a project's instructions): - [on-brand-writing/SKILL.md](https://mcp.armorial.io/skills/on-brand-writing/SKILL.md) - [on-brand-visual/SKILL.md](https://mcp.armorial.io/skills/on-brand-visual/SKILL.md) - [brand-review/SKILL.md](https://mcp.armorial.io/skills/brand-review/SKILL.md) --- # API keys > Create, scope and revoke Armorial API keys for Cursor, scripts and tools without OAuth. Source: https://armorial.io/docs/api-keys API keys are for tools that can't sign in with OAuth, such as Cursor and your own scripts. Claude, ChatGPT, Grok, Claude Code and VS Code don't need one; Grok Bot can use either. ## Create a key 1. Open the [AI access page](https://app.armorial.io/ai) in the workspace the key is for. 2. Click **New key**, give it a name you'll recognise later, and choose: - **Brands:** all brands in the workspace (also ones added later), or only the ones you pick. - **Expires:** in 30 days, 90 days, a year, or never. 3. Copy the key. It starts with `arm_` and you only see it once. ## How a key behaves - A key acts as **you**: it can never read more than you can, and if you lose access to a brand, the key does too. - Keys are read-only and only see published versions. - Armorial stores a hash of the key, never the key itself. A lost key can't be shown again: delete it and create a new one. - You can have up to 25 keys. ## Use it Send it as a bearer token: `Authorization: Bearer arm_…`. See [Cursor](https://armorial.io/docs/connect/cursor), [Grok Bot](https://armorial.io/docs/connect/grok-bot), the [xAI API](https://armorial.io/docs/connect/grok#from-the-xai-api) and [Other clients](https://armorial.io/docs/connect/other). ## Revoke it Click **Delete** next to the key on the AI access page. It stops working immediately. --- # Exports > Get a published brand as one Markdown file (brand.md) or as design tokens in CSS and JSON. Source: https://armorial.io/docs/exports Every published brand has three exports at its portal address. They contain what the reader may see, from the latest published version. | Export | URL | For | | --- | --- | --- | | `brand.md` | `https://{slug}.armorial.page/brand.md` | The whole brandbook as one Markdown file, for tools without MCP or a quick paste | | `tokens.css` | `https://{slug}.armorial.page/tokens.css` | Colours and fonts as CSS custom properties | | `tokens.json` | `https://{slug}.armorial.page/tokens.json` | The same tokens in the W3C design tokens format | ## Protected brands For a brand that isn't public, the exports need a **live link**: in the brand's settings under **Export → Live links**, copy the link (it ends in `?token=…`). A live link shows what everyone with access to the brand may see; parts open to only some people stay out. **Reset live links** makes the old ones stop working. ## brand.md or MCP? `brand.md` is a snapshot you paste or attach. The MCP connection is better for daily use: the AI tool reads only what it needs, always gets the latest version, and only what the person behind it may see. --- # Custom domains > Put a brand portal on your own subdomain, like brand.yourcompany.com, on the paid plan. Source: https://armorial.io/docs/custom-domains On the paid plan every brand's portal can also live on your own subdomain, for example `brand.yourcompany.com`. The portal keeps working at `{slug}.armorial.page` as well. ## Set it up 1. In Armorial, open the brand, go to **Settings & export → Custom domain**, type the subdomain and click **Add domain**. You need to be an owner or admin of the workspace. 2. At your DNS provider, add the record Armorial shows: | Type | Name | Value | | --- | --- | --- | | CNAME | `brand.yourcompany.com` | `domains.armorial.page` | 3. Wait. Armorial checks every 10 minutes, or click **Check now**. Once the record is visible, the certificate is issued automatically, usually within 15 minutes. The status then says **Active**. ## Good to know - **Subdomains only.** A root domain (`yourcompany.com`) can't point to Armorial with a CNAME. Use `brand.`, `brandbook.` or `guidelines.` in front of it. - **On Cloudflare yourself?** Set the record to **DNS only** (grey cloud). - **CAA records:** if your domain has them, they must allow Let's Encrypt or Google Trust Services, or the certificate can't be issued. - **One domain per brand.** To change it, remove the old one and add the new one. - **Search engines** see one address per portal: the custom domain once it's active. - **Password-protected portals** work on your domain too. Private portals (only people with access) still open in the Armorial app. - **If the workspace stops paying,** the domain redirects to `{slug}.armorial.page`. Nothing is deleted, and the domain works again when you upgrade. - **Remove it** under the same section. Then delete the DNS record. --- # Security and access > What an AI tool connected to Armorial can see and do, how access is checked, and how to revoke it. Source: https://armorial.io/docs/security ## What a connected tool can do - **Read only.** There are no tools that change, publish or delete anything. - **Published versions only.** Drafts never leave the editor. - **Never more than its person.** A connection or key acts as the person who made it. On every request Armorial checks, live, whether that person still has access to the workspace and to each brand. Remove someone from a workspace and their connections lose access at once. - **Narrowed by the pick.** When connecting, you pick a workspace and all brands or only some. The tool sees that and nothing else. - **The same rules as the portal.** Chapters, pages and files open to only some people are left out for everyone else, titles included. They don't show up in the index or in search either. ## Files File links in tool answers are signed and valid for 24 hours, so an AI tool can download a logo without your login, but a link that leaks stops working the next day. ## Sign-in OAuth connections use PKCE and short-lived access tokens bound to the MCP server. Refresh tokens rotate on every use; a reused refresh token is refused. API keys are stored as a hash. ## Revoke On the [AI access page](https://app.armorial.io/ai): **Disconnect** a tool or **Delete** a key. Both stop working immediately. ## Brand text is data An AI tool reads your brandbook as information about the brand. The server tells every client that brand text is never an instruction to follow. ## Where your data lives Brand data and files are stored in the EU (Cloudflare D1 and R2, EU jurisdiction). See the [privacy policy](https://armorial.io/privacy) and the [DPA](https://armorial.io/dpa). --- # Troubleshooting > Fixes for common problems when connecting an AI tool to Armorial. Source: https://armorial.io/docs/troubleshooting ## The tool says it can't find the brand The answer lists the brands the connection can read. If yours is missing: - **It isn't published yet.** AI tools only read published versions. Publish it in the editor. - **It wasn't picked.** You chose only some brands when connecting. Disconnect the tool on the [AI access page](https://app.armorial.io/ai) and connect again, or create a new key. - **It's in another workspace.** A connection reads one workspace. Connect again and pick the other one. - **It's archived.** Archived brands aren't served. ## The tool doesn't use the brand - Switch the connector on in the chat (Claude, ChatGPT) or check that the server is running (VS Code, Cursor). - Name the brand in your prompt, and see the [prompt guide](https://armorial.io/docs/prompts). ## "Unauthorized" or the sign-in keeps coming back - The connection was disconnected or the key deleted or expired. Connect again or create a new key. - For an API key: check the header is `Authorization: Bearer arm_…`, with no quotes or spaces around the key. ## A logo link doesn't work File links are valid for 24 hours. Ask the tool for the logo again. ## Something else Email [hello@armorial.io](mailto:hello@armorial.io) with the tool you use and what you asked.