server

package
v0.0.0-...-e4851cd Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2026 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, options Options, input io.Reader, output io.Writer) error

Serve creates and runs a Fortify SCA MCP server over the supplied streams. The caller owns configuration, context cancellation, and stream lifecycle.

Types

type CheckDependencyPolicyInput

type CheckDependencyPolicyInput struct {
	PURL     string `json:"purl" jsonschema:"Package URL of the dependency (e.g. pkg:npm/lodash@4.17.21)"`
	RepoURL  string `json:"repo_url" jsonschema:"Full git remote URL for the repository (SSH or HTTPS)"`
	RepoName string `json:"repo_name" jsonschema:"Repository slug with owner/org prefix (e.g. my-org/my-repo)"`
}

type Options

type Options struct {
	AccessToken string
	BaseURL     string
	APIVersion  string
}

Options configures a Fortify SCA MCP server.

Jump to

Keyboard shortcuts

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