server

package
v1.17.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package server provides the MCP server implementation for supplyscan.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(s scanner.Scanner)

Run starts the MCP server with the given scanner.

Types

type FindingsError

type FindingsError struct {
	Result interface{} `json:"result"`
	Code   string      `json:"code"`
}

FindingsError is returned when scan or check operations complete successfully but find vulnerabilities or supply chain compromises. It wraps the result with finding information so MCP clients can differentiate findings from errors.

func (*FindingsError) Error

func (e *FindingsError) Error() string

Jump to

Keyboard shortcuts

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