expert

command
v0.61.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Command expert serves an offline research corpus over MCP stdio using only the native MCP SDK. It imports no Scope packages. The mcpagent tests build this separate executable and pin its content digest before connecting. All protocol traffic uses stdout; synchronization diagnostics use stderr.

The search query "wait" blocks until protocol cancellation. "disconnect" exits after accepting a search and before returning its result. These are deterministic fault cuts for the reference integration, not a live service or a model-quality demonstration. The expert://status resource exposes its own process ID and physical call/cancellation counts for verification.

Run the complete consumer checks from the examples module:

go test -count=1 -run '^TestMCPProcessBoundary$' ./mcp/mcpagent
GOWORK=off go test -count=1 -run '^TestMCPProcessBoundary$' ./mcp/mcpagent

The independent peer uses the MCP SDK without importing Scope.

Jump to

Keyboard shortcuts

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