server

package
v0.0.0-...-986d9dc Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server wraps the MCP server and connects it to the snapshot engine.

func New

func New(eng *engine.Engine, cfg *config.Config) (*Server, error)

New creates a new MCP server wired to the given engine.

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

Run starts the MCP server on the stdio transport.

Jump to

Keyboard shortcuts

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