mcp

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: Apache-2.0, MIT Imports: 15 Imported by: 0

Documentation

Overview

Package mcp provides an MCP (Model Context Protocol) server for the Tapes system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// Cassettes is the live registry whose advertised tools are exposed.
	Cassettes *cassetterunner.Registry

	// Client invokes admitted cassette operations. Nil uses a redirect-refusing client.
	Client *http.Client

	Logger *slog.Logger
}

type Server

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

func NewServer

func NewServer(config Config) (*Server, error)

NewServer creates a stateless MCP server over the current cassette registry.

func (*Server) Handler

func (s *Server) Handler() http.Handler

Handler returns the HTTP handler for the MCP server.

Jump to

Keyboard shortcuts

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