Index a repository for code search and querying. This tool initiates the processing of a repository, making it available for future queries. A repository must be indexed before it can be queried or searched....
Query repositories to get an answer with code references. Supports both single-turn and multi-turn (conversational) context. Args: ctx: MCP server provided context query: The natural language query about the codebase repositories: List of repositories to query session_id: Used for multi-turn conversations; generates new if not provided stream: Enable streaming for long queries (returns async generator) genius: Use enhanced answer quality (may take longer) timeout: Optional per-query timeout (seconds) previous_messages: Optional prior conversation messages for this session Returns: - For streaming: async generator yielding JSON strings. - For non-streaming: formatted JSON string (single result).
Search repositories for relevant files without generating a full answer. This tool returns a list of relevant files based on a query without generating a complete answer. The repositories must have been indexed first. Args: ctx: The MCP server provided context which includes the Greptile client query: The natural language query about the codebase repositories: List of repositories to search, each with format {"remote": "github", "repository": "owner/repo", "branch": "main"} session_id: Optional session ID for continuing a conversation genius: Whether to use the enhanced search capabilities (default: True)
Get information about an indexed repository. This tool retrieves information about a specific repository that has been indexed, including its status and other metadata. The tool handles proper URL encoding internally to ensure repository identifiers with special characters (like '/') are correctly processed....
GitHub Personal Access Token for repository access
API key for accessing the Greptile API
Host to bind to when using SSE transport
Port to listen on when using SSE transport
Access and manage servers by signing in.