server

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: MIT Imports: 3 Imported by: 0

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

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build(b tools.Backend) *mcp.Server

Build constructs a fresh *mcp.Server wired with every brainjar tool. Callers run it on a transport (stdio, Streamable HTTP, in-memory). b is anything satisfying tools.Backend — both LocalBackend and RemoteBackend do.

Types

This section is empty.

Jump to

Keyboard shortcuts

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