# MCP Object

> Source: https://truto.one/docs/api-reference/admin/mcp/

Schema for the `MCP` resource in **Admin API**.

## Properties

- **`id`** _(string)_
  Unique identifier for the MCP server.
- **`name`** _(string)_
  Human-readable name for the MCP server.
- **`integrated_account_id`** _(string)_
  The integrated account this MCP server is bound to.
- **`config`** _(object)_
  Optional scoping for the MCP server. When omitted, all available tools for the integrated account are exposed.
  - **`methods`** _(array<string>)_
    Restrict the MCP server to these Truto method names. Combined with `tags` using AND semantics.
  - **`tags`** _(array<string>)_
    Restrict the MCP server to tools whose resources carry these tags.
- **`expires_at`** _(string)_
  Optional expiry timestamp. When set, the MCP server's token is invalidated after this time.
- **`created_by`** _(string)_
  ID of the user who created the MCP server.
- **`created_at`** _(string)_
  Time at which the MCP server was created.
- **`updated_at`** _(string)_
  Time at which the MCP server was last updated.

## Methods

- [GET /integrated-account/{integrated_account_id}/mcp](/docs/api-reference/admin/mcp/list) — List MCP servers
- [POST /integrated-account/{integrated_account_id}/mcp](/docs/api-reference/admin/mcp/create) — Create MCP server
- [GET /integrated-account/{integrated_account_id}/mcp/{id}](/docs/api-reference/admin/mcp/get) — Get MCP server
- [PATCH /integrated-account/{integrated_account_id}/mcp/{id}](/docs/api-reference/admin/mcp/update) — Update MCP server
- [DELETE /integrated-account/{integrated_account_id}/mcp/{id}](/docs/api-reference/admin/mcp/delete) — Delete MCP server
