mcpserver

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mcpserver wires the core memory Service to the MCP protocol: it registers the memory.* tools and runs the server over stdio.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, svc *memory.Service, opts Options) error

Run starts an MCP server over stdio with the given memory service and blocks until the client disconnects.

Types

type Options

type Options struct {
	Name        string
	Version     string
	DefaultType string
	DefaultSrc  string
}

Options configures the MCP server.

Jump to

Keyboard shortcuts

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