mcp

package
v0.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mcp provides the MCP (Model Context Protocol) engine plugin. It registers the mcp_tool trigger type, the mcp workflow handler type, and the mcp.registry module type.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugin

type Plugin struct {
	plugin.BaseEnginePlugin
}

Plugin provides MCP-related module types, trigger types, and workflow handlers.

func New

func New() *Plugin

New creates a new MCPPlugin instance.

func (*Plugin) ModuleFactories

func (p *Plugin) ModuleFactories() map[string]plugin.ModuleFactory

ModuleFactories returns the factory for the mcp.registry module type.

func (*Plugin) TriggerFactories

func (p *Plugin) TriggerFactories() map[string]plugin.TriggerFactory

TriggerFactories returns trigger constructors for the mcp_tool trigger type.

func (*Plugin) WorkflowHandlers

func (p *Plugin) WorkflowHandlers() map[string]plugin.WorkflowHandlerFactory

WorkflowHandlers returns workflow handler factories for the mcp workflow type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL