Documentation
¶
Overview ¶
Package server builds the brainjar MCP server. It's transport-agnostic: the same *mcp.Server is served over stdio (brainjar mcp) or Streamable HTTP (mounted on brainjar serve). All tools share the app layer with the HTTP handlers — no duplicated business logic.
Index ¶
Constants ¶
View Source
const Version = "0.3.0"
Version is the MCP server's advertised version. Matches the CLI release; hardcoded until goreleaser injects it at build time.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Deps ¶
type Deps struct {
Workspace models.WorkspaceID
Souls tools.SoulApp
Personas tools.PersonaApp
Rules tools.RuleApp
Brains tools.BrainApp
State tools.StateApp
Compose tools.ComposeApp
}
Deps groups the app handles a tool needs. Each tool receives only the apps it actually uses so subpackage tests can stub narrowly.
Click to show internal directories.
Click to hide internal directories.