mcp

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer() *server.MCPServer

NewServer creates and configures the pomodoro MCP server

Types

type SettingsResponse

type SettingsResponse struct {
	DataDirectory           string   `json:"data_directory"`
	DailyGoal               int      `json:"daily_goal"`
	DefaultPomodoroDuration int      `json:"default_pomodoro_duration"`
	DefaultBreakDuration    int      `json:"default_break_duration"`
	DefaultTags             []string `json:"default_tags"`
}

SettingsResponse represents the current settings

type StatusResponse

type StatusResponse struct {
	Active       bool     `json:"active"`
	Done         bool     `json:"done"`
	Remaining    string   `json:"remaining,omitempty"`
	Duration     string   `json:"duration,omitempty"`
	Description  string   `json:"description,omitempty"`
	Tags         []string `json:"tags,omitempty"`
	GoalComplete int      `json:"goal_complete"`
	GoalTotal    int      `json:"goal_total"`
}

StatusResponse represents the current Pomodoro status

Jump to

Keyboard shortcuts

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