docs: reorganize README to highlight file/directory capabilities

- 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 <noreply@anthropic.com>
This commit is contained in:
Fahad
2025-06-09 06:24:03 +04:00
parent 8871748c1b
commit e23a30e3e5

View File

@@ -1,6 +1,6 @@
# Gemini MCP Server for Claude Code # 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? ## 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. 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) ## Quickstart (5 minutes)
### 1. Get a Gemini API Key ### 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" "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 ## Collaborative Workflows
### Design → Review → Implement ### Design → Review → Implement