sessionmcp

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package sessionmcp serves Claude Code session search and resume tools over MCP, on top of the internal/search index.

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 exposes session search and resume as MCP tools.

func New

func New(svc *search.Service) *Server

New returns a Server over svc.

func (*Server) Register

func (s *Server) Register(srv *server.MCPServer)

Register adds the session tools to srv.

func (*Server) WithCatalog added in v0.14.0

func (s *Server) WithCatalog(c *catalog.Catalog) *Server

WithCatalog makes list_sessions list the session catalog (shown titles, provider, state, history.MCPOpts visibility) and get_session add the catalog's title, provider and state; it returns s.

Jump to

Keyboard shortcuts

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