Documentation
¶
Overview ¶
Package mcp creates an MCP server for managing the tasks.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PromptInstructions 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 MCPToolCall ¶
MCPToolCall represents a structured MCP tool call that can be marshaled to JSON
type SearchParams ¶
type SearchParams struct {
Query string `json:"query" jsonschema:"Required. The search query."`
Filters *core.ListTasksParams `json:"filters" jsonschema:"Optional. Additional filters for the search."`
}
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.Task, error)
Search(query string, listParams core.ListTasksParams) ([]core.Task, error)
Path(t core.Task) string
Archive(id core.TaskID) (string, error)
}
TaskStore interface matches the one expected by the MCP handlers
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.