server

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package server boots the Semantic Firewall MCP server over stdio and registers the sfw analysis tools. Tools themselves live in internal/tools and are wired up in tools.go.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *server.MCPServer

New constructs an MCPServer with all sfw tools registered but does not start any transport. Useful for tests that want to drive the server in process without spinning up stdio.

func ServeStdio

func ServeStdio() error

ServeStdio starts the MCP server on stdin/stdout. Blocks until the client disconnects or stdin closes.

Types

This section is empty.

Jump to

Keyboard shortcuts

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