---
title: "Create an API Key and Connect an AI Assistant | FoxCue"
url: "https://docs.foxcue.com/settings/developers-api-keys-and-mcp"
date: "2026-10-28T17:53:56+00:00"
modified: "2026-10-28T17:50:45+00:00"
word_count: 504
reading_time: "3 min read"
description: "Create a scoped FoxCue API key in Settings → Developers, copy the API base URL, manage hosted OAuth connections and configure a local MCP client."
keywords: "Create, Connect, Assistant"
language: "en"
---

**Settings → Developers** is where you connect apps and AI assistants to FoxCue. Workspace owners create scoped API keys there, copy the API base URL, browse the API documentation, and manage hosted OAuth connections or copy the local MCP configuration.

Only workspace owners can create, view and revoke API keys.

![Create API key dialog with a name, expiry and permission scopes](https://docs.foxcue.com/images/settings/developers.png)

Create API key, with a name, an expiry and permission scopes.

## Create an API key

<Steps>
<Step title="Open Developers">
Go to **Settings → Developers** and click **Create Key**.
</Step>
<Step title="Name the key">
Enter a **Key Name**. Use a separate key for each integration so you can revoke it on its own.
</Step>
<Step title="Choose Expires After">
**30 Days**, **90 Days** or **1 Year**.
</Step>
<Step title="Choose Permissions">
Select only the permissions the integration needs. See [Authentication and scopes](https://docs.foxcue.com/api-reference/authentication-and-api-keys).
</Step>
<Step title="Save your key">
Click **Create Key**. **Save your API key** shows the full key once. Click **Copy key** and store it in your integration's secret settings before you close the dialog. If you lose it, revoke the key and create another.
</Step>
</Steps>

<Note>
Workspace API keys are separate from AI provider keys (OpenAI, Anthropic, ElevenLabs). Removing an owner, or resetting their sign-in credentials, also invalidates the keys they created.
</Note>

## Revoke a key

In **API Keys**, click **Revoke Key** and confirm. Keys show **Active**, **Expired** or **Revoked**, with their last use.

## API connection

**API connection** shows the **API base URL** for your workspace. **Download OpenAPI** saves the schema. The live schema lists 23 scopes, including `library:read`, `library:write`, `publishing:read`, `publishing:write` and `publishing:publish`. A hosted MCP connection requests 13 of those scopes. See the [API reference](https://docs.foxcue.com/api-reference/) and [Authentication and scopes](https://docs.foxcue.com/api-reference/authentication-and-api-keys/).

![Developers MCP connection settings](https://docs.foxcue.com/images/settings/mcp-connect.png)

The MCP connection settings on Developers.

## Connect an assistant (MCP)

**Connect an Assistant** provides two connection methods:

- **OAuth Connection** shows the hosted MCP endpoint, `https://app.foxcue.com/mcp`, and its issuer. A compatible assistant signs in through FoxCue and requests scoped access to one owner workspace. This path does not require a manually created API key.
- **MCP client configuration** starts a local stdio server from a FoxCue build on your computer. Put a scoped workspace API key in the client's private settings. The copied local configuration uses the broader workflow profile; the hosted connector uses the focused directory profile.

Owners can review saved OAuth grants under **Authorized MCP Connections** and use **Revoke Access** to invalidate a grant. The displayed status describes authorization, not whether a client is online. Revocation does not delete completed results or undo provider calls already sent.

See [Connect an AI assistant with MCP](https://docs.foxcue.com/mcp/connect-an-ai-assistant-with-mcp/) for setup and [OAuth permissions and troubleshooting](https://docs.foxcue.com/mcp/oauth-permissions-and-troubleshooting/) for the 13 hosted scopes, expiry and revocation. A grant approved before `brands:write` and `performance:write` were requested does not gain them until you revoke it and connect again.

## Frequently asked questions

### Can members create API keys?

No. Only workspace owners can create, view and revoke keys.

### Can an API key spend money?

Keys with `generation:write` can start AI generation and renders, which may incur provider costs. Grant it only when needed.

## Related articles

- [API reference](https://docs.foxcue.com/api-reference/)
- [Authentication and API keys](https://docs.foxcue.com/api-reference/authentication-and-api-keys/)
- [Connect an AI assistant with MCP](https://docs.foxcue.com/mcp/connect-an-ai-assistant-with-mcp/)
- [Team members and roles](https://docs.foxcue.com/account/workspaces-and-team-members/)
- [MCP tools reference](https://docs.foxcue.com/mcp/mcp-tools-reference/)


---
_View the original page at: [https://docs.foxcue.com/settings/developers-api-keys-and-mcp](https://docs.foxcue.com/settings/developers-api-keys-and-mcp)_
_Served as markdown by [FoxCue Docs](https://docs.foxcue.com)_
_Generated: 2026-10-28T17:50:45 UTC_