mcpserver

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package mcpserver exposes an amoxtli workspace over the Model Context Protocol (stdio), so an LLM agent can search the local corpus.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server bundles a live Codex with an MCP server exposing it.

func New

func New(ctx context.Context, ws *workspace.Workspace, cfg *config.Config) (*Server, error)

New opens the workspace runtime and registers the MCP tools.

func (*Server) Close

func (s *Server) Close() error

Close releases the underlying runtime.

func (*Server) Run

func (s *Server) Run(ctx context.Context) error

Run serves the protocol over stdio until the context is cancelled.

Jump to

Keyboard shortcuts

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