taskfileserver

package
v0.0.0-...-e3de7b3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2026 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package taskfileserver implements the Taskfile-backed MCP server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Root

type Root struct {
	// contains filtered or unexported fields
}

Root holds the loaded per-root Taskfile data.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server represents our MCP server for Taskfile.yml.

func New

func New() *Server

New creates a new Taskfile MCP server.

func (*Server) HandleInitialized

func (s *Server) HandleInitialized(ctx context.Context, req *mcp.InitializedRequest)

HandleInitialized is called after the client handshake completes.

func (*Server) HandleRootsChanged

func (s *Server) HandleRootsChanged(ctx context.Context, req *mcp.RootsListChangedRequest)

HandleRootsChanged is called when the client sends roots/list_changed.

func (*Server) SetMCPServer

func (s *Server) SetMCPServer(server *mcp.Server)

SetMCPServer attaches the live MCP server instance used for tool updates.

Jump to

Keyboard shortcuts

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