# agent mcp asset list (Developer Preview)

List the assets (tools, prompts, and resources) for an MCP server in the catalog.

:::note
This command is available as a developer preview. The command isn't generally available unless or until Salesforce announces its general availability in documentation or in press releases or public statements. All commands, parameters, and other features are subject to change or deprecation at any time, with or without notice. Don't implement functionality developed with these commands or tools.
:::

## Description for agent mcp asset list

Returns the assets discovered for the specified MCP server, including each asset's kind (MCP_TOOL, MCP_PROMPT, or MCP_RESOURCE), whether it is active, and whether it is available as an agent action.

## Flags

| Flag Name (Long)  | Flag Name (Short) | Description                                                                                                                                         |
| ----------------- | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- |
| `--api-version`   | N/A               | **Type:** Value<br><br>Override the api version used for api requests made by this command                                                          |
| `--flags-dir`     | N/A               | **Type:** Value<br><br>Import flag values from a directory.                                                                                         |
| `--json`          | N/A               | **Type:** Boolean<br><br>Format output as json.                                                                                                     |
| `--mcp-server-id` | `-i`              | **Type:** Value<br>**Required**<br><br>The ID of the MCP server whose assets you want to list.                                                      |
| `--target-org`    | `-o`              | **Type:** Value<br>**Required**<br><br>Username or alias of the target org. Not required if the `target-org` configuration variable is already set. |

## Examples for agent mcp asset list

List the assets for an MCP server in the default target org:

```shell
sf agent mcp asset list --target-org myOrg --mcp-server-id 0XSxx0000000001
```

List the assets for an MCP server and output as JSON:

```shell
sf agent mcp asset list --target-org myOrg --mcp-server-id 0XSxx0000000001 --json
```
