mcpserver

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 23 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mcpserver exposes Eraser's local workflow to an MCP client over stdio. It calls no LLM and shares the web UI's config and history.

Index

Constants

This section is empty.

Variables

View Source
var Version = "dev"

Version is Eraser's version, shown to MCP clients; the command sets it from the build.

Functions

This section is empty.

Types

type Options

type Options struct {
	ConfigPath string
	BrokerPath string
	ProfileID  string
	Headless   bool
	ChromePath string
}

type Service

type Service struct {
	MCP *mcp.Server
	// contains filtered or unexported fields
}

func New

func New(opts Options) (*Service, error)

func NewDemo

func NewDemo(headless bool, chromePath string) (*Service, func(), error)

NewDemo builds an isolated config and fake broker site. The loopback exception is tied to this listener, never a tool argument.

func (*Service) Close

func (s *Service) Close() error

type Task

type Task struct {
	ID         string `json:"id"`
	BrokerID   string `json:"broker_id"`
	BrokerName string `json:"broker_name"`
	Kind       string `json:"kind"`
	URL        string `json:"url"`
	Status     string `json:"status"`
	Notes      string `json:"notes,omitempty"`
	Screenshot string `json:"screenshot,omitempty"`
}

Jump to

Keyboard shortcuts

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