Skip to main content

Module stdio

Module stdio 

Source
Expand description

vcon-server mcp: MCP on stdin and stdout, for an agent that starts the server as a command. Each request is forwarded to a running server’s /mcp with the one key the client file names, so stdio passes the same authentication, gate and audit as HTTP. The command opens no data directory and no master key.

Structs§

ClientConfig
The client file vcon-server mcp reads.

Enums§

StdioError
Why the command stopped. None of these holds the token.

Functions§

client_config
Reads the client file at path.
parse_client
Reads a client file from its TOML text. The URL must be https: the server speaks TLS only.
stdio
Runs the command until stdin ends.