# list()

Canonical URL: https://developers.iagenify.com/zh/sdk/ref/mcp/list/
Language: zh

`api.mcp.list() → Promise<Server[]>`

每个连接的服务器都足以显示插件,没有留下一个符号。

Status: GET /api/ai/mcp · free · no tokens, no schemas

```javascript
const servers = await api.mcp.list();
// [{ name: "example", label: "Example", url: "https://mcp.example.com/sse",
//    category: "read", allowed: 2, available: 17,
//    protocolVersion: "2026-07-28", listedAt: "…", lastError: "" }]
```

| Name | Type | Requirement | Description |
| --- | --- | --- | --- |
| `name` | string |  | 名称在这里——什么 `mcp: [...]` 取用。 |
| `label · url` | string |  | 显示名称和地址。 |
| `category` | string |  | 允许工具携带工具。 |
| `allowed` | integer |  | 允许使用多少工具。 |
| `available` | integer |  | 服务器提供多少个 。 |
| `protocolVersion` | string |  | 最后一次握手时商定的修订。 |
| `listedAt` | string |  | 当工具最后读取时。 |
| `lastError` | string |  | 最后一次拒绝,如果有的话 |

## 没有象征性,没有阴谋 {#no-token}

> **列表用于显示**
>
> 调制解码器从未出现, 工具图案也从未出现, 工具图案也从未出现, 它们是巨大的。 对于服务器工具, 调用( ) ; 对于代号, 代理需要, 代理商需要, 则存在 Agents () , 并由引擎阅读 。

## 允许使用 {#counters}

`allowed: 2` 联 年 月 日 月 日 月 月 日 月 月 日 月 月 月 日 月 月 月 日 月 月 月 日 月 月 日 月 月 日 月 月 月 月 日 月 月 月 月 日 月 月 月 月 日 月 月 月 月 月  月   月     月   月         月          月                     月                         月      月      月 `available: 17` 正常健康的身体形状 `allowed: 0` 表示服务器连接和无效,没有向任何模型申报任何服务器。

## 允许的转转成本 {#cost}

每个允许的工具都是使用服务器的每次运行的每个转弯上的一个声明。 缩放 `allowed` 给一个代理商的横跨服务器的号码是值得监视的数字。

## 最后一个错误值浮游 {#lasterror}

一个服务器, 其凭证过期, 或其地址被移动, 仍然在列表中工作, 并且在呼叫时间失败。 字段是运行发现它之前显示的服务器 。

- [get()](/zh/sdk/ref/mcp/get): 以其工具。
- [update()](/zh/sdk/ref/mcp/update): 改变允许的事物。
- [api.mcp](/zh/sdk/ref/mcp): 连接、列出和使用服务器。

```python
servers = api.mcp.list()
# [{"name": "example", "label": "Example", "url": "https://mcp.example.com/sse",
#   "category": "read", "allowed": 2, "available": 17,
#   "protocolVersion": "2026-07-28", "listedAt": "…", "lastError": ""}]
```
