{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","img"]},"redocly_category":"AI","product_name":"Headless","type":"markdown"},"seo":{"title":"Connecting ChatGPT to Treasure AI Studio","description":"Add Treasure AI Studio to ChatGPT as a custom MCP server with OAuth, then run Studio agents and Actions from a ChatGPT chat with your own permissions.","siteUrl":"https://docs.treasure.ai","image":"/assets/treasure-ai-social-preview.e6fefb35676f6da91c2d1bc783bd39e618e7af2b1ad3aa52a96ae69d72e700fe.b1bff462.png","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"connecting-chatgpt-to-treasure-ai-studio","__idx":0},"children":["Connecting ChatGPT to Treasure AI Studio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can add Treasure AI Studio to ChatGPT as a custom MCP server, so you can run Studio agents and Actions from a ChatGPT chat. Each request runs with the work folders, permissions, and cost of the person who connected. This page covers the setup in Treasure AI Studio and in ChatGPT, and what happens when you send a request. Use it when you already work in ChatGPT and want audience information or the output of a Studio Action there, without switching tools."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"how-the-connection-is-set-up","__idx":1},"children":["How the Connection Is Set Up"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Two people set up the connection, in two places."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"26%","data-label":"Who"},"children":["Who "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"32%","data-label":"Where"},"children":["Where "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"42%","data-label":"What They Do"},"children":["What They Do "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Account administrator"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Treasure AI Studio, under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings → Agent Channels"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Creates one OAuth endpoint and copies its Connection URL"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Each person who uses ChatGPT"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ChatGPT, under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Plugins"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Adds the Connection URL to ChatGPT, signs in to Studio, and allows access"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Only account administrators can create OAuth endpoints. Everyone else connects to an endpoint that an administrator has already created. Each person also needs a Treasure AI Studio account in the same account, with access to the work folders they want to use."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"ChatGPT Enterprise is not covered"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The steps on this page were checked with a ChatGPT account that is not ChatGPT Enterprise. ChatGPT Enterprise is set up separately, so confirm that these steps work in your Enterprise workspace before you rely on them."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Check ChatGPT's data settings before you connect. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#data-sharing-with-chatgpt"},"children":["Data Sharing with ChatGPT"]}," explains what the connection dialog says about your chats."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1-create-an-oauth-endpoint-in-studio","__idx":2},"children":["Step 1: Create an OAuth Endpoint in Studio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["An account administrator creates one OAuth endpoint, and everyone who connects uses its Connection URL. For the full setup, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-oauth#create-an-oauth-endpoint"},"children":["Create an OAuth Endpoint"]},"."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings → Agent Channels"]}," and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["New MCP Endpoint"]}," in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["MCP Endpoints"]}," section."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connection method"]},", select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth · connected user"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter an ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Endpoint name"]},", such as ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["ChatGPT MCP OAuth"]},", and add an optional ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Comment"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create endpoint"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["On the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth endpoint created"]}," screen, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Copy"]}," next to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connection URL"]},"."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The endpoint's detail page shows its status as ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Active"]},". Give the Connection URL to each person who will connect ChatGPT to it. This guide uses the endpoint's own Connection URL. The common MCP URL is an alternative, described in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-oauth#the-common-mcp-url"},"children":["The Common MCP URL"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2-add-treasure-ai-studio-to-chatgpt","__idx":3},"children":["Step 2: Add Treasure AI Studio to ChatGPT"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each person does this in ChatGPT."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In ChatGPT, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Plugins"]}," in the sidebar, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add"]},", and then select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add custom MCP server"]},"."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/chatgpt-add-custom-mcp-server-menu.3ec7398e31356c197e173f690d752c7ca368b4c9d9ac59bf2c9950db98ae8bc3.5866d770.webp","alt":"ChatGPT Add menu on the Plugins page, with the Add custom MCP server option","framed":false,"withLightbox":true,"width":"360px"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},", such as ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Treasure AI Studio"]},", and an optional ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},". Keep ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connection"]}," set to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Server URL"]},", and paste the Connection URL from Step 1."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authentication"]}," to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["OAuth"]},". Leave ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Advanced OAuth settings"]}," closed to use the OAuth settings that ChatGPT discovers."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Read the risk notice, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["I understand and want to continue"]},", and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create as a plugin"]},". The notice asks you to connect only to MCP servers you trust."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/chatgpt-add-custom-mcp-server-auth.4e8f8152090543457ed2ceb0bb9ff8d87319032eba3f81c8cfd5c044f571b53c.5866d770.webp","alt":"Add custom MCP server dialog showing Authentication set to OAuth, the collapsed Advanced OAuth settings, the custom MCP server risk notice, the trust confirmation checkbox, and the Create as a plugin button","framed":false,"withLightbox":true,"width":"480px"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":5},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connect Treasure AI Studio"]}," dialog, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Connect Treasure AI Studio"]},". Your browser opens Treasure AI Studio."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/chatgpt-connect-dialog.fbd303b56d1d6505708e96cb6190696c4e2dd9bb2d513d12a8a48c1bca2799cc.5866d770.webp","alt":"Connect Treasure AI Studio dialog with a notice about data shared with the app and the Connect Treasure AI Studio button","framed":false,"withLightbox":true,"width":"480px"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":6},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["If Studio asks you to sign in, sign in. On ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Authorize MCP access"]},", check the callback host shown at the top, check the account and endpoint name, and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Allow access"]},"."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/chatgpt-authorize-permissions.606d24051efa4890dca05dc7287b1a6108d82961baca3ef97c0addf6a48bf6c8.5866d770.webp","alt":"Authorize MCP access section listing the requested permissions: view work folders, list Actions, read execution results, run Actions, and start or continue chats","framed":false,"withLightbox":true,"width":"480px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The requested permissions are to view work folders, list Actions, read execution results, run Actions, and start or continue chats. These are the same permissions described in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-oauth#the-mcp-permission"},"children":["The MCP Permission"]},"."]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":7},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Check the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Plugins"]}," page. Treasure AI Studio appears under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Created by you"]},", on the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Personal"]}," tab."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/chatgpt-plugin-installed.70d6111fc09b30fafdb41b8c5733d5780a70178dd44677f9040081ad8cbdbddd.5866d770.webp","alt":"Plugins page showing Treasure AI Studio under Created by you on the Personal tab, with the description entered during setup","framed":false,"withLightbox":true,"width":"640px"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-3-send-a-request-from-chatgpt","__idx":4},"children":["Step 3: Send a Request from ChatGPT"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Start a new chat and ask for something that needs Studio. For example, you can ask ChatGPT to analyze your audience through Treasure AI Studio."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Start a new chat and send a request that needs Studio, such as ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["Analyze my audience via Treasure AI Studio"]},". ChatGPT shows ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Listing Available Work Folders"]}," while it looks up the work folders you can use."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/chatgpt-start-chat.690ed77691c45f741461e6584a18824118d6bf373795633c533d5de26338bdb8.5866d770.webp","alt":"ChatGPT chat with the prompt Analyze my audience via Treasure AI Studio and the status Listing Available Work Folders","framed":false,"withLightbox":true,"width":"640px"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["When ChatGPT asks ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Allow ChatGPT to use Treasure AI Studio?"]},", review the description and choose ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Allow once"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Always allow"]},", or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deny"]},". Before you choose ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Always allow"]},", check what the Action does in Studio."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/chatgpt-tool-approval.43e71fb51c5b48d28ce3ccd8ea5f0937bc6bbf2e515f1ba1d8679b7e81d003f4.5866d770.webp","alt":"ChatGPT prompt asking to allow ChatGPT to use Treasure AI Studio, with Always allow, Deny, and Allow once buttons","framed":false,"withLightbox":true,"width":"640px"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Review the result. In the audience example, ChatGPT listed the audiences available to you with their member counts, and offered to analyze one of them."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"what-runs-in-studio","__idx":5},"children":["What Runs in Studio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each request runs as the person who connected. It uses that person's work folders, permissions, and cost. Studio does not ask for approval before each request. The confirmation you see in this flow is ChatGPT's prompt in Step 3, not a Studio prompt."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Requests appear in your Studio chat list as ordinary chats, with the name of the work folder they ran in. They can change files in your work folders as far as your work mode allows. ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-oauth#the-chats-are-the-persons-own-studio-chats"},"children":["The Chats Are the Person's Own Studio Chats"]}," describes this in more detail."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each tool has its own description, and ChatGPT shows that description in the prompt. In the example in Step 3, the description says the request is a read-only analysis. That describes the tool, not the connection. The connection grants the permissions listed in Step 2, so check the Action in Studio before you rely on a tool's description."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"data-sharing-with-chatgpt","__idx":6},"children":["Data Sharing with ChatGPT"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The connection dialog in Step 2 tells you what ChatGPT shares with the app. It says that ChatGPT may share relevant memories, if memory is enabled, and chats with Treasure AI Studio to support interactions with it. It also says that Treasure AI Studio's use of this data is subject to its terms and privacy policy."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The dialog also says that information from the app may be used to improve ChatGPT's models when ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Improve the model for everyone"]}," is enabled. You can disconnect Treasure AI Studio in ChatGPT's settings to stop new access, or delete conversations that include data from Treasure AI Studio."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Review these settings in ChatGPT before you connect. Do not send chats that include data you would not share with the app."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"stop-the-connection","__idx":7},"children":["Stop the Connection"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can stop the connection for one person or for everyone. Stopping it in Studio refuses requests on the Studio side, and removing the plugin in ChatGPT stops ChatGPT from using the connection."]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Stop everyone (Studio)."]}," Turn off the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enabled"]}," switch on the endpoint. ChatGPT's requests are refused until you turn it back on."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Stop one person (Studio)."]}," Remove the person from the account, or remove their access to the work folders involved."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Remove the plugin (ChatGPT)."]}," The person removes Treasure AI Studio from ChatGPT. This stops ChatGPT from using the connection, but it does not end the authorization in Studio."]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To remove the plugin in ChatGPT, use ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Uninstall"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delete plugin"]},"."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In ChatGPT, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Plugins"]},", open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["..."]}," menu on the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure AI Studio"]}," card under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Created by you"]},", and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Uninstall"]},"."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/chatgpt-uninstall-menu.1169d7e3153f3c6d70113aa09655a8b49a7ff08692feff563f1a10ba974434c9.5866d770.webp","alt":"ChatGPT Plugins page with the ... menu open on the Treasure AI Studio card, showing Try now, Settings, and Uninstall","framed":false,"withLightbox":true,"width":"480px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After you uninstall, the plugin is no longer listed as installed. It stays under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Created by you"]}," with a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["+"]}," button, so you can install it again."]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":2},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["To delete the plugin and its connections, open the plugin's detail page, open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["..."]}," menu, and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delete plugin"]},". In the confirmation dialog, which asks \"Permanently delete Treasure AI Studio and its connections? This can't be undone\", select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Delete plugin"]}," again."]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/chatgpt-delete-plugin-confirm.d978cf742807baee0fe38072f4dab344fdd8d97c22d1fab98f1583b91f30b4bf.5866d770.webp","alt":"ChatGPT confirmation dialog asking whether to permanently delete Treasure AI Studio and its connections, with Cancel and Delete plugin buttons","framed":false,"withLightbox":true,"width":"480px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To end a person's access in Studio, use one of the options above."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"troubleshooting","__idx":8},"children":["Troubleshooting"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"38%","data-label":"Symptom"},"children":["Symptom "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"62%","data-label":"Cause and Fix"},"children":["Cause and Fix "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The consent screen says ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["\"No accessible account has an OAuth endpoint for the requested MCP resource.\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Your accounts can't be offered for this endpoint. The endpoint may be deleted, you may not be a member of its account, or the account may require a different identity provider. If the screen offers ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Sign in"]}," with another provider, use it. Otherwise, ask an account administrator"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The consent screen says the endpoint ",{"$$mdtype":"Tag","name":"em","attributes":{},"children":["\"is stopped or unavailable.\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The endpoint is disabled. An account administrator turns the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enabled"]}," switch back on"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Requests are refused with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mcp_disabled"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The endpoint is disabled. An account administrator enables it"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Requests are refused with ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["403"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["insufficient_scope"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The connection doesn't include the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mcp"]}," permission. Authorize the connection again and grant ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mcp"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Other errors after you connect"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["See the troubleshooting table in ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-oauth#troubleshooting"},"children":["OAuth MCP Endpoints"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next-steps","__idx":9},"children":["Next Steps"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-oauth"},"children":["OAuth MCP Endpoints"]},": permissions, the common MCP URL, and how access ends."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/mcp-clients"},"children":["Connecting an MCP Client"]},": how other MCP clients connect."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/ai-studio/agent-channels/channel-chats"},"children":["What an Agent Channel Chat Can Reach"]},": what these chats can and cannot change."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/products/headless"},"children":["Headless"]},": the overview of connecting other AI tools to Treasure AI Studio."]}]}]},"headings":[{"value":"Connecting ChatGPT to Treasure AI Studio","id":"connecting-chatgpt-to-treasure-ai-studio","depth":1},{"value":"How the Connection Is Set Up","id":"how-the-connection-is-set-up","depth":2},{"value":"Step 1: Create an OAuth Endpoint in Studio","id":"step-1-create-an-oauth-endpoint-in-studio","depth":2},{"value":"Step 2: Add Treasure AI Studio to ChatGPT","id":"step-2-add-treasure-ai-studio-to-chatgpt","depth":2},{"value":"Step 3: Send a Request from ChatGPT","id":"step-3-send-a-request-from-chatgpt","depth":2},{"value":"What Runs in Studio","id":"what-runs-in-studio","depth":2},{"value":"Data Sharing with ChatGPT","id":"data-sharing-with-chatgpt","depth":2},{"value":"Stop the Connection","id":"stop-the-connection","depth":2},{"value":"Troubleshooting","id":"troubleshooting","depth":2},{"value":"Next Steps","id":"next-steps","depth":2}],"frontmatter":{"seo":{"title":"Connecting ChatGPT to Treasure AI Studio","description":"Add Treasure AI Studio to ChatGPT as a custom MCP server with OAuth, then run Studio agents and Actions from a ChatGPT chat with your own permissions."}},"lastModified":"2026-11-13T06:46:11.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/products/headless/chatgpt","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}