Documentation
¶
Index ¶
- func NewServer(cfg *config.Config, opts ...ServerOption) *mcpsdk.Server
- type DiffToolInput
- type DiffToolOutput
- type DoToolInput
- type DoToolOutput
- type GetToolInput
- type GetToolOutput
- type GrepToolInput
- type GrepToolOutput
- type ListToolsInput
- type ListToolsOutput
- type LsFilesToolInput
- type LsFilesToolOutput
- type ProcessExecInput
- type RepoDiscoveryInput
- type RepoStatusFilterInput
- type ServerOption
- type StatusToolInput
- type StatusToolOutput
- type WorktreeAddToolInput
- type WorktreeAddToolOutput
- type WorktreeListToolInput
- type WorktreeListToolOutput
- type WorktreePruneToolInput
- type WorktreePruneToolOutput
- type WorktreeRemoveToolInput
- type WorktreeRemoveToolOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 GetToolInput ¶ added in v0.3.0
type GetToolInput = tool.GetToolInput
Type aliases for tool input and output DTOs moved to internal/mcp/tool.
type GetToolOutput ¶ added in v0.3.0
type GetToolOutput = tool.GetToolOutput
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 ProcessExecInput ¶ added in v0.2.0
type ProcessExecInput = tool.ProcessExecInput
Type aliases for tool input and output DTOs moved to internal/mcp/tool.
type RepoDiscoveryInput ¶ added in v0.2.0
type RepoDiscoveryInput = tool.RepoDiscoveryInput
Type aliases for tool input and output DTOs moved to internal/mcp/tool.
type RepoStatusFilterInput ¶ added in v0.2.0
type RepoStatusFilterInput = tool.RepoStatusFilterInput
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.
func WithEnableGet ¶ added in v0.3.0
func WithEnableGet(enable bool) ServerOption
WithEnableGet enables the git_iter_get tool on the MCP server.
func WithEnableWorktree ¶ added in v0.4.0
func WithEnableWorktree(enable bool) ServerOption
WithEnableWorktree enables mutating worktree tools (add, remove, prune) 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.
type WorktreeAddToolInput ¶ added in v0.4.0
type WorktreeAddToolInput = tool.WorktreeAddToolInput
Type aliases for tool input and output DTOs moved to internal/mcp/tool.
type WorktreeAddToolOutput ¶ added in v0.4.0
type WorktreeAddToolOutput = tool.WorktreeAddToolOutput
Type aliases for tool input and output DTOs moved to internal/mcp/tool.
type WorktreeListToolInput ¶ added in v0.4.0
type WorktreeListToolInput = tool.WorktreeListToolInput
Type aliases for tool input and output DTOs moved to internal/mcp/tool.
type WorktreeListToolOutput ¶ added in v0.4.0
type WorktreeListToolOutput = tool.WorktreeListToolOutput
Type aliases for tool input and output DTOs moved to internal/mcp/tool.
type WorktreePruneToolInput ¶ added in v0.4.0
type WorktreePruneToolInput = tool.WorktreePruneToolInput
Type aliases for tool input and output DTOs moved to internal/mcp/tool.
type WorktreePruneToolOutput ¶ added in v0.4.0
type WorktreePruneToolOutput = tool.WorktreePruneToolOutput
Type aliases for tool input and output DTOs moved to internal/mcp/tool.
type WorktreeRemoveToolInput ¶ added in v0.4.0
type WorktreeRemoveToolInput = tool.WorktreeRemoveToolInput
Type aliases for tool input and output DTOs moved to internal/mcp/tool.
type WorktreeRemoveToolOutput ¶ added in v0.4.0
type WorktreeRemoveToolOutput = tool.WorktreeRemoveToolOutput
Type aliases for tool input and output DTOs moved to internal/mcp/tool.