> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuraltrust.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> These docs cover three products: TrustGate (AI agent gateway), TrustGuard (runtime security), and TrustTest (AI red teaming). Start from each product overview for the definition and How it works. Prefer the .md URL next to a page in /llms.txt when you need the full article. Use /llms-full.txt for a single-file dump of the site.

# ChatGPT (Business & Enterprise)

> Connect ChatGPT to the TrustGate Employee portal as a custom MCP plugin so tool calls go through the gateway, with TrustGuard policies on that traffic. Prompts and model responses stay on OpenAI.

ChatGPT is OpenAI's organization-managed assistant, available on the web and
in desktop and mobile apps. Point it at the TrustGate
[Employee portal](https://docs.neuraltrust.ai/trustgate/mcp/store.md) MCP URL, published as a workspace
plugin, so members reach the MCP servers they have installed — each person as
themselves, bounded by their [Access](https://docs.neuraltrust.ai/trustgate/access/overview.md) level.

This path covers tool calls and tool results that go through TrustGate.
[TrustGuard](https://docs.neuraltrust.ai/trustgate/policies/trustguard-guardrail.md) can evaluate that MCP
traffic when a TrustGuard policy is attached to the gateway. ChatGPT has no
organization inference hook, so the chat prompts and model responses themselves
stay on OpenAI and are not evaluated. To put chat itself behind TrustGate, use
the [Open WebUI integration](https://docs.neuraltrust.ai/integrations/open-webui.md). Codex in the ChatGPT
desktop app is a separate client; see the [Codex integration](https://docs.neuraltrust.ai/integrations/codex.md).

## NeuralTrust controls

| Product | Scope | Controls |
| - | - | - |
| **[TrustGate](https://docs.neuraltrust.ai/trustgate/overview.md)** | Exposes the MCP servers each person has installed on the [Employee portal](https://docs.neuraltrust.ai/trustgate/mcp/store.md), through one fixed MCP URL. MCP (Model Context Protocol) connects ChatGPT to systems such as trackers, databases, and internal APIs. | Tool availability · per-person authentication · per-tool rate limits |
| **[TrustGuard](https://docs.neuraltrust.ai/trustguard/overview.md)** | Evaluates tool calls and tool results on that MCP path against a [policy](https://docs.neuraltrust.ai/trustguard/concepts/policies.md) attached to the gateway. | Monitor · Block · Transform |

> [!WARNING]
>
> ChatGPT sends prompts and model responses directly to OpenAI. There is no
> inference hook like the one in [Claude
> Enterprise](https://docs.neuraltrust.ai/integrations/claude-enterprise.md), and you cannot point ChatGPT at a
> TrustGate LLM base URL. Built-in web search and browsing also bypass TrustGate.
> TrustGuard on this path sees MCP tool traffic only, not the ChatGPT conversation
> itself.

## Before you start

| Requirement | Notes |
| - | - |
| A ChatGPT **Business** or **Enterprise/Edu** workspace | Full MCP, including write tools, is available on these plans. **Pro** can connect custom MCP servers with read/fetch permissions only. **Plus** and **Free** are not listed for custom MCP servers. |
| Admin or owner to create and publish the plugin | On **Business**, only admins and owners can create and publish. On **Enterprise/Edu**, admins can use role-based access control to grant the **Create plugins with MCPs** permission to selected members; only admins and owners can publish to the workspace. |
| Access to the [Employee portal](https://docs.neuraltrust.ai/trustgate/mcp/store.md) | Members need an Access level that lets them install and use the servers they need. The **Employee** role can open the portal and nothing else. |
| The Employee portal's MCP URL | Copy it from the gateway's settings, next to the LLM and MCP gateway URLs. ChatGPT authenticates with OAuth; do not paste a personal key or an application key. An application key cannot open the portal. |
| A publicly reachable MCP host | ChatGPT calls the endpoint from OpenAI's cloud, not from the user's machine. Add the server from ChatGPT on the **web**. |

The Employee portal's MCP URL is one fixed address for everyone, on the
gateway's MCP host:

```text theme={null}
https://<mcp-host>/store/mcp
```

For example, `https://acme.mcp.neuraltrust.ai/store/mcp`.

> [!WARNING]
>
> The MCP URL must be reachable from the public internet, or from allowlisted
> OpenAI egress. A Hybrid-only MCP endpoint needs a public path or one of
> TrustGate's private-network options before the plugin can connect.

To give every member the same admin-bound toolkit instead of each person's
installed servers, you can point ChatGPT at an [MCP
application](https://docs.neuraltrust.ai/trustgate/mcp/overview.md) **Connect** URL
(`https://<mcp-host>/<application-slug>/mcp`) instead. See [Connect an
agent](https://docs.neuraltrust.ai/trustgate/mcp/connect.md).

## Connect TrustGate as a plugin

## 1. Install servers and copy the Employee portal URL

Open the [Employee portal](https://docs.neuraltrust.ai/trustgate/mcp/store.md). In the **MCP Catalog**,
install the servers members should use. If a server shows **Connect**, open the
connect link and sign in once; if it shows **Needs setup**, finish the hosted
form. Tools are available on the portal's MCP URL once the state is
**Installed**.

Copy the Employee portal's MCP URL from the gateway's settings, next to the LLM
and MCP gateway URLs:

```text theme={null}
https://<mcp-host>/store/mcp
```

Pointing an MCP client at this URL runs an OAuth sign-in the first time. See
[From an MCP client](https://docs.neuraltrust.ai/trustgate/mcp/store.md#from-an-mcp-client).

## 2. Attach TrustGuard to the gateway

TrustGuard is optional, but without it TrustGate only routes and authorizes
tools — it does not inspect tool arguments or results. Follow
[TrustGuard](https://docs.neuraltrust.ai/trustgate/policies/trustguard-guardrail.md) (and the
[TrustGate integration](https://docs.neuraltrust.ai/integrations/trustgate.md)):

1. If this gateway has no runtime collector yet, create one under **Agent
   Security → Collectors → Catalog → Gateway → TrustGate**, or use **Create
   collector** on the policy form. Bind it to the gateway. TrustGate is native:
   there is no collector API key.
2. On the collector's **Policies** tab, assign a default TrustGuard
   [policy](https://docs.neuraltrust.ai/trustguard/concepts/policies.md). Include
   [Data Loss Prevention](https://docs.neuraltrust.ai/trustguard/detectors/data-loss-prevention.md) on Input
   (and Output, if you also want results scanned) and
   [Indirect Prompt Injection](https://docs.neuraltrust.ai/trustguard/detectors/agent-mcp-security.md) on
   Output, which is where MCP tool results arrive. See [Where each detector
   applies](https://docs.neuraltrust.ai/trustguard/detectors/where-detectors-apply.md).
3. In TrustGate, open **Policies → Library → TrustGuard**, select that
   collector, and set **Direction** to **Request & Response** so both tool
   calls and tool results are inspected.
4. Set **Requests from** to *All traffic*, or to the **Groups** those people
   belong to — not only to an application. The Employee portal is not an
   application, so a policy scoped only to applications does not cover this
   path. **Resources** can stay *All resources*, or be narrowed to selected MCP
   servers and tools. See [Scope](https://docs.neuraltrust.ai/trustgate/policies/overview.md#scope).

Create the TrustGuard policy in **Observe** mode, and start the gateway policy
in **Observe** as well. Both have to be in **Enforce** before anything is
blocked: a gateway policy in Enforce against a TrustGuard policy still in
Observe blocks nothing. Review the results in **Activity**, then switch both
to **Enforce**. See [Modes and failures](https://docs.neuraltrust.ai/trustgate/policies/trustguard-guardrail.md#modes-and-failures).

To limit how often a tool can be called, you can also attach the [Per-Tool Rate
Limiter](https://docs.neuraltrust.ai/trustgate/policies/per-tool-rate-limiter.md) policy, with the same scope
consideration for Employee portal traffic.

## 3. Add a custom MCP server in ChatGPT

On ChatGPT **web**, go to **Plugins → Add → Add custom MCP server**. You do not
need to turn on Developer Mode.

1. Enter a name, for example `TrustGate`, and optionally a description.
2. Under **Connection**, enter the Employee portal MCP URL above.
3. Set authentication to **OAuth**.
4. Review the risk warning, select **I understand and want to continue**, and
   select **Create as a plugin**.
5. Review the discovered tools and metadata.

Each member completes OAuth the first time they connect, and then sees their
own installed catalogue.

## 4. Publish the plugin to the workspace

Until you publish it, the plugin is a draft under **Personal** and is not
available to the rest of the workspace.

In the admin **Plugins** page, publish it with:

| Setting | Value |
| - | - |
| **Availability** | **Enabled** |
| **Installation policy** | **Available** or **Installed by default** |

Members then install it, or receive it already installed, before using it in a
conversation.

## 5. Use the plugin in a chat

Start a new conversation, type `@`, and select the plugin. The model may not
pick it automatically; `@` is the reliable way to invoke it.

Write tools require confirmation, subject to ChatGPT's confirmation settings.

## 6. Verify in TrustGate

Call a tool from an installed server, then open **Activity** in the console. The
call is there, under the person who signed in.

If you attached TrustGuard, confirm the matching event in TrustGuard
**Activity** as well — for an allowed call and for a blocked one. A policy
that is unattached, scoped only to applications, or still in **Observe** can
otherwise look the same as no policy at all.

## Route tool calls only through TrustGate

To send all external tool calls through NeuralTrust, disable native connectors
in the workspace (for example Linear) so TrustGate is the only MCP path.
Descriptive tool names help ChatGPT choose the right tool from the TrustGate
toolkit.

Built-in web search and browsing do not go through TrustGate.

## Troubleshooting

| Symptom | Cause |
| - | - |
| The plugin shows a desktop-only icon and cannot be installed from the web | The plugin was created from the ChatGPT desktop app, or the MCP URL is not publicly reachable. Recreate it from ChatGPT on the **web** with a public Employee portal MCP URL (`/store/mcp`). |
| The plugin is missing for other members | It is still a draft under **Personal**. Publish it from the admin **Plugins** page with **Availability** set to **Enabled**. |
| A tool is missing, or a call errors after you changed the toolkit | After an admin publishes the plugin, ChatGPT uses a frozen snapshot of the tools. Republish after members install or remove servers, or after you change an application's toolkit. |
| ChatGPT does not call TrustGate tools | The plugin is mainly invoked with `@`. The model may not pick it automatically. Disable native connectors (for example Linear) if those should not be an alternative path, and use descriptive tool names. |
| Built-in web search or browsing never appears in Activity | Those features do not go through TrustGate. |
| The plugin saves but never connects | The MCP URL is not reachable from OpenAI's cloud, or OAuth failed. Confirm you used the Employee portal URL (`/store/mcp`), not an application key. |
| Plugin connects, no tools | The signed-in person has no servers in **Installed** state in the **MCP Catalog**, Access does not grant them, or an upstream account still needs **Connect**. |
| No TrustGuard events for ChatGPT tool calls | The TrustGuard policy is missing, still in **Observe**, or **Requests from** is limited to applications. Set it to *All traffic* or to the relevant **Groups**. |

## Related

* [Employee portal](https://docs.neuraltrust.ai/trustgate/mcp/store.md): what people install, the `/store/mcp` URL, and connecting from an MCP client
* [TrustGuard](https://docs.neuraltrust.ai/trustgate/policies/trustguard-guardrail.md): attach TrustGuard to LLM and MCP traffic at the gateway
* [TrustGate and TrustGuard](https://docs.neuraltrust.ai/integrations/trustgate.md): collector, policy, verdict, and failure behavior
* [Where each detector applies](https://docs.neuraltrust.ai/trustguard/detectors/where-detectors-apply.md): Data Loss Prevention on tool arguments, Indirect Prompt Injection on MCP tool results
* [Policies overview](https://docs.neuraltrust.ai/trustgate/policies/overview.md): **Requests from** and **Resources**, including *All traffic*
* [Access](https://docs.neuraltrust.ai/trustgate/access/overview.md): what a person may install and call
* [Open WebUI](https://docs.neuraltrust.ai/integrations/open-webui.md): put chat itself behind TrustGate's LLM plane
* [Codex](https://docs.neuraltrust.ai/integrations/codex.md): TrustGuard lifecycle hooks and TrustGate MCP for OpenAI's coding agent, including the ChatGPT desktop app
* [Claude Enterprise](https://docs.neuraltrust.ai/integrations/claude-enterprise.md): organization inference hooks and managed MCP connectors on Claude
* [Connect an agent](https://docs.neuraltrust.ai/trustgate/mcp/connect.md): the application Connect URL, when you want a fixed admin-bound toolkit
* [Connecting custom MCP servers in ChatGPT](https://help.openai.com/en/articles/12584461-connecting-custom-mcp-servers-in-chatgpt): OpenAI's reference


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.