Help us shape the future of Go! Take the 2026 Go Developer Survey

mcp

package
v0.1.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(cfg *config.Config, opts ...ServerOption) *mcpsdk.Server

NewServer constructs and registers tools for an MCP server instance. By default, the git_iter_do tool is disabled unless WithEnableDo(true) is provided.

Types

type DiffToolInput

type DiffToolInput = tool.DiffToolInput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

type DiffToolOutput

type DiffToolOutput = tool.DiffToolOutput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

type DoToolInput

type DoToolInput = tool.DoToolInput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

type DoToolOutput

type DoToolOutput = tool.DoToolOutput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

type GrepToolInput

type GrepToolInput = tool.GrepToolInput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

type GrepToolOutput

type GrepToolOutput = tool.GrepToolOutput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

type ListToolsInput

type ListToolsInput = tool.ListToolsInput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

type ListToolsOutput

type ListToolsOutput = tool.ListToolsOutput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

type LsFilesToolInput

type LsFilesToolInput = tool.LsFilesToolInput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

type LsFilesToolOutput

type LsFilesToolOutput = tool.LsFilesToolOutput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

type ServerOption

type ServerOption func(*serverConfig)

ServerOption configures an MCP server instance.

func WithEnableDo

func WithEnableDo(enable bool) ServerOption

WithEnableDo enables the git_iter_do tool on the MCP server.

type StatusToolInput

type StatusToolInput = tool.StatusToolInput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

type StatusToolOutput

type StatusToolOutput = tool.StatusToolOutput

Type aliases for tool input and output DTOs moved to internal/mcp/tool.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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