AS AgentScopeAPI 手册 / API Reference
类class agentscope.app.hub

MCPHubPage

class MCPHubPage(BaseModel)
源码Source agentscope/app/hub/_mcp/_card.py:180–195

MCP 中心页码,把智能体接入外部消息渠道与企业平台。位于 agentscope.app.hub 包。

One page of MCP cards. Declared in agentscope.app.hub.

属性摘要Attribute Summary

属性Attribute类型Type说明Description值Value
cardslist[MCPCard]
`cards` 字段。
Field(title='Cards', description='The cards on this page.')
next_cursorstr | 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:183

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.')

下一个游标字段。声明为 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
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.