Skip to main content

Module connection

Module connection 

Source
Expand description

One configured server’s connection: lazy connects and reconnects, its tools and resources, its credentials, and its state for /mcp. Port of extensions/mcp/runtime.ts in pi v1.0.0.

Structs§

Connection
A configured server, connected on demand.
Snapshot
What a connection knows of its server.

Enums§

State
Where a connection stands.

Type Aliases§

ToolsListener
Called when the server’s tools or resources change.