Skip to main content

Crate vent_mcp

Crate vent_mcp 

Source
Expand description

Internal library for the shipped vent binary.

The crate exposes only the small facade the binary needs. Configuration DTOs, sink mechanics, provider rendering, and MCP router details stay private so the implementation can evolve without treating those internals as a stable library API.

Structs§

ChannelInfo
MCP response types and the privacy-preserving project label helper. One configured vent channel exposed to MCP clients.
ListChannelsOutput
MCP response types and the privacy-preserving project label helper. Channel catalog returned by the list_channels MCP tool.
LoadedConfig
Configuration load errors and the validated runtime policy derived from TOML. Validated configuration loaded from disk with its resolved file path.
RuntimeConfig
Configuration load errors and the validated runtime policy derived from TOML. Normalized runtime policy derived from validated TOML configuration.
VentMcpServer
MCP tool router that exposes channel listing and vent submission. MCP server that exposes channel metadata and vent submission tools.
VentOutput
MCP response types and the privacy-preserving project label helper. MCP acknowledgement for an accepted or rejected vent request.
VentRequest
Shared vent submission service used by the MCP server and CLI. Trimmed vent message and optional channel override for delivery.
VentService
Shared vent submission service used by the MCP server and CLI. Validates vent input and dispatches one event through configured channel sinks.

Enums§

ConfigError
Configuration load errors and the validated runtime policy derived from TOML. Errors while resolving, reading, parsing, or bootstrapping configuration files.

Functions§

project_name_from_current_dir
MCP response types and the privacy-preserving project label helper. Returns a privacy-preserving project label based on the current directory.