Documentation
¶
Index ¶
- func Register(s *server.MCPServer, workdir string) error
- type ExtractCallGraphArgs
- type ExtractDeclarationsArgs
- type ExtractPackageDependenciesArgs
- type GitHubContentArgs
- type GitHubTreeArgs
- type ReadGoDocArgs
- type ScanMarkdownArgs
- type SearchCodeGitHubArgs
- type SearchGoDocArgs
- type SearchLocalFilesArgs
- type SearchWithinGoDocArgs
- type TreeDirArgs
- type ValidateGoCodeArgs
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExtractCallGraphArgs ¶
type ExtractCallGraphArgs struct {
FilePath string `json:"file_path"`
}
ExtractCallGraphArgs represents arguments for extracting call graph
type ExtractDeclarationsArgs ¶
type ExtractDeclarationsArgs struct {
Directory string `json:"directory"`
}
ExtractDeclarationsArgs represents arguments for extracting declarations
type ExtractPackageDependenciesArgs ¶
type ExtractPackageDependenciesArgs struct {
Directory string `json:"directory"`
}
ExtractPackageDependenciesArgs represents arguments for extracting package dependencies
type GitHubContentArgs ¶
type GitHubContentArgs struct {
Repo string `json:"repo"`
Path string `json:"path"`
Offset int `json:"offset,omitempty"`
Limit int `json:"limit,omitempty"`
}
GitHubContentArgs represents arguments for GitHub content retrieval
type GitHubTreeArgs ¶
type GitHubTreeArgs struct {
Repo string `json:"repo"`
Path string `json:"path"`
IgnoreDot bool `json:"ignore_dot"`
MaxDepth int `json:"max_depth,omitempty"`
}
GitHubTreeArgs represents arguments for GitHub tree display
type ReadGoDocArgs ¶
type ReadGoDocArgs struct {
PackageURL string `json:"package_url"`
Offset int `json:"offset,omitempty"`
Limit int `json:"limit,omitempty"`
}
ReadGoDocArgs represents arguments for reading Go documentation
type ScanMarkdownArgs ¶
type ScanMarkdownArgs struct {
Path string `json:"path"`
}
ScanMarkdownArgs represents arguments for markdown file scanning
type SearchCodeGitHubArgs ¶
type SearchCodeGitHubArgs struct {
Query string `json:"query"`
Language string `json:"language"`
Repo string `json:"repo"`
}
SearchCodeGitHubArgs represents arguments for GitHub code search
type SearchGoDocArgs ¶
type SearchGoDocArgs struct {
Query string `json:"query"`
}
SearchGoDocArgs represents arguments for Go documentation search
type SearchLocalFilesArgs ¶
type SearchLocalFilesArgs struct {
Path string `json:"path"`
Query string `json:"query"`
Extension string `json:"extension"`
MaxMatches int `json:"max_matches,omitempty"`
}
SearchLocalFilesArgs represents arguments for local file search
type SearchWithinGoDocArgs ¶
type SearchWithinGoDocArgs struct {
PackageURL string `json:"package_url"`
Keyword string `json:"keyword"`
MaxMatches int `json:"max_matches,omitempty"`
}
SearchWithinGoDocArgs represents arguments for searching within Go documentation
type TreeDirArgs ¶
type TreeDirArgs struct {
RootDir string `json:"root_dir"`
IgnoreDot bool `json:"ignore_dot"`
MaxDepth int `json:"max_depth,omitempty"`
}
TreeDirArgs represents arguments for directory tree listing
type ValidateGoCodeArgs ¶
type ValidateGoCodeArgs struct {
Directory string `json:"directory"`
}
ValidateGoCodeArgs represents the request parameters for Go code validation