Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_API_KEY | No | API key for authentication. The server automatically uses this if provided. | |
| GEMINI_MCP_HOST | No | Host address for the server to listen on. Use 0.0.0.0 to listen on all network interfaces. | 127.0.0.1 |
| GEMINI_MCP_PORT | No | Port for the server to listen on. | 8765 |
| GEMINI_TOOLS_DEFAULT_MODEL | No | Default model for tool execution, such as web search summarization. | gemini-2.5-flash |
| GOOGLE_APPLICATION_CREDENTIALS | No | Path to the Google application credentials JSON file for authentication. |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |