AS AgentScopeAPI 手册 / API Reference
包package agentscope.mcp

agentscope.mcp

module agentscope.mcp

agentscope.mcp 属于MCP 集成,连接 MCP 服务并暴露工具。 该包共收录 3 个公开类型。

The MCP module in AgentScope, that provides fine-grained control over the MCP servers.

源码Source agentscope/mcp/__init__.py:1

类Classes

HttpMCPConfig
类class
HTTP MCP 服务端配置。
The HTTP MCP server configuration.
MCPClient
类class
MCP 客户端
The unified MCP client in AgentScope.
StdioMCPConfig
类class
stdio MCP 配置,保存相关配置项。
The STDIO MCP server configuration.
基于官方固定版本源码静态生成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.