Documentation
¶
Index ¶
- func NewServer(cfg *config.Config, opts ...ServerOption) *mcpsdk.Server
- type DiffToolInput
- type DiffToolOutput
- type DoToolInput
- type DoToolOutput
- type GrepToolInput
- type GrepToolOutput
- type ListToolsInput
- type ListToolsOutput
- type LsFilesToolInput
- type LsFilesToolOutput
- type ProcessExecInput
- type RepoDiscoveryInput
- type RepoStatusFilterInput
- type ServerOption
- type StatusToolInput
- type StatusToolOutput
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 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.
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.