Fix ChatGPT custom MCP server problems with Metorial
Fix a Metorial plugin in ChatGPT that cannot connect, returns invalid_client, shows no tools, or misses new tools until an admin refreshes its actions.
If a Metorial plugin shows no tools in ChatGPT, install it and start a new conversation. If its tools are out of date, select Refresh on the connection in Plugins. If the sign-in fails with redirect_uri is not allowed for this portal, a portal admin enables Secure web apps under Allowed OAuth Redirects.
What you'll learn
- Why a Metorial plugin cannot connect or sign in
- How to make new or missing tools appear
- How to recreate the connection
Before you start
- Metorial added as a custom MCP server (Connect ChatGPT)
- ChatGPT on the web. The mobile apps cannot connect custom MCP servers
- For portal changes, the admin CLI:
npm install -g @metorial/admin, thenmetorial-admin login
Connecting and sign-in
"Add custom MCP server" is not in the Plugins menu
Workspace policy decides who can add custom MCP servers. On Business workspaces only admins and owners can. On Enterprise and Edu, an admin grants the Create plugins with MCPs permission to selected members. Ask your workspace admin for it.
ChatGPT cannot connect to the server
ChatGPT connects from OpenAI's servers, so the Magic MCP URL has to answer on the public internet over HTTPS. Copy the URL again from the Magic MCP URL card on your portal's home page, paste it unchanged, and choose OAuth as the authentication method. Check that the URL answers:
A 401 means Metorial is up and the URL is right.
redirect_uri is not allowed for this portal
ChatGPT returns from the sign-in to an HTTPS address, either https://chatgpt.com/connector/oauth/<callback-id> or https://chatgpt.com/connector_platform_oauth_redirect, and the portal does not allow it. A portal admin opens Settings, Client Settings, and enables Secure web apps (https://*/*) under Allowed OAuth Redirects. From the CLI:
The command replaces the portal's whole list. Run portals get first and add the patterns your other clients still need. To allow ChatGPT only, choose Custom and enter https://chatgpt.com/*. Then connect again in ChatGPT.
invalid_client
ChatGPT registered itself with Metorial when the plugin was created and reuses that registration. Metorial answers Invalid oauth client once it no longer knows the registration, which happens after three months without use. Recreate the plugin so ChatGPT registers again:
- In Plugins, remove the Metorial plugin.
- Select the plus button, then Add custom MCP server.
- Paste the Magic MCP URL, choose OAuth, and select Create as a plugin.
- Install the plugin and sign in.
You have to sign in again
ChatGPT renews the sign-in with the refresh token Metorial issued. The renewal fails after 30 days without use, or when the token is revoked in Metorial. Open the plugin and connect again with your company account.
Access Denied
Metorial's sign-in page shows this when the authorization request was rejected, so ChatGPT got no access to your integrations. Close the window, start the connection again from ChatGPT, and select at least one integration on the consent screen.
Tools
The plugin exists but no tools appear
Creating the plugin does not install it.
- Install the plugin from Plugins.
- Start a new conversation. ChatGPT loads plugin tools when a conversation starts.
- Type @ in the prompt box and select the Metorial plugin.
If the list is still empty, Metorial serves you no tools. Check your account from a terminal:
An empty list means you have connected no integration yet. Connect one with metorial setup, then connect the plugin again and select it on the consent screen.
New Metorial tools do not show up
ChatGPT keeps the tool list it read when the server was added.
- For your own connection, open it in Plugins and select Refresh.
- For an app published to the workspace, an admin opens Workspace settings, then Apps, opens the more options menu next to the app, and selects Action control, then Refresh.
- The admin enables the new actions. They are disabled by default after a refresh.
- Start a new conversation.
ChatGPT answers without using Metorial
The plugin applies to the message where you select it. Type @, pick the Metorial plugin, and name the action you want. Select it again when a follow-up needs fresh data.
A write action asks for confirmation or is blocked
ChatGPT asks before some write actions and blocks some risky ones, depending on app permissions. On Enterprise and Edu, a workspace admin can also switch single actions off under Action control. If the tool result carries a Metorial error instead, look the text up in Tool calls fail.
See what happened
ChatGPT has no documented log view for a custom MCP server. In the Metorial portal, Connections lists ChatGPT's connection and Operations lists each tool call. An admin finds the same calls with:
Start over
Refresh first
Open the connection in Plugins and select Refresh. This fixes a stale tool list without a new sign-in.
Remove and add the plugin
Remove the Metorial plugin. Select the plus button in Plugins, then Add custom MCP server. Paste the Magic MCP URL, choose OAuth, select I understand and want to continue, then Create as a plugin.
Check it worked
Install the plugin, start a new conversation, type @, and select the Metorial plugin. Ask for a list from one of your integrations.
Next steps
- Sign-in and OAuth errors: Metorial's side of the sign-in
- Tools are missing: why ChatGPT sees fewer tools than you expect
- Error reference: every Metorial error message with its fix