developmentmcp

package
v0.0.50 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package developmentmcp hosts the Development MCP HTTP server.

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 is an HTTP MCP server.

func Start

func Start(ctx context.Context, logger *slog.Logger, listenAddr string, users map[string]string, overlaySpecs []string, readOverlayContext func(spec string) (protocol.OverlayContext, error), lint func(baseOverlay string, files []protocol.OverlayFile) (protocol.LintResult, error), runTurn func(ctx context.Context, baseOverlay string, files []protocol.OverlayFile, agent, prompt, conversationID string) (thinking, answer string, err error), reload, restart func(reason string) (string, error)) (*Server, error)

Start starts the Development MCP HTTP server.

func (*Server) Close

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

Close stops the HTTP server and waits for it to exit.

func (*Server) URL

func (s *Server) URL() string

URL returns the server base URL.

Jump to

Keyboard shortcuts

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