Gopher & Gemini MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GEMINI_TOFU_ENABLED | No | Enable TOFU certificate validation for Gemini | true |
| GEMINI_ALLOWED_HOSTS | No | Comma-separated list of allowed Gemini hosts (default: all) | |
| GEMINI_CACHE_ENABLED | No | Enable response caching for Gemini | true |
| GOPHER_ALLOWED_HOSTS | No | Comma-separated list of allowed Gopher hosts (default: all) | |
| GOPHER_CACHE_ENABLED | No | Enable response caching for Gopher | true |
| GEMINI_TIMEOUT_SECONDS | No | Request timeout for Gemini in seconds | 30 |
| GOPHER_TIMEOUT_SECONDS | No | Request timeout for Gopher in seconds | 30 |
| GEMINI_CACHE_TTL_SECONDS | No | Cache TTL for Gemini in seconds | 300 |
| GEMINI_MAX_RESPONSE_SIZE | No | Maximum response size for Gemini in bytes | 1048576 |
| GOPHER_CACHE_TTL_SECONDS | No | Cache TTL for Gopher in seconds | 300 |
| GOPHER_MAX_RESPONSE_SIZE | No | Maximum response size for Gopher in bytes | 1048576 |
| GEMINI_CLIENT_CERTS_ENABLED | No | Enable client certificate support for Gemini | true |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| gopher_fetchA | Fetch Gopher menus or text by URL. Supports all standard Gopher item types including menus (type 1), text files (type 0), search servers (type 7), and binary files. Returns structured JSON responses optimized for LLM consumption. Args: url: Full Gopher URL to fetch (e.g., gopher://gopher.floodgap.com/1/) |
| gemini_fetchA | Fetch Gemini content by URL. Supports the Gemini protocol with TLS, TOFU certificate validation, client certificates, and gemtext parsing. Returns structured JSON responses optimized for LLM consumption. Args: url: Full Gemini URL to fetch (e.g., gemini://gemini.circumlunar.space/) |
| gopher_batch_fetchA | Fetch multiple Gopher URLs in parallel for improved performance. Uses asyncio.gather() to fetch all URLs concurrently, which is much faster than fetching them sequentially. Useful for fetching multiple menu items or related resources at once. Args: urls: List of Gopher URLs to fetch Returns: List of responses in the same order as the input URLs |
| gemini_batch_fetchA | Fetch multiple Gemini URLs in parallel for improved performance. Uses asyncio.gather() to fetch all URLs concurrently, which is much faster than fetching them sequentially. Useful for fetching multiple pages or related resources at once. Args: urls: List of Gemini URLs to fetch Returns: List of responses in the same order as the input URLs |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cameronrye/gopher-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server