mcpserver

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: Apache-2.0 Imports: 13 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(e *engine.Engine) *mcp.Server

Types

type ContextInput

type ContextInput struct {
	Path  string `json:"path"`
	Limit int    `json:"limit,omitempty"`
}

type ContextOutput

type ContextOutput struct {
	Steps []Step `json:"steps"`
}

type ListInput

type ListInput struct {
	Limit   int    `json:"limit,omitempty"`
	Session string `json:"session,omitempty"`
	Path    string `json:"path,omitempty"`
	Cursor  int64  `json:"cursor,omitempty"`
}

type ListOutput

type ListOutput struct {
	Steps  []Step `json:"steps"`
	Cursor int64  `json:"cursor,omitempty"`
}

type SearchInput

type SearchInput struct {
	Query  string `json:"query"`
	Limit  int    `json:"limit,omitempty"`
	Cursor int64  `json:"cursor,omitempty"`
}

type SearchOutput

type SearchOutput struct {
	Steps  []Step `json:"steps"`
	Cursor int64  `json:"cursor,omitempty"`
}

type Step

type Step struct {
	Step         int64  `json:"step"`
	Agent        string `json:"agent"`
	Prompt       string `json:"prompt"`
	FilesChanged int    `json:"files_changed,omitempty"`
}

type TurnInput

type TurnInput struct {
	Step int64 `json:"step"`
}

type TurnOutput

type TurnOutput struct {
	Step      int64    `json:"step"`
	Agent     string   `json:"agent"`
	Prompt    string   `json:"prompt"`
	Reasoning string   `json:"reasoning"`
	ToolCalls string   `json:"tool_calls"`
	Files     []string `json:"files"`
}

type WhyInput

type WhyInput struct {
	Path string `json:"path"`
	Line int    `json:"line"`
}

type WhyOutput

type WhyOutput struct {
	Step    int64  `json:"step,omitempty"`
	Agent   string `json:"agent"`
	Prompt  string `json:"prompt,omitempty"`
	Message string `json:"message,omitempty"`
}

Jump to

Keyboard shortcuts

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