Connect MCP using MCP API keys

Prev Next

An MCP API key lets an AI agent, a script, or a backend service connect to the Document360 MCP server without anyone signing in. Instead of the OAuth sign-in a person completes in ChatGPT or Claude, the agent sends the key with every request. Use MCP API keys for automation that runs unattended, such as a support bot that answers from your documentation, a pipeline that syncs release notes into articles, or an internal assistant shared by a whole team.

NOTE

People who use MCP from their own AI assistant still sign in with OAuth. For more information, refer to the Connect MCP to your AI assistant article.


How MCP API keys work

Each MCP API key works as its own account in the project, not on behalf of a person. A key doesn't use a seat, can't sign in to the portal or the knowledge base site, and isn't listed under users, readers, or groups. The key's name appears wherever Document360 shows who made a change, such as article contributors and MCP server analytics.

When you create a key, you choose its Key type:

Key type Use it for What it can do
User Agents and backend services that create or update content, run workflow steps, or manage glossary terms Reads and writes content based on the content role and content access you choose. The key always has the Contributor portal role.
Reader Bots and search integrations that only answer from your documentation Reads published content in the content access you choose. Its only write action is sending article feedback.

A key can only do what both its role and its selected tools allow. You can't change the key type after the key is created.


Before you begin

  • MCP is enabled for the project. For more information, refer to the Connect MCP to your AI assistant article.
  • You have the Manage API keys permission. The same permission lets you turn MCP API keys on or off.
  • Your agent or MCP client lets you add a custom request header.

MCP API keys count toward the same API key limit as API keys. The API keys page shows how many keys you have used.


Turn on MCP API keys

MCP API keys are off by default. While the MCP API keys toggle is off, or while MCP is disabled, you can still create keys, but no key can connect. Turning the toggle off doesn't delete your keys.

To turn on MCP API keys,

  1. Navigate to Settings () in the left navigation bar.
  2. Go to AI Settings > MCP.
  3. Under Access methods, turn on the MCP API keys toggle.

Click Manage keys next to the toggle to open the MCP API keys tab on the API keys page.

Access methods section of the MCP settings page with the MCP API keys toggle turned on and the Manage keys button


Create an MCP API key

To create an MCP API key,

  1. Navigate to Settings () > Knowledge base portal > API keys.

  2. Click the Create API key dropdown and select MCP.

    Create API key dropdown on the API keys page with the API v2, API v3, and MCP options

  3. In the Add MCP API key dialog, enter a Name that identifies the agent or service that uses the key, for example, Support bot.

  4. Under Key type, select User or Reader.

  5. Choose the content the key can access:

    • User - Under Content role & access, choose the content role, and in with access to, select All, Workspace/Language, or Categories. You can't give a key more access than your own account has.
    • Reader - Under Content access, choose the published content the key can read: All, Workspace/Language, or Categories.
  6. Under Set expiry, keep Never or select Choose date.

  7. Expand Tools to review the tools the key can use. All tools allowed for the key type are selected by default. For each tool group, select an access level:

    • None - No tools in this group.
    • Read - Read tools only.
    • Write - Read and write tools.
    • Custom - Expand the group and select individual tools.
  8. Click Generate key.

    Add MCP API key dialog for a User key showing the name, key type, content role and access, expiry, and tool groups

  9. In the dialog that appears, click Copy key and store the key securely. The key isn't shown again after you close the dialog. Document360 stores only a hash of the key, so it can't be recovered later.

  10. Select the I've copied and stored the key checkbox and click Done.

Dialog shown after creating an MCP API key, with the secret key, Copy key button, and the Client configuration and Test with curl tabs

WARNING

Anyone who has the key gets the access you chose for it. Don't add the key to client-side code, a public repository, or a shared document. If a key is exposed, disable or delete it immediately.


Connect your agent or backend service

MCP API keys start with d360_mcp_. Send the key with every request to the MCP server, in one of these headers:

  • Authorization: Bearer YOUR_MCP_KEY (recommended)
  • X-API-Key: YOUR_MCP_KEY

The dialog that appears after you create a key shows a ready-to-use Client configuration with the key filled in. Most MCP clients and agent frameworks accept this format:

{
  "mcpServers": {
    "document360": {
      "type": "http",
      "url": "https://mcp.document360.io/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_MCP_KEY"
      }
    }
  }
}

Use the MCP server URL for your project's region:

Region MCP server URL
EU region https://mcp.document360.io/mcp
US region https://mcp.us.document360.io/mcp
Canada region https://mcp.ca.document360.io/mcp

