Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 6 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 with filesystem tools.

func New

func New(reg *registry.Registry, logger *slog.Logger) *Server

New creates a new filesystem MCP server.

func (*Server) GetMCPServer

func (s *Server) GetMCPServer() *server.MCPServer

GetMCPServer returns the underlying MCP server for testing.

func (*Server) Run

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

Run starts the server with stdio transport.

Jump to

Keyboard shortcuts

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