mcp

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ToolSearchMessages = "search_messages"
	ToolGetMessage     = "get_message"
	ToolGetAttachment  = "get_attachment"
	ToolListMessages   = "list_messages"
	ToolGetStats       = "get_stats"
	ToolAggregate      = "aggregate"
)

Tool name constants.

Variables

This section is empty.

Functions

func Serve

func Serve(ctx context.Context, engine query.Engine, attachmentsDir string) error

Serve creates an MCP server with email archive tools and serves over stdio. It blocks until stdin is closed or the context is cancelled.

Types

This section is empty.

Jump to

Keyboard shortcuts

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