mcp/

directory
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2026 License: Apache-2.0

Directories

Path Synopsis
Package client is the wiring seam other packages depend on: it turns a model.Target into a live MCP connection (scanner.Preparer, analyzer.Dialer) or a replayed one (LoadSnapshotBytes), and implements analyzer.Session on top of the go-sdk client plus a minimal raw JSON-RPC channel for probes the typed SDK client will not build
Package client is the wiring seam other packages depend on: it turns a model.Target into a live MCP connection (scanner.Preparer, analyzer.Dialer) or a replayed one (LoadSnapshotBytes), and implements analyzer.Session on top of the go-sdk client plus a minimal raw JSON-RPC channel for probes the typed SDK client will not build
Package discovery drives the standard MCP discovery methods against an initialized session and converts the result into a model.Snapshot
Package discovery drives the standard MCP discovery methods against an initialized session and converts the result into a model.Snapshot
Package snapshot canonicalizes, hashes, compares, saves, and loads snapshots
Package snapshot canonicalizes, hashes, compares, saves, and loads snapshots
Package surface renders a snapshot's declared MCP capability surface - instructions, tools, prompts, resources, resource templates - as text for something that judges it (a model, a third-party classifier), stopping once a caller-supplied character budget is used.
Package surface renders a snapshot's declared MCP capability surface - instructions, tools, prompts, resources, resource templates - as text for something that judges it (a model, a third-party classifier), stopping once a caller-supplied character budget is used.
Package transport builds SDK transports for an MCP target and enforces the scanner's own SSRF guard before any of them connect
Package transport builds SDK transports for an MCP target and enforces the scanner's own SSRF guard before any of them connect

Jump to

Keyboard shortcuts

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