[Home](/index.md) › [MCP servers](/mcp.md) › OneTrust Developer Portal MCP server

# OneTrust Developer Portal MCP server

MCP server

- 6 callable tools
- Read only
- 4 capabilities

[Installation guide](https://developer.onetrust.com/onetrust/reference/mcp)

## Overview

OneTrust publishes this remote MCP server for its Developer Portal, giving AI agents access to OneTrust API documentation and endpoints. It works with the OneTrust platform APIs.

### Capabilities

- Search OneTrust API endpoints and their parameters
- Look up details of a specific OneTrust API endpoint
- List available OneTrust OpenAPI specs and server variables
- Run OneTrust API requests from an AI code editor

## Works with

The products your agent can work with through this server.

- [OneTrust](/tools/onetrust.md): Cookie scanning and consent

## Tools

The callable functions your agent uses to work with this server.

### `list-endpoints`

Lists all API paths and their HTTP methods with summaries, organized by path.

### `get-endpoint`

Gets detailed information about a specific API endpoint, including security schemes and servers

### `search-endpoints`

Performs a deep search through paths, operations, and parameters to discover relevant API endpoints.

### `list-specs`

Lists all available OpenAPI specs.

### `execute-request`

Executes an API request with a given HAR request object.

### `get-server-variables`

Gets the server variables for each server within a specific OpenAPI spec.

## Installation

Follow the installation guide for supported clients, authentication and required permissions.

### Add OneTrust Developer Portal MCP server to Claude Code

Run this in your terminal:

```sh
claude mcp add --transport http onetrust-developer-portal https://developer.onetrust.com/mcp
```

If the server asks you to sign in, run `/mcp` in Claude Code and follow the browser prompt.

### Add OneTrust Developer Portal MCP server to Cursor

Add it with the Add to Cursor button below, or add it to `.cursor/mcp.json` in your project (`~/.cursor/mcp.json` for every project):

[Add to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=onetrust-developer-portal&config=eyJ1cmwiOiJodHRwczovL2RldmVsb3Blci5vbmV0cnVzdC5jb20vbWNwIn0%3D)

```json
{
  "mcpServers": {
    "onetrust-developer-portal": {
      "url": "https://developer.onetrust.com/mcp"
    }
  }
}
```

### Add OneTrust Developer Portal MCP server to VS Code

Add it to `.vscode/mcp.json` in your workspace. VS Code uses `servers` rather than `mcpServers`. Or run MCP: Add Server from the Command Palette and choose HTTP.

```json
{
  "servers": {
    "onetrust-developer-portal": {
      "type": "http",
      "url": "https://developer.onetrust.com/mcp"
    }
  }
}
```

### Add OneTrust Developer Portal MCP server to Codex

Run this in your terminal:

```sh
codex mcp add onetrust-developer-portal --url https://developer.onetrust.com/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.onetrust-developer-portal]
url = "https://developer.onetrust.com/mcp"
```

If the server uses OAuth, sign in with `codex mcp login onetrust-developer-portal`.

### Add OneTrust Developer Portal MCP server to Claude

Add it as a custom connector with this URL:

```
https://developer.onetrust.com/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. Choose how to sign in, then click Add.

On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.

### Add OneTrust Developer Portal MCP server to other clients

For any other client that connects to remote MCP servers over HTTP, use this URL:

```
https://developer.onetrust.com/mcp
```

[Read the installation guide](https://developer.onetrust.com/onetrust/reference/mcp)

## Sources

Documentation and source code reviewed on 10 November 2026.

- [developer.onetrust.com/onetrust/reference/mcp](https://developer.onetrust.com/onetrust/reference/mcp)
