Documentation
¶
Overview ¶
Package mcp provides a Model Context Protocol (MCP) server that exposes workflow engine functionality to AI assistants. The server dynamically reflects available module types, step types, trigger types, plugin information, and configuration validation so that AI tools can author and validate workflow YAML files with accurate, up-to-date knowledge.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = "dev"
Version is the MCP server version, set at build time.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps an MCP server instance and provides workflow-engine-specific tools and resources.
func NewServer ¶
NewServer creates a new MCP server with all workflow engine tools and resources registered. pluginDir is the directory where installed plugins reside (e.g., "data/plugins"). If set, the server will read plugin manifests from this directory and include plugin-provided types in all type listings.
func (*Server) MCPServer ¶
MCPServer returns the underlying mcp-go server instance (useful for testing).
func (*Server) ServeStdio ¶
ServeStdio starts the MCP server over standard input/output.