Documentation
¶
Overview ¶
Package mcp provides a lightweight MCP (Model Context Protocol) server for CLI use. For full GUI integration (display, webview, process management), see core-gui/pkg/mcp.
Index ¶
- type CreateDirectoryInput
- type CreateDirectoryOutput
- type DeleteFileInput
- type DeleteFileOutput
- type DetectLanguageInput
- type DetectLanguageOutput
- type DirectoryEntry
- type EditDiffInput
- type EditDiffOutput
- type FileExistsInput
- type FileExistsOutput
- type GetSupportedLanguagesInput
- type GetSupportedLanguagesOutput
- type LanguageInfo
- type ListDirectoryInput
- type ListDirectoryOutput
- type ReadFileInput
- type ReadFileOutput
- type RenameFileInput
- type RenameFileOutput
- type Service
- type WriteFileInput
- type WriteFileOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDirectoryInput ¶
type CreateDirectoryInput struct {
Path string `json:"path"`
}
type CreateDirectoryOutput ¶
type DeleteFileInput ¶
type DeleteFileInput struct {
Path string `json:"path"`
}
type DeleteFileOutput ¶
type DetectLanguageInput ¶
type DetectLanguageInput struct {
Path string `json:"path"`
}
type DetectLanguageOutput ¶
type DirectoryEntry ¶
type EditDiffInput ¶
type EditDiffOutput ¶
type FileExistsInput ¶
type FileExistsInput struct {
Path string `json:"path"`
}
type FileExistsOutput ¶
type GetSupportedLanguagesInput ¶
type GetSupportedLanguagesInput struct{}
type GetSupportedLanguagesOutput ¶
type GetSupportedLanguagesOutput struct {
Languages []LanguageInfo `json:"languages"`
}
type LanguageInfo ¶
type ListDirectoryInput ¶
type ListDirectoryInput struct {
Path string `json:"path"`
}
type ListDirectoryOutput ¶
type ListDirectoryOutput struct {
Entries []DirectoryEntry `json:"entries"`
Path string `json:"path"`
}
type ReadFileInput ¶
type ReadFileInput struct {
Path string `json:"path"`
}
type ReadFileOutput ¶
type RenameFileInput ¶
type RenameFileOutput ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service provides a lightweight MCP server with file operations only. For full GUI features, use the core-gui package.
type WriteFileInput ¶
type WriteFileOutput ¶
Click to show internal directories.
Click to hide internal directories.