---
title: "Contentstack MCP Troubleshooting Guides"
description: "Fix common Contentstack MCP Server and MCP Profile Hub errors, from client setup and sign-in to permissions, profile imports, automations, and tool calls."
url: "https://www.contentstack.com/docs/contentstack-mcp-troubleshooting/faqs"
product: "Contentstack"
doc_type: "guide"
audience:
  - developers
  - admins
version: "current"
last_updated: "2026-11-05"
---

# Contentstack MCP Troubleshooting Guides

## MCP Server Setup and Authentication

### "Unauthorized" errors on CMA, Analytics, or Launch tool calls

**Applies to:** Contentstack MCP Server

Tool calls in an OAuth group, for example CMA, Analytics, or Launch, fail with an Unauthorized error.

**Root causes**

*   You have not run the OAuth flow on this machine.
*   The OAuth tokens that the server saved on this machine have expired.

**Resolution**

Run the command below, then complete the sign-in in the browser window it opens:

`npx @contentstack/mcp --auth`

**Additional Resource:** For more information on which groups use OAuth, refer to the [Authentication](/docs/developers/contentstack-mcp-server#authentication) section of the Contentstack MCP Server documentation.

### CDA tool calls return empty results or 401 errors

**Applies to:** Contentstack MCP Server

**Root causes**

*   CONTENTSTACK\_DELIVERY\_TOKEN is missing or incorrect.
*   The delivery token belongs to a different environment than the one you query.

**Resolution**

1.  Check the value of CONTENTSTACK\_DELIVERY\_TOKEN in the server configuration.
2.  Confirm that the delivery token belongs to the environment you query. If it does not, create a delivery token for that environment and set it as CONTENTSTACK\_DELIVERY\_TOKEN.

**Additional Resource:** For more information on where each credential comes from, refer to the [Where to find your credentials](/docs/developers/contentstack-mcp-server#where-to-find-your-credentials) section of the Contentstack MCP Server documentation.

### Contentstack MCP Server tools do not appear in your MCP client

**Applies to:** Contentstack MCP Server

**Root cause**

The GROUPS value contains a typo or a space, so the server does not recognize the groups it names.

**Resolution**

Set GROUPS to a comma-separated list of group values with no spaces, as in the example below:

`GROUPS=cma,cda`

**Additional Resource:** For more information on the accepted group values, refer to the [GROUPS variable](/docs/developers/contentstack-mcp-server#the-groups-variable) section of the Contentstack MCP Server documentation.

### Launch tool calls fail with authentication errors

**Applies to:** Contentstack MCP Server

**Root cause**

The server configuration does not set CONTENTSTACK\_ORGANIZATION\_UID. The Launch group needs the organization UID in addition to OAuth.

**Resolution**

1.  Copy the organization UID from your project's URL in the Launch dashboard, or from your organization settings.
2.  Add it to the server configuration as CONTENTSTACK\_ORGANIZATION\_UID, or pass it with \--organization-uid.

### Lytics tool calls return 403

**Applies to:** Contentstack MCP Server

**Root cause**

The Lytics access token has expired, or it holds an incorrect value. The Lytics group does not use OAuth, so the server sends only the token that LYTICS\_ACCESS\_TOKEN holds.

**Resolution**

1.  Generate a new access token under **API Tokens** in your Lytics account settings.
2.  Set LYTICS\_ACCESS\_TOKEN to the new token.

### get_job_data returns "200 Job active" for an Analytics job

**Applies to:** Contentstack MCP Server

**Root cause**

The Analytics job is still processing. Every Analytics tool runs asynchronously: it returns a jobId, and get\_job\_data returns the results only after the job completes.

**Resolution**

Wait a few seconds, then call get\_job\_data again with the same jobId.

### npx asks for confirmation when the MCP client starts the server

**Applies to:** Contentstack MCP Server

**Root cause**

The args array in the client configuration does not include the \-y flag, so npx waits for you to confirm the package installation.

**Resolution**

Add "-y" as the first argument after npx, as in the configuration below:

`"command": "npx",   "args": ["-y", "@contentstack/mcp"]`

### Requests reach the wrong data center, or return 404 or 401

**Applies to:** Contentstack MCP Server

**Root cause**

The configuration sets no region, and no OAuth session exists to supply one, so the server sends requests to the default region, NA. A configuration that uses only a delivery token or only a management token always lacks an OAuth session.

**Resolution**

Set CONTENTSTACK\_REGION, or pass \--region, with the code of your stack's data center.

**Additional Resource:** For more information on the region codes, refer to the [Supported regions](/docs/developers/contentstack-mcp-server#supported-regions) section of the Contentstack MCP Server documentation.

### "Unknown region" error when the server starts

**Applies to:** Contentstack MCP Server

**Root cause**

The value of \--region or CONTENTSTACK\_REGION contains a misspelling. The server returns this error when it does not recognize the region value.

**Resolution**

Use a supported region code or alias, for example EU or aws-eu. Aliases ignore case and separators, so eu and AWS\_EU also resolve to the EU region.

**Additional Resource:** For more information on every code and alias, refer to the [Supported regions](/docs/developers/contentstack-mcp-server#supported-regions) section of the Contentstack MCP Server documentation.

### CMA tool calls fail with authentication errors when no OAuth session exists

**Applies to:** Contentstack MCP Server

**Root cause**

The server has no OAuth session, and the configuration provides no management token.

**Resolution**

Use one of the two options below:

*   Run npx @contentstack/mcp --auth and complete the sign-in, so the server has an OAuth session.
*   Set CONTENTSTACK\_MANAGEMENT\_TOKEN and CONTENTSTACK\_REGION. A management token authenticates only the CMA and CMA Extended groups, and the region tells the server which data center to call.

**Additional Resource:** For more information on the management token option, refer to the [Authenticating without OAuth](/docs/developers/contentstack-mcp-server#authenticating-without-oauth-management-token) section of the Contentstack MCP Server documentation.

## Profile Hub Client Setup

### The Add to Claude button has no effect

**Applies to:** MCP Profile Hub, Claude Desktop tab

**Root cause**

Your Claude plan restricts custom connectors to organization admins.

**Resolution**

Use the **Claude Desktop Manual** installation tab instead, or ask a Claude organization admin to add the connector.

**Additional Resource:** For more information on each installation tab, refer to the [Connect a client to MCP Profile Hub](/docs/developers/mcp-profile-hub-connect-a-client-to-profile-hub) documentation.

### Two browser tabs open during sign-in

**Applies to:** MCP Profile Hub, Claude Desktop Manual tab

**Root cause**

Claude Desktop occasionally opens two browser tabs at once when you sign in to a server that you added through the manual configuration.

**Resolution**

1.  Complete the sign-in in the first tab and close the other.
2.  If the profile's tools still do not appear, restart Claude Desktop and sign in again.

### The claude mcp add command fails

**Applies to:** MCP Profile Hub, Claude Code tab

**Root cause**

The connector URL has no quotes around it, so the shell reads ? and & as shell syntax instead of as part of the URL.

**Resolution**

Keep the connector URL in quotes when you run claude mcp add.

### The server does not appear after you edit claude_desktop_config.json

**Applies to:** MCP Profile Hub, Claude Desktop Manual tab

**Root cause**

Claude Desktop reads claude\_desktop\_config.json only when it launches.

**Resolution**

Restart Claude Desktop.

### mcp-remote fails to start, and Node.js is missing

**Applies to:** MCP Profile Hub, clients that run the mcp-remote bridge

**Root cause**

The machine has no Node.js installation, so npx cannot run mcp-remote.

**Resolution**

Install Node.js, then confirm that npx -y mcp-remote runs.

### mcp-remote fails to start, and Node.js is present

**Applies to:** MCP Profile Hub, clients that run the mcp-remote bridge

**Root cause**

A registry allowlist, an execution policy, or a proxy blocks npx from reaching the npm registry.

**Resolution**

Use one of the two options below:

*   Install mcp-remote globally from an approved registry, and configure the client to run the installed binary instead of npx.
*   Ask your IT team to allowlist the mcp-remote package.

## Profile Hub Connection and Sign-In

### The client shows the server but no tools

**Applies to:** MCP Profile Hub

**Root causes**

*   You did not finish the Open Authorization (OAuth) sign-in.
*   The client's connection dropped after sign-in, which can happen in Claude Desktop.
*   The profile has no tools. The app saves a profile even after you remove every tool from it.

**Resolution**

1.  Start the sign-in again from your client, for example with /mcp in Claude Code, and complete the browser flow.
2.  If the sign-in completes and the client still lists no tools, reconnect the server from the client's MCP settings, or remove the server and add it again.
3.  Open the profile's **Tool selection** step, and confirm that it lists at least one tool.

### No tools appear, and the connection reports an error

**Applies to:** MCP Profile Hub

**Root cause**

The connector URL contains a malformed project UID. A malformed project UID fails the whole tool listing, not only the tools of the affected product.

**Resolution**

Correct the project UID in the connector URL. The [MCP URL parameters](/docs/developers/mcp-profile-hub-url-parameters#validation) documentation gives the accepted format for each parameter.

### The browser never opens for sign-in, and the URL looks wrong

**Applies to:** MCP Profile Hub

**Root cause**

The connector URL in your client contains a typo.

**Resolution**

Compare the URL in your client with the one on the profile's **Installation** step, including profile\_id and org\_uid, and correct any difference.

### The browser never opens for sign-in, and the URL is correct

**Applies to:** MCP Profile Hub

**Root cause**

The client cannot reach the discovery endpoint.

**Resolution**

1.  Confirm that the machine reaches the endpoint over HTTPS, for example by opening the connector URL in a browser.
2.  Check for a corporate proxy, VPN, firewall, or TLS-inspecting middlebox that blocks the request.

### The client asks you to authorize repeatedly

**Applies to:** MCP Profile Hub, clients that run the mcp-remote bridge

**Root cause**

Contentstack raised the pinned mcp-remote version, and the new version stores credentials in a new, empty directory.

**Resolution**

Sign in again. A [version change](/docs/developers/mcp-profile-hub-connect-a-client-to-profile-hub#pinned-mcp-remote-version) triggers this prompt and does not indicate a fault.

### Sign-in loops with no version change

**Applies to:** MCP Profile Hub

**Root cause**

The client holds a stale cached token.

**Resolution**

Clear the client's cached MCP credentials and reconnect, with the step below for your client:

*   **For** **mcp-remote****:** delete the version-specific subdirectory under ~/.mcp-auth, then retry.
*   **In Claude Code:** run /mcp and sign in again.

**Warning:** ~/.mcp-auth holds cached OAuth credentials for every MCP server you connect through mcp-remote, not only Contentstack. If you delete the whole directory, you sign out of all of them, and each one prompts for authorization again on next use.

### Sign-in fails after you pick a region

**Applies to:** MCP Profile Hub

**Root cause**

On the **Select your region** screen, you picked a region that does not host your organization. Contentstack accounts sign in at the region that hosts them, so the sign-in at another region fails.

**Resolution**

1.  Close the browser window, then start the sign-in again from your AI client.
2.  Pick the region that hosts your organization on the **Select your region** screen.
3.  Add the region [sign-in parameter](/docs/developers/mcp-profile-hub-url-parameters#sign-in-parameters) to the connector URL, for example ?region=eu, to skip the screen on later connections.

### "Your sign-in expired after 15 minutes" message

**Applies to:** MCP Profile Hub

The connect screen shows the message below:

`Your sign-in expired after 15 minutes. Close this window and start again from your AI client.`

**Root cause**

The **Connect to Contentstack** screen stayed open for more than 15 minutes before you clicked **Connect**. A sign-in that took too long or that a client already used shows the **Session Expired** page instead, with a similar message.

**Resolution**

Close the browser window and start the sign-in again from your AI client. Complete the [connect screen](/docs/developers/mcp-profile-hub-connect-a-client-to-profile-hub#public-url-sign-in) within 15 minutes.

### "Already in Progress" or "Already Completed" page during sign-in

**Applies to:** MCP Profile Hub

The browser shows one of the two messages below:

`This sign-in is already being completed in another window or tab. Close this one, or wait a moment and try again.``This sign-in was already completed in another window. Return to your AI client to continue.`

**Root cause**

The same sign-in is open in more than one browser window or tab, and you clicked **Connect** in more than one of them. MCP Profile Hub completes each sign-in once.

**Resolution**

1.  Close the extra windows.
2.  Return to your AI client. If the client lists the profile's tools, the sign-in succeeded.
3.  If the client lists no tools, start the sign-in again from the client.

### "No Organizations Found" page during sign-in

**Applies to:** MCP Profile Hub

The browser shows the message below:

`Your Contentstack account isn't part of any organization. Ask your administrator to invite you, then try again.`

**Root cause**

The Contentstack account you signed in with belongs to no organization.

**Resolution**

1.  Ask an administrator of your organization to invite you to the organization.
2.  Accept the invitation, then start the sign-in again from your AI client.

### "Profile not available" or "Selection not available" page during sign-in

**Applies to:** MCP Profile Hub

After you click **Connect**, the browser shows one of the three messages below:

`That organization isn't available to your account. Close this window and start again from your AI client.``That profile is no longer available. Close this window and start again from your AI client.``One of the stacks or projects you picked is no longer available. Close this window and start again from your AI client.`

**Root cause**

The organization, profile, stack, or project you picked changed while the connect screen was open. For example, someone deleted the profile or the stack, or your access to it ended.

**Resolution**

1.  Close the browser window and start the sign-in again from your AI client.
2.  Pick an organization, profile, stack, and project that your account can access.

### A list on the connect screen fails to load

**Applies to:** MCP Profile Hub

The **Connect to Contentstack** screen shows an error with a **Try again** button in place of a list, for example the message below for the stack list:

`Couldn't load your stack list. Try again, or set it in MCP Profile Hub after connecting.`

The organization and profile lists show similar messages.

**Root cause**

Contentstack did not return the list in time, or the request failed.

**Resolution**

1.  Click **Try again**.
2.  If the list still fails, connect without that value, then select it in the profile's **Configuration** step in the app, or add the matching [URL parameter](/docs/developers/mcp-profile-hub-url-parameters#configuration-parameters). Tools that need the value fail until you set it.

## Profile Hub Authentication and Permissions

### authorization_required error with reason no_token or local_token_unavailable

**Applies to:** MCP Profile Hub

The client receives JSON-RPC error code \-32010 with the message authorization\_required, and the reason field holds no\_token or local\_token\_unavailable.

**Root cause**

You have not completed the OAuth sign-in for this profile, or the stored token expired.

**Resolution**

Reconnect and [sign in again](/docs/developers/mcp-profile-hub-connect-a-client-to-profile-hub#authentication-and-permissions). The error also includes an authorization\_url that you can open directly.

### authorization_required error with reason insufficient_scope

**Applies to:** MCP Profile Hub

The client receives JSON-RPC error code \-32010 with the message authorization\_required, and the reason field contains insufficient\_scope. The message below includes the method and path that failed:

`Permission denied for <METHOD> <PATH>. The authorized token may lack a required   OAuth scope, or your Contentstack role may not permit this operation. If scopes   were recently changed, re-authorize from the Authorization page (add the needed   scope to the curated list) and try again.`

**Root causes**

Contentstack returned 403 for one of the two reasons below:

*   The token lacks a required Open Authorization (OAuth) scope.
*   Your Contentstack role does not permit the operation. A profile never grants more access than your roles allow.

**Resolution**

1.  Reconnect and approve every scope the consent screen requests.
2.  If you already granted the scope, sign in to Contentstack as the same user and try the same action in the UI. If the action also fails in the UI, your role does not permit it. Use an account with the required role, or ask the profile owner to remove the tool from the profile.

**Additional Resources:** For more information on what each role permits, refer to the [About Product Roles](/docs/administration/about-product-roles) documentation and the [About Stack Roles](/docs/headless-cms/about-stack-roles) documentation.

### authorization_required error with reason contentstack_unauthorized

**Applies to:** MCP Profile Hub

The client receives JSON-RPC error code \-32010 with the message authorization\_required, and the reason field holds contentstack\_unauthorized.

**Root cause**

Contentstack rejected the token, and the token refresh also failed.

**Resolution**

Reconnect and [sign in again](/docs/developers/mcp-profile-hub-connect-a-client-to-profile-hub#authentication-and-permissions).

### Profile scope mismatch error

**Applies to:** MCP Profile Hub

**Root cause**

The client requested a profile other than the one the connector URL specifies.

**Resolution**

Use the [connector URL](/docs/developers/mcp-profile-hub-url-parameters#one-profile-per-connection) of the profile you want. The profile\_id in the URL determines which profile the client can use.

### "Different Account" page when you authorize the app

**Applies to:** MCP Profile Hub Marketplace app

The authorization window shows the message below:

`You signed in with a different Contentstack account than the one using MCP Profile Hub. Close this window, then sign in with the same account you use in Contentstack.`

**Root cause**

You authorized the app with a Contentstack account other than the one you use for your current Contentstack session.

**Resolution**

1.  Close the authorization window.
2.  Click **Authorize with Contentstack** again, and sign in with the account you use in Contentstack.

### "Couldn't check your sign-in" screen in the app

**Applies to:** MCP Profile Hub Marketplace app

The app shows the message below with a **Reload** button:

`We couldn't check your sign-in. Reload the page to try again.`

**Root cause**

The app could not confirm your sign-in, for example because of a network error. Your sign-in has not changed.

**Resolution**

Click **Reload**. If the screen returns, check your network connection and reload again.

### "You signed in, but the sign-in expired" message in the app

**Applies to:** MCP Profile Hub Marketplace app

Above the **Authorize with Contentstack** button, the **Connect your Contentstack account** screen shows the message below:

`You signed in, but the sign-in expired before MCP Profile Hub could finish it. Authorize again.`

The screen can also report that the app could not start your session, or that your browser could not reach the app.

**Root cause**

The authorization window completed the sign-in, but the app could not finish it in time.

**Resolution**

1.  Click **Authorize with Contentstack** again.
2.  Check your network connection, if the message mentions a connection problem.
3.  If the message keeps returning, contact [Contentstack support](mailto:support@contentstack.com).

**Other situations that need authorization.** You also authorize again when you switch to another organization, or after you click **Disconnect**.

### Analytics tools fail with an access error

**Applies to:** MCP Profile Hub

**Root causes**

*   Your role in the organization is neither Owner nor Admin. The Analytics API accepts calls only from organization Owners and Admins.
*   The agent passed the UID of another organization. Analytics tools always query the organization you signed in to, and replace any other organization UID.

**Resolution**

1.  Ask an organization Owner to run the Analytics tools, or to assign you the Owner or Admin role.
2.  Reconnect and sign in to the other organization, if you need its analytics.

**Additional Resource:** For more information on the organization that Analytics tools query and the role they need, refer to the [Tool behavior](/docs/developers/mcp-profile-hub-profiles-and-catalogs#tool-behavior) section of the Profiles and catalogs documentation.

## Profile Hub Configuration

### "No stack selected for this organization" error

**Applies to:** MCP Profile Hub

**Root cause**

None of the four sources below provides a stack:

*   The tool arguments
*   The connector URL
*   The connect screen at sign-in
*   The profile's **Configuration** step

**Resolution**

Select a stack in the profile's **Configuration** step, add apikey to the connector URL, or reconnect and pick a stack on the connect screen.

**Additional Resource:** For more information on the places that can set the stack and their precedence, refer to the [Precedence](/docs/developers/mcp-profile-hub-url-parameters#precedence) section of the MCP URL parameters documentation.

### "No Personalize project selected for this profile" error

**Applies to:** MCP Profile Hub

**Root cause**

The profile includes Personalize tools but no Personalize project.

**Resolution**

Select a Personalize project in the profile's **Configuration** step, or add personalize\_project\_uid to the connector URL.

### Saving a profile fails because the plan does not include a catalog

**Applies to:** MCP Profile Hub

The app shows the message below, where <CATALOGS> names the excluded catalogs:

`This organization's plan does not include <CATALOGS>.`

**Root cause**

The profile contains tools from a catalog that your organization's plan excludes.

**Resolution**

Remove the tools that belong to the excluded [catalog](/docs/developers/mcp-profile-hub-profiles-and-catalogs#plan-gated-catalogs), then save the profile again.

### Invalid project UID in the MCP endpoint URL

**Applies to:** MCP Profile Hub

The client lists no tools, and the connection reports a message like the one below, which names the parameter:

`Invalid "launch_project_uid" in the MCP endpoint URL: expected 1-64 characters of letters, digits, hyphen or underscore`

**Root cause**

A project UID parameter in the connector URL is not 1 to 64 characters of letters, digits, hyphens, or underscores. The rule applies to launch\_project\_uid, personalize\_project\_uid, automation\_project\_uid, brandkit\_project\_uid, and lytics\_project\_uid.

**Resolution**

Copy the UID again from the product's settings, and correct the [parameter](/docs/developers/mcp-profile-hub-url-parameters#validation) in the connector URL.

### "We can't find that Stack" error

**Applies to:** MCP Profile Hub

The tool call fails with HTTP 412 and the message below:

`We can't find that Stack. Please try again.`

**Root causes**

*   The configured stack API key is wrong.
*   The stack belongs to a different Contentstack region than the one your sign-in resolved.

**Resolution**

1.  Confirm that the configured stack API key is correct for your account. A mistyped key returns the We can't find that Stack error.
2.  Confirm that you signed in to the organization that owns the stack, at the region that hosts it. A session cannot reach a stack in another region.
3.  If the region is wrong, reconnect and pick the correct region on the **Select your region** screen, or add the region [sign-in parameter](/docs/developers/mcp-profile-hub-url-parameters#sign-in-parameters) to the connector URL.

### "No Lytics project selected for this profile" error

**Applies to:** MCP Profile Hub

**Root cause**

The profile includes Lytics tools but no Lytics project. Every Lytics tool acts on one Lytics project.

**Resolution**

Select a Lytics project in the profile's **Configuration** step or on the connect screen at sign-in, or add lytics\_project\_uid to the connector URL.

**Additional Resource:** For more information on skipping the Lytics connection, refer to the [Skipping an optional connection](/docs/developers/mcp-profile-hub-create-a-profile#skipping-an-optional-connection) section of the Create a profile documentation.

### "No Brand Kit selected for this profile" error

**Applies to:** MCP Profile Hub

**Root cause**

The profile includes Brand Kit tools but no brand kit. Brand Kit tools act on one brand kit.

**Resolution**

Select a brand kit in the profile's **Configuration** step or on the connect screen at sign-in, or add brandkit\_project\_uid to the connector URL.

**Additional Resource:** For more information on skipping the Brand Kit connection, refer to the [Skipping an optional connection](/docs/developers/mcp-profile-hub-create-a-profile#skipping-an-optional-connection) section of the Create a profile documentation.

### The connector URL names a profile that the organization does not have

**Applies to:** MCP Profile Hub

The client lists no tools, and the connection reports the message below:

`Profile not found: "<PROFILE_ID>" is not available for this organization. If you connected this MCP server with OAuth, disconnect and reconnect it to select a profile again. If your MCP URL pins ?profile_id=, point it at a profile that exists. Available profiles: <PROFILE_IDS>`

The connect screen can show the message below instead:

`The connector URL names profile <PROFILE_ID>, which this organization does not have. Pick another organization, or fix the URL.`

**Root causes**

*   The profile\_id in the connector URL has a typo.
*   You picked a different organization than the one that holds the profile.
*   The URL names a custom profile that another user created, and a custom profile is available only to the person who created it.
*   Someone deleted the profile.

**Resolution**

1.  Check the profile\_id against the [system profiles](/docs/developers/mcp-profile-hub-profiles-and-catalogs#system-profiles), or copy the URL again from the profile's **Installation** step.
2.  Pick the organization that holds the profile on the connect screen.
3.  Ask the person who created the custom profile to [export it](/docs/developers/mcp-profile-hub-manage-profiles#export-a-profile), then import the file as your own profile.

## Profile Hub Import

### Profile import fails because the file is too large

**Applies to:** MCP Profile Hub

The app shows the heading Couldn't import profile, then the message below:

`That file is too large to be a profile export. Pick a .json file exported from MCP Profile Hub.`

**Root cause**

The file exceeds 1 MiB.

**Resolution**

Confirm that you picked a profile export, not another JSON file.

**Additional Resource:** For more information on the import steps and the names that imported profiles receive, refer to the [Import a profile](/docs/developers/mcp-profile-hub-manage-profiles#import-a-profile) section of the Manage profiles documentation.

### Profile import fails because the file is not valid JSON

**Applies to:** MCP Profile Hub

The app shows the heading Couldn't import profile, then the message below:

`We can't read that file. Pick a .json file exported from MCP Profile Hub.`

**Root cause**

The file does not parse as JSON.

**Resolution**

Export the profile again instead of editing the file manually.

**Additional Resource:** For more information on the import steps and the names that imported profiles receive, refer to the [Import a profile](/docs/developers/mcp-profile-hub-manage-profiles#import-a-profile) section of the Manage profiles documentation.

### Profile import fails because the JSON is not an exported profile

**Applies to:** MCP Profile Hub

The app shows the heading Couldn't import profile, then the message below:

`That file isn't an exported profile. Pick a .json file exported from MCP Profile Hub.`

**Root cause**

The file holds valid JSON, but MCP Profile Hub did not export it.

**Resolution**

Export the profile from the source organization, then import that file.

### Profile import fails because a newer version of MCP Profile Hub exported the file

**Applies to:** MCP Profile Hub

The app shows the heading Couldn't import profile, then the message below:

`This file came from a newer version of MCP Profile Hub. Ask whoever shared it to export it again.`

**Root cause**

The file uses a newer export format than your organization's version of MCP Profile Hub reads.

**Resolution**

Ask the person who shared the file to export the profile again from an organization on your version of MCP Profile Hub. Contentstack hosts and updates MCP Profile Hub centrally, so you can also import the file after Contentstack updates MCP Profile Hub for your organization.

### Profile import fails because the profile has more than 200 tools

**Applies to:** MCP Profile Hub

The app shows the heading Couldn't import profile, then the message below:

`That profile has more than 200 tools, which is the most a profile can hold. Remove some tools from the original, export it again, then import the new file.`

**Root cause**

The export exceeds the limit of 200 tools per profile.

**Resolution**

Split the profile in the source organization, then export each part.

**Additional Resource:** For more information on the import steps and the names that imported profiles receive, refer to the [Import a profile](/docs/developers/mcp-profile-hub-manage-profiles#import-a-profile) section of the Manage profiles documentation.

### Profile import fails because a field is missing or malformed

**Applies to:** MCP Profile Hub

The app shows the heading Couldn't import profile, then the message below:

`This file looks damaged or was edited by hand. Export the profile again and import the new file.`

**Root cause**

A required field, for example the profile name, is absent, or it holds the wrong type of value. The message does not name the field.

**Resolution**

Export the profile again instead of editing the file manually.

**Additional Resource:** For more information on the import steps and the names that imported profiles receive, refer to the [Import a profile](/docs/developers/mcp-profile-hub-manage-profiles#import-a-profile) section of the Manage profiles documentation.

### Profile import fails because the name matches a system profile

**Applies to:** MCP Profile Hub

The app shows the heading Couldn't import profile, then the message below:

`"CMS" is a system profile. Choose a different name.`

**Root cause**

Contentstack derives the profile\_id from the profile name, and that ID matches a system profile. Contentstack renames only system-profile exports, and this file is not one.

**Resolution**

Rename the profile in the file, or export it again from the source organization.

### Profile import fails because the profile ID already exists

**Applies to:** MCP Profile Hub

The app shows the heading Couldn't import profile, then the message below:

`You already have a profile with this name. Choose a different name.`

**Root cause**

You already have a profile with that name. Contentstack derives the profile\_id from the name, so the import would create a second profile with the same profile\_id.

**Resolution**

Rename the profile before you import it.

**Additional Resource:** For more information on the import steps and the names that imported profiles receive, refer to the [Import a profile](/docs/developers/mcp-profile-hub-manage-profiles#import-a-profile) section of the Manage profiles documentation.

### Profile import fails because you reached your profile limit

**Applies to:** MCP Profile Hub

The app shows the heading Couldn't import profile, then the message below:

`Profile limit of 50 reached; delete an existing profile first`

**Root cause**

You already hold the maximum of 50 profiles.

**Resolution**

Delete a profile you no longer use, then import the file again.

### Profile import fails because the organization reached its profile limit

**Applies to:** MCP Profile Hub

The app shows the heading Couldn't import profile, then the message below:

`Organization profile limit of 500 reached; ask an administrator to remove unused profiles`

**Root cause**

Your organization already holds the maximum of 500 profiles.

**Resolution**

Ask an organization admin to remove unused profiles, then import the file again.

### Profile import fails because the plan does not include a catalog

**Applies to:** MCP Profile Hub

The app shows the heading Couldn't import profile, then the message below:

`This organization's plan does not include launch. Remove the tools from that catalog and save again.`

**Root cause**

The file contains tools from a catalog that your organization's plan excludes.

**Resolution**

Remove those tools from the file, or import it into an organization whose plan includes the catalog. The [Profiles and catalogs](/docs/developers/mcp-profile-hub-profiles-and-catalogs#plan-gated-catalogs) documentation lists the plan-gated catalogs.

## Profile Hub Automations and Agents

### An automation call fails with a secure HTTP trigger error

**Applies to:** MCP Profile Hub

The error message starts with the text below:

`Automation "<AUTOMATION_ID>" uses a secure HTTP trigger, which is not supported yet.   Disable Secure HTTP Trigger on the automation, or pick a different automation.`

**Root cause**

Secure HTTP Trigger is on for that automation. Contentstack cannot detect Secure HTTP Trigger on automations as it does on agents, so a secured automation stays visible in the tool browser, and you can add it to a profile. The call then fails when the agent runs the automation.

**Resolution**

Turn off Secure HTTP Trigger on the automation in Contentstack Automate, or pick a different automation.

### An automation call fails because the automation is not active

**Applies to:** MCP Profile Hub

The error message contains is not activated in Contentstack Automate, so it did not run.

**Root cause**

The automation is still a draft, or someone paused it.

**Resolution**

Open the automation in Automate and activate it. The [What qualifies](/docs/developers/mcp-profile-hub-automations-and-agents#what-qualifies) section lists every condition an automation must meet to work as a tool.

### An automation call times out

**Applies to:** MCP Profile Hub

The error message contains did not respond within <MS>ms.

**Root cause**

The automation ran longer than the profile's timeout.

**Resolution**

Raise timeout on the [connector URL](/docs/developers/mcp-profile-hub-url-parameters). Contentstack caps it at 120000 ms.

### An agent run times out before it finishes

**Applies to:** MCP Profile Hub

The error message reads as below, where <STATUS> is the state of the run:

`The agent was still <STATUS> when the tool timed out.`

**Root cause**

The agent run exceeded the profile's timeout, which Contentstack caps at 120000 ms.

**Resolution**

Raise timeout on the [connector URL](/docs/developers/mcp-profile-hub-url-parameters), up to 120000 ms. If the run needs more than 120000 ms, look up the reported execution ID in Agent OS to see the result.

### An automation is missing from the tool browser

**Applies to:** MCP Profile Hub

**Root causes**

*   The automation's first step is not an HTTP trigger.
*   The automation is not active.
*   You fixed the automation less than five minutes ago.

**Resolution**

Fix the automation in Automate, then wait up to five minutes before you reopen the tool browser. Contentstack caches the discovered list on the server for five minutes, so if you reopen the tool browser sooner, it shows the same list.

### An agent is missing from the tool browser

**Applies to:** MCP Profile Hub

**Root causes**

*   The agent is unpublished or inactive.
*   The agent has no HTTP trigger.
*   The agent uses a secure trigger, which Profile Hub does not support yet.
*   You fixed the agent less than five minutes ago.

**Resolution**

1.  In Agent OS, publish and activate the agent, add an HTTP trigger, and turn off Secure HTTP Trigger.
2.  Wait up to five minutes before you reopen the tool browser.

## Profile Hub Tool Availability and Selection

### The agent calls the wrong tool, or passes invalid arguments

**Applies to:** MCP Profile Hub

A tool call fails, or runs a different operation than the one you asked for, even though the profile and the tool work.

**Root cause**

The model selects a tool that does not match the request. The model can also build arguments that do not match the tool's input schema, for example by omitting a required field on publish. Some MCP clients retry the call with corrected arguments. The MCP client and the model control this retry behavior, not the profile or the tool. Older and smaller models misread tool descriptions and input schemas more often.

**Resolution**

Retry with a newer model, or state the operation and its required values in your prompt. For the clients and models that work best, refer to [Client compatibility](/docs/developers/mcp-profile-hub-connect-a-client-to-profile-hub#client-compatibility).

### "Tool not found" error

**Applies to:** MCP Profile Hub

The tool call fails with a message like the one below:

`Tool not found in profile (looking for "<TOOL_NAME>" on profile_id <PROFILE_ID>). Use the exact tool_name stored on the profile (e.g. get_all_content_types).`

**Root causes**

*   The client or the model sent a tool name that differs from the name the profile lists.
*   Someone removed the tool from the profile's **Tool selection** step.
*   The client still holds a tool list that it fetched before the profile changed. Contentstack does not notify a connected client that the list changed.

**Resolution**

1.  List the tools again in the client, by reconnecting or by running the client's server-refresh command.
2.  If the tool is still absent, confirm that the profile's **Tool selection** step still lists it.
3.  Use the exact tool name that the client lists for the server.

**Additional Resource:** For more information on the tool list that a connected client keeps after you edit a profile, refer to the [Edit a profile](/docs/developers/mcp-profile-hub-create-a-profile#edit-a-profile) section of the Create a profile documentation.

### A catalog is missing from the tool browser

**Applies to:** MCP Profile Hub

**Root cause**

Your organization's plan does not include that product, so the tool browser does not display its tab or its tools.

**Resolution**

1.  Ask your organization's Contentstack admin to confirm the plan.
2.  Contact [Contentstack support](mailto:support@contentstack.com) to add the product. Until then, build the profile from the catalogs your plan includes.

### "Saved tools could not be loaded" message on a profile

**Applies to:** MCP Profile Hub

The profile shows the message below, where <N> is the number of affected tools:

`<N> saved tools could not be loaded`

**Root causes**

*   The tool manifests failed to load while the page opened.
*   A catalog key changed after the profile saved those tools.

**Resolution**

Reload the page to request the manifests again. Contentstack keeps the tools on the profile, and the tools stay callable.

### "project_uid is required for this delete" error

**Applies to:** MCP Profile Hub

The tool call fails with the message below:

`project_uid is required for this delete. The profile's configured project is never used as the default for a delete, so pass the project_uid explicitly.`

**Root cause**

The agent called a Launch or Automate delete tool, for example delete\_a\_project, without a project\_uid argument. Delete tools never use the project in the profile's configuration, so a delete cannot reach a project by default.

**Resolution**

Name the project in your prompt, so that the agent passes its UID as project\_uid.

**Additional Resource:** For more information on which delete tools require an explicit project\_uid, refer to the [Tool behavior](/docs/developers/mcp-profile-hub-profiles-and-catalogs#tool-behavior) section of the Profiles and catalogs documentation.

### A profile cannot save more than 200 tools

**Applies to:** MCP Profile Hub

The tool browser footer shows a count like the one below, and the browser disables the button that adds the tools:

`239 of 200 selected · 239 new · remove 39 to stay within the limit`

**Root cause**

The selection holds more than 200 tools, which is the limit for one profile.

**Resolution**

Deselect the number of tools that the footer names. To clear one catalog's saved tools at once, click **Remove all** on its card in the **Tool selection** step. Move unrelated tools to a second, focused profile.

**Additional Resource:** For more information on the tool limit per profile, refer to the [Step 1: Select tools](/docs/developers/mcp-profile-hub-create-a-profile#step-1-select-tools) section of the Create a profile documentation.