Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| NODE_ENV | No | Environment mode (production or development) | production |
| LOG_LEVEL | No | Logging level (error, warn, info, debug) | info |
| ENABLE_METRICS | No | Enable performance metrics | false |
| GEMINI_API_KEY | Yes | Google AI Studio API Key for accessing Gemini models | |
| REQUEST_TIMEOUT | No | Request timeout in milliseconds (30000 = 30 seconds) | 30000 |
| RATE_LIMIT_WINDOW | No | Time window in ms (60000 = 1 minute) | 60000 |
| RATE_LIMIT_ENABLED | No | Enable/disable rate limiting | true |
| RATE_LIMIT_REQUESTS | No | Max requests per window | 100 |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| code_review | Comprehensive code review with Gemini 2.5 Pro |
| explain_with_thinking | Deep explanation using Gemini 2.5 thinking capabilities |
| creative_writing | Creative writing with style control |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Available Gemini Models | List of all available Gemini models and their capabilities |
| API Capabilities | Detailed information about Gemini API capabilities |
| Usage Guide | Complete guide on using all tools and features |
| Parameters Reference | Detailed documentation of all parameters |
| Examples | Example usage patterns for common tasks |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_text | Generate text using Google Gemini with advanced features |
| analyze_image | Analyze images using Gemini vision capabilities |
| count_tokens | Count tokens for a given text with a specific model |
| list_models | List all available Gemini models and their capabilities |
| embed_text | Generate embeddings for text using Gemini embedding models |
| get_help | Get help and usage information for the Gemini MCP server |