# Connect an AI assistant with MCP

> Connect Claude, ChatGPT, Claude Code, Cursor or any MCP client to KNWN, so the assistant can read your AI visibility data and, when you allow it, act on it.

https://knwn.app/docs/mcp
Updated 26 November 2026 · 8 min read

## What the KNWN MCP server does

MCP (Model Context Protocol) is an open standard that lets an AI assistant use tools in other apps. KNWN’s MCP server gives your assistant 66 tools: it can report how AI engines mention and cite your brand, open the answers and sources behind every number, set up tracking, collect new answers, and turn the evidence into briefs, drafts and tasks.

|  |  |
| --- | --- |
| Endpoint | `https://mcp.knwn.app` |
| Transport | Streamable HTTP. Each request is one `POST` with one JSON response. |
| Sign-in | OAuth (recommended), or an MCP key for one project |
| Access | Read only by default. Changes and paid AI work only when you allow them. |
| Tools | 32 read tools and 34 write tools, 12 ready-made prompts and reference resources |
| Rate limit | 300 requests per minute for each connection |
| Plans | Every plan includes MCP, and so does the free trial. Growth and Scale add the REST API. |
| Cost | Connecting and reading are free. Collecting answers and AI drafting use the same credits and limits as the app. |

- [Browse every tool](https://knwn.app/docs/mcp-tools)
- [See limits and errors](https://knwn.app/docs/mcp-limits)

## What you can ask

Once KNWN is connected, ask in plain language. The assistant chooses the tools, and your client shows each call. KNWN tells the assistant to ask you first before anything that costs credits or sends work outside KNWN.

| You ask | What the assistant does |
| --- | --- |
| “How visible were we in AI answers this week, and what changed?” | `visibility_report` for the last 7 days, compared with the 7 days before |
| “Compare us with our competitors in ChatGPT and Perplexity.” | `brand_report` for those engines, grouped by `engine` |
| “Which sources do AI engines cite when competitors appear and we don’t?” | `citation_report` with `gap_only`, then `get_answer` to quote the evidence |
| “Show me answers that mention Acme but not us.” | `list_answers` with the filter `brand = Acme and brand != own` |
| “What are people asking AI assistants about our category?” | `search_volume` grouped by `intent`, and `fanout_report` for the searches engines ran |
| “Is AI traffic reaching our website?” | `ai_traffic_report` for AI crawler visits and referrals, `analytics_report` for Google Analytics sessions and conversions |
| “Add ten questions about pricing and run a scan.” | `suggest_prompts`, `create_prompts` with a preview, then `preview_scan`. It asks you before `start_scan`, because collecting answers uses credits. |
| “Write a draft for our biggest citation gap.” | `citation_report`, `create_source_brief`, then `draft_article` once you approve |
| “Did our launch on 3 March move our visibility?” | `save_annotation` on that date, then `brand_report` by `week` |

The server also offers 12 ready-made prompts, such as Weekly visibility review and Competitor matrix. Clients that support MCP prompts list them in their prompt or slash-command menu; in Claude Code, type `/mcp__knwn__weekly_visibility`.

- [See step-by-step recipes](https://knwn.app/docs/mcp-guide)

## Before you connect

- A KNWN account and at least one project. An assistant can use the projects you own. Projects shared with you can only be connected by their owners.
- An assistant that can add a remote MCP server by URL. Claude, ChatGPT, Claude Code, Codex, Cursor and VS Code can.
- Your endpoint: `https://mcp.knwn.app`. Team & developer access → MCP shows it, with a copy button, in the steps for each assistant: choose yours under Choose your assistant.

- [Open Team & developer access](https://knwn.app/app#access?tab=mcp)

## Connect Claude

These steps work in Claude on the web and in the desktop and mobile apps.

1. Go to Customize → Connectors, choose Add, then Add custom connector.
2. Enter KNWN as the name and `https://mcp.knwn.app` as the server URL, then choose Continue.
3. Keep the authentication settings Claude detects and choose Add.
4. Choose Connect. KNWN opens: sign in, tick the projects Claude may use, decide whether to allow Changes and AI jobs, and approve.
5. In a chat, open the + menu, choose Connectors and check that KNWN is on.

> **Claude Team and Enterprise**
>
> An Owner adds the connector once, in Organization settings → Connectors (Add, then Custom). Each member then chooses Connect and signs in to their own KNWN account.

## Connect ChatGPT

1. In ChatGPT on the web, open Plugins, choose +, then Add custom MCP server.
2. Enter KNWN as the name and `https://mcp.knwn.app` as the server URL.
3. Choose OAuth for authentication. ChatGPT identifies itself to KNWN automatically, so leave the client ID and secret empty.
4. Review the warning, choose I understand and want to continue, then Create as a plugin.
5. Install the plugin. KNWN opens: sign in, tick the projects, choose the access level and approve.
6. In a conversation, type @ and choose KNWN.

Custom MCP servers depend on your ChatGPT plan and workspace settings. If you don’t see Add custom MCP server, ask your workspace admin.

## Connect Claude Code

Add the server from your terminal:

```bash
claude mcp add --transport http knwn https://mcp.knwn.app
```

Then run `/mcp` in Claude Code, choose knwn, and sign in to KNWN in the browser window that opens. Add `--scope user` to the command to use KNWN in every project.

To use an MCP key instead of signing in:

```bash
claude mcp add --transport http knwn https://mcp.knwn.app \
  --header "Authorization: Bearer $KNWN_MCP_KEY"
```

## Connect Codex

Add the server from your terminal:

```bash
codex mcp add knwn --url https://mcp.knwn.app
```

Then run this and sign in to KNWN in the browser.

```bash
codex mcp login knwn
```

The Codex app and IDE extension share these settings.

## Connect Cursor, VS Code or another client

### Cursor

Add KNWN to `~/.cursor/mcp.json` for every project, or to `.cursor/mcp.json` for one project. Cursor offers to sign in when it first connects.

```json
{
  "mcpServers": {
    "knwn": { "url": "https://mcp.knwn.app" }
  }
}
```

### VS Code

Add KNWN to `.vscode/mcp.json`, or run MCP: Add Server from the Command Palette. VS Code asks you to sign in when it starts the server.

```json
{
  "servers": {
    "knwn": { "type": "http", "url": "https://mcp.knwn.app" }
  }
}
```

### Any other MCP client

Give the client the endpoint and choose OAuth. KNWN supports OAuth discovery, client ID metadata documents and dynamic client registration, so a standard client needs no client ID. A client that only accepts headers can use an MCP key:

```json
{
  "url": "https://mcp.knwn.app",
  "headers": { "Authorization": "Bearer <YOUR_KNWN_MCP_KEY>" }
}
```

### Test from the command line

With an MCP key, one request shows what the connection can do and how many requests remain this minute:

```bash
curl https://mcp.knwn.app \
  -H "Authorization: Bearer $KNWN_MCP_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"account_status","arguments":{}}}'
```

## Use an MCP key instead of OAuth

Use a key when your client can’t sign in with OAuth, or for your own scripts. A key covers one project, which it selects automatically, and works for a year or until you revoke it. Only the project owner can create one. MCP keys work on every plan.

1. In Team & developer access → MCP, choose Create MCP key.
2. Name the key and choose MCP · Read only, or MCP · Changes and AI jobs to allow edits and paid work. Changes and AI jobs also asks you to tick that you allow it. Then choose Create key.
3. Copy the key. It is shown only once, so store it in your client’s secure settings or a secret manager.
4. Under Check your connection, paste the key and choose Test MCP connection. The test never runs an AI job, and the key is not saved in your browser.

> **Keep the key private**
>
> An MCP key acts for the project owner on that project. It is not an AI-provider key. If it is exposed, revoke it in Team & developer access → API keys.

## Choose what the assistant may do

Every connection starts read-only. Write access is a separate tick box on the consent screen, shown when the assistant asks for it (`mcp_write`), or a separate key type, and only the owner of a project can grant it.

| Access | What the assistant can do |
| --- | --- |
| Read only | Read reports, answers, sources, prompts, traffic, tasks, content and workflows: the 32 read tools. |
| Changes and AI jobs | Everything above, plus the 34 write tools: edit prompts and competitors, save facts, tasks and labels, collect answers, draft articles and run workflows. |

With read-only OAuth, the assistant still sees the write tools, marked as needing more access. If it calls one, KNWN asks the client to send you back to the consent screen. Nothing changes until you approve.

### Paid work asks first

Collecting answers uses tracking credits. Drafting, fact checks, search-volume lookups and model-written analysis use AI usage. KNWN tells the assistant to ask for your approval before each of these, and before sending anything to WordPress or Google. Your project’s credits, monthly budget and plan limits apply, whichever app starts the work.

A collection your assistant starts costs the same as one you start in the app. The model, its thinking level and the collection method set each answer’s price, and `preview_scan` shows the credits before anything runs. When the assistant adds or edits a question, it can choose a thinking level for each API model; `get_project` lists each model’s levels and credits.

### Kept in the app on purpose

- Deleting: through MCP, competitors are archived, prompts paused and tasks closed. A project owner deletes a question with its answers in the app.
- Publishing: WordPress receives a draft only.
- Members, API keys, billing, budgets and plans.
- Recurring schedules, automatic collection and the reporting time zone. Workflows saved through MCP run only when started.

## Connect several projects at once

One OAuth approval can cover several projects you own, or all of them, including projects you create later. The assistant calls `list_projects` and then names the project in each request. A key, or a connection with one project, uses that project automatically.

Each covered project lists the connection as OAuth app among its keys, so the activity log, write receipts and analyst conversations stay separate for each project.

## Disconnect or revoke

- Disconnect an OAuth app under Connected apps in Team & developer access → MCP. This ends the connection for every project it covers; the dialog lists them.
- Revoke an MCP key in Team & developer access → API keys. An MCP key also stops when it expires, a year after it was made.
- Revoke all keys, under API keys and MCP connections in Profile & account → Security settings, stops every API key and MCP connection of your projects at once.
- Changing your password, recovering your account or replacing your account recovery key disconnects every OAuth app you connected while signed in with your password.
- An OAuth connection lasts 90 days. After that, connect again. The consent screen says the date it ends, and each project it covered notes the end in its Change history.
- Connected apps lists each connection with what it covers, when it was made and when it ends, and says when the app no longer uses it. Approving the same app again replaces an earlier connection it no longer uses.
- A connection for All my projects covers each project you create later, and KNWN tells you when one joins it.
- Work already sent to an AI provider may still finish.

## Troubleshooting

| What you see | What to do |
| --- | --- |
| 401 Unauthorized, or the client asks you to sign in again | The key is mistyped, revoked or expired, or the OAuth connection ended. Create a new key or connect again. |
| A write fails with `insufficient_scope` | The OAuth connection is read-only. Approve the consent screen again with Changes and AI jobs ticked. |
| `This API key does not grant this MCP operation` | A read-only key called a write tool. Create a key with Changes and AI jobs. |
| The assistant asks which project to use | The connection covers several projects. Name the project, or ask the assistant to call `list_projects`. |
| HTTP 429 | More than 300 requests in one minute. The client should wait for the `Retry-After` time. `account_status` shows what remains. |
| A tool fails with a code such as `trial_expired` or `account_request_limit` | A plan, credit or usage limit blocks new work. The error says what to do, or when to retry. |
| Write tools are missing | A read-only key lists only read tools. Check the key’s access, or use OAuth. |

- [See every limit and error](https://knwn.app/docs/mcp-limits)
