mcp

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 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 inspect library as an MCP server, exposing website auditing capabilities to any MCP-compatible agent.

func New

func New(opts ...inspect.Option) *Server

New creates an inspect MCP server with the given scanner options.

func (*Server) ServeHTTP added in v0.1.3

func (s *Server) ServeHTTP(addr string) error

ServeHTTP starts the MCP server on a streamable HTTP endpoint. Clients connect to http://<addr>/mcp.

func (*Server) ServeStdio

func (s *Server) ServeStdio() error

ServeStdio starts the MCP server on stdin/stdout.

Jump to

Keyboard shortcuts

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