← Gemini Code Review MCP

Gemini Code Review MCP 0.5.0

pypi · gemini-code-review-mcp · current release

3
Tools
0
Resources
0
Templates
0
Prompts

Observation

Observed 2026-08-23T22:34:58.452Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.

Server capabilities
{
  "experimental": {},
  "logging": {},
  "prompts": {
    "listChanged": false
  },
  "resources": {
    "subscribe": false,
    "listChanged": false
  },
  "tools": {
    "listChanged": true
  },
  "extensions": {
    "io.modelcontextprotocol/ui": {}
  }
}

Tools 3

ToolCategoryAnnotationsRisk
ask_geminiGenerates context from files and sends it to Gemini for a response. This tool combines context generation with a direct call to the Gemini API.
Input schema
{
  "additionalProperties": false,
  "properties": {
    "user_instructions": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "The primary query or instructions for Gemini."
    },
    "file_selections": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional list of files/line ranges to include in the context."
    },
    "project_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional project root for relative paths."
    },
    "include_claude_memory": {
      "default": true,
      "type": "boolean",
      "description": "Include CLAUDE.md files in context."
    },
    "include_cursor_rules": {
      "default": false,
      "type": "boolean",
      "description": "Include Cursor rules files in context."
    },
    "auto_meta_prompt": {
      "default": true,
      "type": "boolean",
      "description": "If no user_instructions, generate a meta-prompt."
    },
    "temperature": {
      "default": 0.5,
      "type": "number",
      "description": "AI temperature for generation."
    },
    "model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Specific Gemini model to use."
    },
    "thinking_budget": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional token budget for thinking mode."
    },
    "text_output": {
      "default": true,
      "type": "boolean",
      "description": "If True, return the response as a string. If False, save it to a file."
    }
  },
  "type": "object"
}
Output schema
{
  "properties": {
    "result": {
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "type": "object",
  "x-fastmcp-wrap-result": true
}
— · —
generate_ai_code_reviewGenerate AI-powered code review from context file, content, or project analysis.
Input schema
{
  "additionalProperties": false,
  "properties": {
    "context_file_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Path to existing code review context file (.md)"
    },
    "context_content": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Direct context content (for AI agent chaining)"
    },
    "project_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Project path for direct analysis (generates context internally)"
    },
    "scope": {
      "default": "recent_phase",
      "type": "string",
      "description": "Review scope when using project_path - 'recent_phase', 'full_project', 'specific_phase', 'specific_task'"
    },
    "phase_number": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Phase number for specific_phase scope"
    },
    "task_number": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Task number for specific_task scope"
    },
    "task_list": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Specific task list file to use (overrides automatic discovery)"
    },
    "default_prompt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Custom default prompt when no task list exists"
    },
    "output_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Custom output file path for AI review. If not provided, uses default timestamped path"
    },
    "model": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional Gemini model name (e.g., 'gemini-2.0-flash-exp', 'gemini-1.5-pro')"
    },
    "temperature": {
      "default": 0.5,
      "type": "number",
      "description": "Temperature for AI model (default: 0.5, range: 0.0-2.0)"
    },
    "custom_prompt": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional custom AI prompt to override default instructions"
    },
    "text_output": {
      "default": true,
      "type": "boolean",
      "description": "Return review directly as text (default: true - for AI agent chaining)"
    },
    "auto_meta_prompt": {
      "default": true,
      "type": "boolean",
      "description": "Automatically generate and embed meta prompt (default: true)"
    },
    "include_claude_memory": {
      "default": true,
      "type": "boolean",
      "description": "Include CLAUDE.md files in context (default: true)"
    },
    "include_cursor_rules": {
      "default": false,
      "type": "boolean",
      "description": "Include Cursor rules files in context (default: false)"
    },
    "thinking_budget": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional token budget for thinking mode (if supported by model)"
    },
    "url_context": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional URL(s) to include in context - can be string or list of strings"
    }
  },
  "type": "object"
}
Output schema
{
  "properties": {
    "result": {
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "type": "object",
  "x-fastmcp-wrap-result": true
}
— · —
generate_pr_reviewGenerate code review for a GitHub Pull Request with configuration discovery.
Input schema
{
  "additionalProperties": false,
  "properties": {
    "github_pr_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "GitHub PR URL (e.g., 'https://github.com/owner/repo/pull/123')"
    },
    "project_path": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional local project path for context (default: current directory)"
    },
    "temperature": {
      "default": 0.5,
      "type": "number",
      "description": "Temperature for AI model (default: 0.5, range: 0.0-2.0)"
    },
    "enable_gemini_review": {
      "default": true,
      "type": "boolean",
      "description": "Enable Gemini AI code review generation (default: true)"
    },
    "include_claude_memory": {
      "default": true,
      "type": "boolean",
      "description": "Include CLAUDE.md files in context (default: true)"
    },
    "include_cursor_rules": {
      "default": false,
      "type": "boolean",
      "description": "Include Cursor rules files in context (default: false)"
    },
    "auto_meta_prompt": {
      "default": true,
      "type": "boolean",
      "description": "Automatically generate and embed meta prompt in user_instructions (default: true)"
    },
    "use_templated_instructions": {
      "default": false,
      "type": "boolean",
      "description": "Use templated backup instructions instead of generated meta prompt (default: false)"
    },
    "create_context_file": {
      "default": false,
      "type": "boolean",
      "description": "Save context to file and return context content (default: false)"
    },
    "raw_context_only": {
      "default": false,
      "type": "boolean",
      "description": "Return raw context content without AI processing (default: false)"
    },
    "text_output": {
      "default": false,
      "type": "boolean",
      "description": "Return content directly without saving (default: false - saves to timestamped .md file)"
    },
    "thinking_budget": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional token budget for thinking mode (if supported by model)"
    },
    "url_context": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "default": null,
      "description": "Optional URL(s) to include in context - can be string or list of strings"
    }
  },
  "type": "object"
}
Output schema
{
  "properties": {
    "result": {
      "type": "string"
    }
  },
  "required": [
    "result"
  ],
  "type": "object",
  "x-fastmcp-wrap-result": true
}
— · —

Resources 0

Resource templates 0

Prompts 0

Let’s talk about MCP security.

Share your details and our security team will contact you.