For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/zh/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/zh/api/classes/api.McpService.md.
  • 简体中文
  • Class: McpService

    Constructors

    Constructor

    new McpService(dependencies?): McpService

    Parameters

    dependencies?

    McpServiceDependencies = {}

    Returns

    McpService

    Methods

    invoke()

    invoke(options): Promise<McpInvokeResult>

    Parameters

    options

    McpInvokeOptions

    Returns

    Promise<McpInvokeResult>


    list()

    list(options): Promise<McpListResult>

    Parameters

    options

    McpOperationOptions

    Returns

    Promise<McpListResult>