# Authentication

Choose between signing in with aclipp and using a workspace API key. See which scopes your client needs.

## Before you start

You need an aclipp workspace. Use your aclipp login if the client supports OAuth discovery. For API-key setup, create a workspace key with the scopes your client needs.

All clients connect to the hosted endpoint at `https://api.aclipp.com/mcp`. You do not need to run an aclipp server or a local development process. There are two ways to authenticate, and they differ in one way worth knowing: an API key always covers exactly one organization, while signing in with aclipp can cover several.

- **Sign in with aclipp (OAuth):** for clients that support OAuth discovery. You approve the connection in your browser.
- **API key:** for developer tools such as Claude Code and Cursor, or wherever you prefer a long-lived credential.

## Sign in with aclipp (OAuth)

When you connect aclipp in a client, either from the client's connector list or by adding `https://api.aclipp.com/mcp` as a custom connector, the client discovers the aclipp sign-in flow on its own and opens your browser. You sign in with your aclipp account, then approve the connection:

1. **Choose the organizations** the client may access. If you belong to only one, it is used and there is nothing to pick. If you belong to several, select every organization this connection should cover, and optionally tick **Include future organizations** so a workspace you are invited to afterwards is covered without reconnecting. Tools then take an optional `organizationId`; omit it and the call acts in your default organization.
2. **Choose the projects.** All projects are included by default, which also covers projects created later. Narrow the selection if the client should only see specific projects.
3. **Approve.** Expand **Show permissions** to see the requested actions for each area. The client receives exactly those permissions; write access is included only if the client requested it.

Connections are personal: they act on your behalf and end when you leave the organization. An active sign-in connection completes the MCP step in your aclipp checklist. Workspace admins can see and disconnect these connections under [Settings, Developers, Connected apps](https://app.aclipp.com/settings/api/connected-apps).

## Create an API key

Open [workspace API settings](https://app.aclipp.com/settings/api) and create a key for your AI client. The full key is shown only once, so copy it before closing the dialog.

Grant only the scopes you need:

| Scope                | What it enables                                                              |
| -------------------- | ---------------------------------------------------------------------------- |
| `projects:read`      | Projects, competitors, and project configuration.                            |
| `projects:write`     | Create projects; create and update competitors, tags, and custom metrics.    |
| `prompts:read`       | AI visibility prompts and prompt topics.                                     |
| `prompts:write`      | Create, update, and delete prompts; create and rename prompt topics.         |
| `clippings:read`     | Filtered clipping lists and complete clipping details.                       |
| `clippings:write`    | Create and update clippings.                                                 |
| `outlets:read`       | Outlet lists and complete outlet details.                                    |
| `outlets:write`      | Update existing outlets.                                                     |
| `authors:read`       | Author lists and complete author profiles.                                   |
| `authors:write`      | Update existing authors.                                                     |
| `alerts:read`        | Alert configurations and their filters.                                      |
| `alerts:write`       | Create, update and delete alerts.                                            |
| `integrations:read`  | Integrations of a project, without their API keys.                           |
| `integrations:write` | Create, update, and delete a project's integrations. API keys cannot be set. |
| `monitoring:read`    | A project's aclipp monitoring: its searches and filters.                     |
| `monitoring:write`   | Set up, change, and delete a project's aclipp monitoring.                    |
| `reports:read`       | Report lists and complete report details.                                    |
| `reports:write`      | Create reports, update settings, and replace content blocks.                 |
| `dashboards:read`    | Dashboard lists and complete dashboard details.                              |
| `dashboards:write`   | Create dashboards, update settings, and replace charts.                      |
| `analytics:read`     | Aggregated clipping and AI-visibility analytics.                             |
| `ai-visibility:read` | AI visibility chats, metrics, cited domains, and cited URLs.                 |
| `usage:read`         | Plan allowances and usage this billing period, per project too.              |

The scopes determine which tools the client sees. You can also restrict the key to specific projects.

Some tools need both the write and the read scope for their resource, because they read the record to do their job. Every delete tool except `delete_monitoring` needs both, for example `delete_prompt` needs `prompts:write` and `prompts:read`, and the report and dashboard update and replace tools need the read scope to base the change on the document's current version.

MCP exposes updates to existing outlets and authors. Creating or deleting them requires the REST API. MCP can create reports and dashboards, change their settings, and replace their contents; deleting them also requires the REST API. An API key used for MCP does not add tools beyond the catalog below.

`alerts:write` allows creating, updating and deleting alerts through MCP. To pause an alert's emails without deleting it, set `enabled` to false with `update_alert`.

## Keep the API key safe

The API key is stored in the client's private configuration. Never commit it or paste it into a chat, issue, screenshot, or shared terminal transcript. Use a separate, minimally scoped key for each client so you can revoke one connection without affecting another.
