From e23a30e3e5854659402a5e8bf6a4d5a7c10d765f Mon Sep 17 00:00:00 2001 From: Fahad Date: Mon, 9 Jun 2025 06:24:03 +0400 Subject: [PATCH] docs: reorganize README to highlight file/directory capabilities MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add key capability highlight in the intro about reading files/directories - Move File & Directory Support section up before Quickstart - Remove duplicate Directory Support Features section from tool parameters - Make the file handling capability more prominent as it's a core feature This better communicates the server's primary strength of passing entire codebases to Gemini for comprehensive analysis. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- README.md | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 95e3418..a69bab4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Gemini MCP Server for Claude Code -The ultimate development partner for Claude - a Model Context Protocol server that gives Claude access to Google's Gemini 2.5 Pro for extended thinking, code analysis, and problem-solving. +The ultimate development partner for Claude - a Model Context Protocol server that gives Claude access to Google's Gemini 2.5 Pro for extended thinking, code analysis, and problem-solving. **Automatically reads files and directories, passing their contents to Gemini for analysis within its 1M token context.** ## Why This Server? @@ -14,6 +14,14 @@ Claude is brilliant, but sometimes you need: This server makes Gemini your development sidekick, handling what Claude can't or extending what Claude starts. +## File & Directory Support + +All tools accept both individual files and entire directories. The server: +- **Automatically expands directories** to find all code files recursively +- **Intelligently filters** hidden files, caches, and non-code files +- **Handles mixed inputs** like `"analyze main.py, src/, and tests/"` +- **Manages token limits** by loading as many files as possible within Gemini's context + ## Quickstart (5 minutes) ### 1. Get a Gemini API Key @@ -307,18 +315,6 @@ All tools that work with files support **both individual files and entire direct "Use gemini to think deeper about my design with reference to the src/models/ directory" ``` -### Directory Support Features - -- **Automatic Expansion**: Directories are recursively scanned for code files -- **Smart Filtering**: Hidden files, caches, and non-code files are automatically excluded -- **Token Management**: Loads as many files as possible within token limits -- **Clear Markers**: Each file is marked with full path for Gemini to distinguish - -Example with mixed paths: -``` -"Use gemini to analyze config.py, src/, and tests/unit/ to understand the testing strategy" -``` - ## Collaborative Workflows ### Design → Review → Implement