mcp

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

ENGMODEL-OWNER-UNIT: FU-MCP-SERVER

ENGMODEL-OWNER-UNIT: FU-MCP-SERVER

ENGMODEL-OWNER-UNIT: FU-MCP-SERVER

ENGMODEL-OWNER-UNIT: FU-MCP-SERVER

ENGMODEL-OWNER-UNIT: FU-MCP-SERVER

ENGMODEL-OWNER-UNIT: FU-MCP-SERVER

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyReadOnlyResolutionDefaults

func ApplyReadOnlyResolutionDefaults()

ApplyReadOnlyResolutionDefaults sets the process defaults of a model server: the lock is checked, never written (ENGMOD_LOCK=check), and cached modules are reused without registry lookups (ENGMOD_MODULE_CACHE=reuse), unless the environment already sets them. It covers every composing tool, the Gemara and OSCAL exporters included. Call it once at startup. TRLC-LINKS: REQ-EMG-069, REQ-EMG-064 ENGMODEL-LINKS: FU-MCP-SERVER, FU-SYSTEM-COMPOSITION

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

ENGMODEL-LINKS: FU-MCP-SERVER, DO-MCP-TOOL-RESULT, CTRL-MCP-PATH-BOUNDARY, CTRL-STRICT-MCP-INPUT-SCHEMA, EVT-MCP-TOOL-CALL-RECEIVED, FU-CODEMAP-INFERENCE, CTRL-TRACEABILITY-COVERAGE, DEP-LOCAL-WORKSPACE

func NewServer

func NewServer() *Server

TRLC-LINKS: REQ-EMG-007, REQ-EMG-008, REQ-EMG-045, REQ-EMG-069, REQ-EMG-106 ENGMODEL-LINKS: FU-MCP-SERVER, DO-MCP-TOOL-RESULT, CTRL-MCP-PATH-BOUNDARY, CTRL-STRICT-MCP-INPUT-SCHEMA, EVT-MCP-TOOL-CALL-RECEIVED

func (*Server) Handle

func (s *Server) Handle(raw []byte) (resp []byte, err error)

TRLC-LINKS: REQ-EMG-007 ENGMODEL-LINKS: FU-MCP-SERVER, DO-MCP-TOOL-RESULT, CTRL-MCP-PATH-BOUNDARY, CTRL-STRICT-MCP-INPUT-SCHEMA, EVT-MCP-TOOL-CALL-RECEIVED

func (*Server) ToolNames

func (s *Server) ToolNames() []string

TRLC-LINKS: REQ-EMG-007, REQ-EMG-008 ENGMODEL-LINKS: FU-MCP-SERVER, DO-MCP-TOOL-RESULT, CTRL-MCP-PATH-BOUNDARY, CTRL-STRICT-MCP-INPUT-SCHEMA, EVT-MCP-TOOL-CALL-RECEIVED

type Tool

type Tool struct {
	Name        string
	Description string
}

ENGMODEL-LINKS: FU-MCP-SERVER, DO-MCP-TOOL-RESULT, CTRL-MCP-PATH-BOUNDARY, CTRL-STRICT-MCP-INPUT-SCHEMA, EVT-MCP-TOOL-CALL-RECEIVED

Jump to

Keyboard shortcuts

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