类class
agentscope.app.hubMCPHubPage
class MCPHubPage(BaseModel)
源码Source
agentscope/app/hub/_mcp/_card.py:180–195MCP 中心页码,把智能体接入外部消息渠道与企业平台。位于 agentscope.app.hub 包。
One page of MCP cards. Declared in agentscope.app.hub.
属性摘要Attribute Summary
| 属性Attribute | 类型Type | 说明Description | 值Value |
|---|---|---|---|
cards | list[MCPCard] | `cards` 字段。 | Field(title='Cards', description='The cards on this page.') |
next_cursor | str | None | 下一个游标字段。 | Field(default=None, title='Next Cursor', description='The opaque cursor fetching the following page, or ``None`` when this is the last one.') |
属性详情Attribute Detail
cards
list[MCPCard] = Field(title='Cards', description='The cards on this page.')cards 字段。声明为 list[MCPCard]。
The cards on this page.
源码Source
agentscope/app/hub/_mcp/_card.py:183next_cursor
str | None = Field(default=None, title='Next Cursor', description='The opaque cursor fetching the following page, or ``None`` when this is the last one.')下一个游标字段。声明为 str | None。
The opaque cursor fetching the following page, or None when this is the last one.
源码Source
agentscope/app/hub/_mcp/_card.py:188