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

# team-mcp catalog resource

> Catalog resource for an organization-owned remote MCP connection: its URL, display name, workspace access, and on/off switch. Credentials are entered separately in the dashboard.

A `team-mcp` resource defines a [team MCP](https://docs.murmur.dev/concepts/team-mcps.md): a remote MCP server whose tools Murmur gives to [agents](https://docs.murmur.dev/concepts/agents.md) in the [workspaces](https://docs.murmur.dev/concepts/workspaces.md) it allows. The resource holds the connection's settings. Its credential, an OAuth sign-in or a set of headers, is stored separately and never appears in the resource, in [`murmur get`](https://docs.murmur.dev/cli/get) output, or in Terraform state.

Team MCPs are tenant-level resources: the name is a bare DNS label, never `{workspace}/{name}`.

## Fields

| Name | Type | Required | Description |
| - | - | - | - |
| `name` | string | yes | Connection name, unique in the tenant. A DNS label (`[a-z][a-z0-9-]{0,62}`), fixed after creation. Agents see the server as `team_mcp_<name>`. The dashboard names connections it creates `mcp-<uuid>`. |
| `displayName` | string | no | Name shown to teammates and agents. |
| `description` | string | no | What the server does. Shown in the dashboard. |
| `endpoint` | string | yes | The server's MCP URL. Must be an absolute `https://` URL with a host and no user credentials, query string, or fragment. Changing it discards the saved credential; see [Credentials](#credentials). |
| `disabled` | bool | no | `true` stops new tool calls everywhere while keeping the credential and workspace access. Default: `false`. |
| `workspaceUse` | object | yes | Which [workspaces](https://docs.murmur.dev/concepts/workspaces.md) may use the connection. `scope` is `WORKSPACE_USE_SCOPE_ALL` or `WORKSPACE_USE_SCOPE_SELECTED`; with `SELECTED`, list the names in `workspaces`. `WORKSPACE_USE_SCOPE_NONE` is rejected: set `disabled` to turn a connection off. The dashboard creates connections with `ALL`. Granting a workspace use never lets its members manage the credential. |
| `identity` | string | no | Assigned by Murmur when the resource is created, and fixed after that. Omit it on create; a create that sets it is rejected, and so is an update that changes it. Credentials are bound to it. |

## Credentials

Enter a team MCP's credential in the dashboard: open **Settings → Team MCPs**, open the connection, and click **Connect**. See [Add MCP servers to agents](https://docs.murmur.dev/guides/connect-mcp-servers.md#connect-a-team-mcp). This needs `team-mcp.edit` on the connection.

A credential is bound to the connection's `identity` and `endpoint`:

* Changing `endpoint` discards it. Connect again after the change.
* Deleting the resource erases it. Recreating a resource with the same name gets a new `identity`, so it starts without a credential.

Changing `displayName`, `description`, `disabled`, or `workspaceUse` keeps the credential.

## Examples

### Create a connection with the CLI

```bash theme={null}
cat <<'EOF' | murmur set team-mcp linear
name: linear
displayName: Linear
description: Read and update Linear issues for the backend team.
endpoint: https://mcp.linear.app/mcp
workspaceUse:
  scope: WORKSPACE_USE_SCOPE_SELECTED
  workspaces:
    - backend
EOF
```

The connection has no credential yet, so agents don't get its tools until someone connects it in the dashboard.

### List connections

```bash theme={null}
murmur get team-mcp
```

The list prints one name per line, with no header.

## Manage with Terraform

Manage team MCPs with the [Terraform provider](https://docs.murmur.dev/guides/terraform.md) as `murmur_catalog_resource` resources of kind `team-mcp`. Terraform manages the connection's settings; the credential stays out of Terraform and is entered in the dashboard.

```hcl theme={null}
resource "murmur_catalog_resource" "linear_mcp" {
  kind = "team-mcp"
  name = "linear"
  payload = jsonencode({
    name        = "linear"
    displayName = "Linear"
    description = "Read and update Linear issues for the backend team."
    endpoint    = "https://mcp.linear.app/mcp"
    disabled    = false
    workspaceUse = {
      scope      = "WORKSPACE_USE_SCOPE_SELECTED"
      workspaces = ["backend", "frontend"]
    }
  })

  # Murmur assigns identity on create and rejects any change to it.
  ignore_fields = ["identity"]
}
```

Always set `ignore_fields = ["identity"]`. Murmur assigns `identity` when it creates the connection, and the configuration doesn't carry it. Without `ignore_fields`, every update would try to clear it, and Murmur rejects the update with `connection identity cannot be changed`.

After the first `terraform apply`, an administrator connects the server once in the dashboard. Terraform never reads or changes the credential, so later applies leave it in place, with two exceptions that discard it:

* An apply that changes `endpoint`.
* An apply that replaces the resource, for example after changing its `name` or `kind`, or after `terraform destroy` and a new apply. Replacing deletes the old connection, which erases its credential.

Connect again in the dashboard after either one.

### Edits in the dashboard

Once Terraform manages a team MCP, the connection is marked `managed_by: terraform`. Saving a change to its name, description, on/off switch, or **Available to** setting in the dashboard first asks you to confirm, because the next `terraform apply` reverts the change. Entering or replacing its credential is not a change to the resource and doesn't ask.

### Import a connection created in the dashboard

Find the connection's name with `murmur get team-mcp`; connections created in the dashboard are named `mcp-<uuid>`. Then import it by `team-mcp/<name>`:

```bash theme={null}
terraform import murmur_catalog_resource.linear_mcp team-mcp/mcp-3f6c2a1e-8b7d-4c1a-9e2f-5d4b3a2c1e0f
```

Import keeps the connection's `identity`, so its saved credential keeps working. Write the resource's `name` in configuration exactly as imported.

### Permissions

The identity that applies the configuration, usually a [service profile](https://docs.murmur.dev/guides/terraform.md#apply-as-a-service-profile), needs `team-mcp.read` to plan, `team-mcp.create` and `team-mcp.edit` to apply, and `team-mcp.delete` to destroy. No built-in role grants them except organization admin, so add them to the profile's [tenant binding](https://docs.murmur.dev/catalog/tenant-binding.md).

## Errors

| Message | Meaning | What to do |
| - | - | - |
| `connection identity cannot be changed` | An update set `identity` to a different value, or omitted it. | Set `ignore_fields = ["identity"]` in Terraform, or keep the value [`murmur get`](https://docs.murmur.dev/cli/get) returns when editing YAML. |
| `connection identity is assigned by the server` | A create set `identity`. | Remove `identity` from the payload. |
| `workspace_use must select ALL or SELECTED` | `workspaceUse` is missing or uses `WORKSPACE_USE_SCOPE_NONE`. | Set `workspaceUse.scope`. To turn the connection off, set `disabled: true`. |
| `mcp_connections[0].endpoint must be an absolute HTTPS URL with a host and no credentials, query, or fragment` | `endpoint` is not an HTTPS URL, or carries a query string, fragment, or `user:password@`. | Use the server's plain `https://` MCP URL. Put API keys in the credential, not the URL. |

## Related

* [Team MCPs](https://docs.murmur.dev/concepts/team-mcps.md): what agents get and how calls are authenticated.
* [Add MCP servers to agents](https://docs.murmur.dev/guides/connect-mcp-servers.md): connect a team MCP in the dashboard.
* [Manage Murmur with Terraform](https://docs.murmur.dev/guides/terraform.md)
* [Permission reference](https://docs.murmur.dev/security/permission-reference.md)


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