exec

package
v0.0.0-...-f2e3cbe Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package exec assembles MCP tool handlers that run Taskfile tasks via go-task and renders the result as MCP CallToolResult content blocks.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHandler

func NewHandler(workdir, taskName string) mcp.ToolHandler

NewHandler creates a handler function for a specific task in the given working directory. For wildcard tasks, it reconstructs the full task name from the MATCH argument supplied by the caller.

Types

This section is empty.

Jump to

Keyboard shortcuts

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