runtime

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 18 Imported by: 0

Documentation

Overview

Package runtime builds MCP resources and tools from the YAML DSL.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// Logger is used for structured logging.
	Logger *slog.Logger
	// Audit records approval and tool events.
	Audit audit.Logger
	// Templates provides localized messages.
	Templates templates.Renderer
}

Builder constructs an MCP server from the DSL config.

func (Builder) Build

func (b Builder) Build(cfg *dsl.Config) (*mcp.Server, error)

Build creates an MCP server with tools and resources.

Directories

Path Synopsis
Package approver defines interfaces for approval checks.
Package approver defines interfaces for approval checks.
Package executor implements tool execution backends.
Package executor implements tool execution backends.

Jump to

Keyboard shortcuts

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