Skip to main content

Module source

Module source 

Source
Expand description

Source-browsing tools: list_files, read_file, search_code.

These let an MCP client explore the repository’s local working tree (tracked plus untracked-but-not-ignored files; gitignored paths excluded) and trace logic across files: list_files to enumerate, search_code to find a symbol, read_file to read it. read_file is confined to the repository root and refuses gitignored paths; a refused read returns null content with a message, not a transport error.

Structs§

FilesListResponse
Response for list_files.
ListFilesParams
Parameters for GitPawMcpServer::list_files.
ReadFileParams
Parameters for GitPawMcpServer::read_file.
ReadFileResponse
Response for read_file.
SearchCodeParams
Parameters for GitPawMcpServer::search_code.
SearchResponse
Response for search_code.