Skip to main content
Glama

Gemini MCP Server

by lucky-dersan
Dockerfile640 B
FROM python:3.10-slim WORKDIR /app # Install uv RUN pip install --no-cache-dir uv # Copy dependency files first COPY pyproject.toml . # Install dependencies using uv with --system flag RUN uv pip install --system --no-cache-dir -e . # Copy source code and configuration COPY src/ src/ # Environment variables ENV GEMINI_API_KEY="your_api_key_here" ENV GEMINI_MODEL="gemini-2.5-flash" ENV GEMINI_BASE_URL="https://generativelanguage.googleapis.com/v1beta/openai/" # proxy settings ENV HTTP_PROXY="http://127.0.0.1:17890" ENV HTTPS_PROXY="http://127.0.0.1:17890" # Run the server CMD ["fastmcp", "run", "src/gemini_mcp_server.py:mcp"]

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/lucky-dersan/gemini-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server