# MCP Server (/mcp/mcp-server)

*MCP*

The trumpet MCP server provides a standardized interface that allows compatible AI clients to connect to your trumpet workspace. Connect natively in Claude, Cursor, ChatGPT, and other MCP-capable tools, or use the `mcp-remote` module for clients that do not support remote MCP. To use external apps inside trumpet Copilot, see the [MCP Client](#mcp-client) guide.

> **Info — Tools, use cases and FAQ:** This page covers setup and configuration. For what you can do once connected, see the [MCP Tools](#mcp-tools), [MCP Use Cases](#mcp-use-cases) and [MCP FAQ](#mcp-faq).

### Setup [#setup]

#### General [#general]

The MCP server uses **Streamable HTTP** as the primary transport, accessible at:

```
https://trumpet.app/api/mcp
```

Authentication uses **OAuth 2.0** with **Dynamic Client Registration**. On first connection, your client opens a browser-based authorisation flow where you approve access and select your workspace (if you belong to more than one). Subsequent requests use the resulting token transparently.

> **Info — Directory listings:** trumpet is listed in the Claude and ChatGPT connector directories, and in Gong and Glean. Directory versions can lag behind new releases, so if a tool from the [tools reference](#mcp-tools) is missing, add trumpet as a custom connector with the endpoint above. The MCP server is available on every trumpet plan.

#### Claude [#claude]

Add trumpet as a custom connector in Claude. This is the primary setup path — Claude Code inherits connectors configured here.

1. Open **Connectors** (or **Manage Connections**) in Claude
2. Add a **Custom Connector** and paste the server URL: `https://trumpet.app/api/mcp`
3. Click **Connect** and complete the OAuth flow on trumpet
4. Select your workspace if prompted

#### Claude Code [#claude-code]

Set up trumpet in Claude first, then use it in Claude Code. Claude Code pulls MCP connectors from your Claude account — once trumpet is connected in Claude, it is available in Claude Code sessions.

1. Follow the **Claude** setup above to connect trumpet as a custom connector
2. Open Claude Code — the trumpet connector will be available automatically

#### Cursor [#cursor]

Add the following to your Cursor MCP configuration (`.cursor/mcp.json` or Cursor MCP settings). OAuth is triggered on first tool use.

```json
{
  "mcpServers": {
    "trumpet": {
      "url": "${MCP_ENDPOINT}"
    }
  }
}
```

#### ChatGPT [#chatgpt]

Connect trumpet from **Apps** in ChatGPT: search for trumpet, connect, and sign in to trumpet when prompted. To add it as a custom connector instead, use the endpoint above.

#### Custom / other clients [#custom--other-clients]

**Building your own client** — connect to the remote MCP server over Streamable HTTP at `https://trumpet.app/api/mcp`. Your client must support **OAuth 2.0** and **Dynamic Client Registration (DCR)**. Refer to the [MCP specification](https://modelcontextprotocol.io/specification/2025-03-26) for transport and auth requirements.

**Terminal bridge via `mcp-remote`:**

```json
{
  "mcpServers": {
    "trumpet": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "${MCP_ENDPOINT}"]
    }
  }
}
```

| Setting | Value |
|---------|-------|
| `command` | `npx` |
| `args` | `-y mcp-remote https://trumpet.app/api/mcp` |
| `environment` | None |

### Setup FAQ [#setup-faq]

Common setup issues. For plans, capabilities, permissions and other troubleshooting, see the [MCP FAQ](#mcp-faq).

**Connection or auth errors** — Clear saved auth credentials and retry the OAuth flow. If you are using `mcp-remote`, run `rm -rf ~/.mcp-auth` in your terminal, then reconnect from your client's MCP settings.

**Multiple workspaces** — Each trumpet workspace requires its own authentication context. During the OAuth flow, select the workspace you want the client to access. If you use `mcp-remote`, set a separate config directory per workspace with `MCP_REMOTE_CONFIG_DIR` and authenticate each one independently.

**Remote connection dropped** — Remote MCP connections can occasionally need a reconnect. Disconnect and reconnect the trumpet server from your client's MCP settings. This is a client-side reset and does not affect your trumpet data or authentication session.

**Authentication method** — The trumpet MCP server uses OAuth 2.0 with Dynamic Client Registration. All supported clients authenticate through the browser-based OAuth flow on first connect.

A shorter guide for non-technical users: [trumpet MCP Server guide](https://intercom.help/trumpet/en/articles/14139827-trumpet-mcp-server). Privacy: [trumpet Privacy Policy](https://trumpet.app/privacy). Questions: support@sendtrumpet.com