mcpserver

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package mcpserver builds the read-only Model Context Protocol surface akari exposes to coding agents. It mirrors what the web UI shows (the overview analytics, the projects index, the session feed, a session's full transcript) and adds the raw underlying data the UI reaches for on demand (tool-call bodies from the CAS, and the lossless bytes a session was ingested from).

The server is transport-agnostic: this package only registers tools against an *mcp.Server. The HTTP wiring (the Streamable-HTTP handler and the OAuth bearer check that names the calling user) lives in package httpapi, which owns the store and the request lifecycle.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(st *store.Store) *mcp.Server

New builds an MCP server with every akari read tool registered against st. The returned server is safe to hand to a Streamable-HTTP handler for every session; the per-request user is carried on each call's bearer token, not on the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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