Documentation
¶
Overview ¶
Package mcp creates an MCP server for managing the tasks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PromptCLIInstructions string
View Source
var PromptMCPInstructions string
Functions ¶
This section is empty.
Types ¶
type ArchiveParams ¶ added in v0.2.5
type ArchiveParams struct {
ID string `json:"id" jsonschema:"Required. The ID of the task to archive."`
}
type ListCreateParams ¶ added in v0.2.5
type ListCreateParams struct {
Tasks []core.CreateTaskParams `json:"new_tasks"`
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps the MCP server with backlog-specific functionality
type TaskStore ¶
type TaskStore interface {
Get(id string) (core.Task, error)
Create(params core.CreateTaskParams) (core.Task, error)
Update(task *core.Task, params core.EditTaskParams) error
List(params core.ListTasksParams) (core.ListResult, error)
Path(t core.Task) string
Archive(id core.TaskID) (string, error)
}
TaskStore interface matches the one expected by the MCP handlers
type ToolCall ¶ added in v0.4.2
ToolCall represents a structured MCP tool call that can be marshaled to JSON
type ViewParams ¶ added in v0.2.5
type ViewParams struct {
ID string `json:"id" jsonschema:"Required. The ID of the task."`
}
Click to show internal directories.
Click to hide internal directories.