To check that the key works, run the command from the Test with curl tab. If the key works, the response includes the server details.

To see these details again later, hover over the key on the MCP API keys tab, click the More () icon, and select Connection details. The Connection details dialog shows the key ID, MCP server URL, authorization header, client configuration, curl command, and the tools the key can use. It doesn't show the key itself, so use the key you saved when you created it.

Connection details dialog for an MCP API key showing the name, key ID, MCP server URL, authorization header, and client configuration


Tools an MCP API key can use

A key can use only the tools you selected and its role allows. All tool names start with document360-mcp-.

Tool group User key Reader key
Articles search, find-text, list-documents, get-article, create-article, update-article, publish-article, unpublish-article search, find-text, list-documents, get-article
Categories get-categories, get-category, create-category, update-category, update-category-content, publish-category, unpublish-category get-categories, get-category
Workflow get-workflow-statuses, get-workflow-assignees, set-workflow-status Not available
Glossary list-glossary-terms, create-glossary-term, update-glossary-term Not available
Review reminders list-review-reminders, set-article-review-reminder Not available
Feedback send-article-feedback send-article-feedback
Project get-project-versions get-project-versions

The tools document360-mcp-get-my-tasks, document360-mcp-snooze-task, document360-mcp-mark-task-done, and document360-mcp-update-feedback-status act on tasks and feedback assigned to a person, so they aren't available to MCP API keys.

A Reader key returns only published articles and page categories in its content access. Drafts, unpublished content, and hidden categories aren't returned.

New tools added to the MCP server later aren't added to existing keys automatically. When you edit a key, new tools are marked New and left unselected.

MCP API key requests follow the same rate limits as other MCP requests. For more information, refer to the Supported MCP tools article.


Manage MCP API keys

The MCP API keys tab on the API keys page lists every key with its Acts as (key type), Roles, Status, Expires, Last used, and Last updated details. Last used is updated periodically, so a recent call can take a few minutes to appear.

MCP API keys tab on the API keys page listing MCP API keys with their Acts as, Roles, Status, Expires, Last used, and Last updated columns

  • Edit - Hover over the key and click the Edit () icon to change the name, content role and access, expiry, or tools. You can't change the key type. To give a Reader key's agent write access, create a User key.
  • Disable or enable - Click the More () icon and select Set inactive to stop the key from connecting immediately. Select Set active to enable it again.
  • Delete - Click the More () icon and select Delete. Any agent still using the key can no longer connect. This action can't be undone.
  • Rotate - Create a new key, update the agent to use it, then delete the old key.

A key never receives email notifications. Mentioning a key or assigning it a workflow step doesn't notify anyone.


Monitor MCP API key activity

MCP API key activity appears in Analytics > MCP server together with OAuth activity. In Top MCP clients, key calls are grouped as MCP key. In Top users, click View all to see each key listed under its name with an MCP key badge. For more information, refer to the MCP server analytics article.


Troubleshooting

What the agent receives Cause What to do
HTTP 401 The key is incorrect, inactive, expired, or deleted, or it's an API key (v3) instead of an MCP API key Check the key, and check its status and expiry on the MCP API keys tab
An error that starts with mcp_disabled: MCP is disabled for the project Enable MCP in Settings > AI Settings > MCP
An error that starts with api_keys_disabled: The MCP API keys toggle is off Turn on MCP API keys under Access methods on the MCP page
An error that starts with plan: The project's plan doesn't include API keys Contact your account owner about your plan
Unknown tool The tool isn't selected for the key, the key's role doesn't allow it, or a Reader key can't use it Edit the key and select the tool, or use a User key
HTTP 429 The key has reached its rate limit Wait for the number of seconds in the Retry-After header, then try again

FAQ

Does an MCP API key use a seat?

No. A key works as its own account in the project. It doesn't use a user or reader seat and can't sign in. It counts toward your API key limit.

Can I use an API key (v3) with the MCP server?

No. API keys (v3) work only with the Document360 API, and MCP API keys work only with the MCP server. Create an MCP API key from the MCP API keys tab on the API keys page.

What happens to my keys if I disable MCP or turn off MCP API keys?

No key can connect until you turn it back on. The keys and their settings are kept.

Can one key work across multiple projects?

No. A key belongs to the project it was created in. Create a key in each project the agent needs to access.

Why can't my key use a tool that is available on the MCP server?

Keys don't get new tools automatically, and a key can use only the tools its role allows. Edit the key, select the tool marked New, and save.