Skip to main content
Glama
cmdaltctr

Claude Gemini MCP Integration

by cmdaltctr
CHANGELOG.md17.2 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [2.0.0](https://github.com/cmdaltctr/claude-gemini-mcp-slim/compare/claude-gemini-mcp-slim-v1.3.1...claude-gemini-mcp-slim-v2.0.0) (2025-07-15) ### ⚠ BREAKING CHANGES * Major security hardening with critical vulnerability fixes * This commit introduces breaking changes. * This commit introduces breaking changes. ### Features * Add advanced configuration parameters to setup guide ([24dcef2](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/24dcef235ec615300a6e1dba9d1ee6906eba7988)) * Add automated release workflow and documentation ([53b27d4](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/53b27d4a6a2b7b5af64d6488cb272a8708024abd)) * Add Gemini MCP slash commands ([62eedb4](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/62eedb49f2509d085c8d1c9f98efbdb6593b1a70)) * Add MIT License and update README ([fea99a5](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/fea99a5ca7e7e7b42e1e116cbddbab4a24b55688)) * Add script to set up the development environment ([52943fb](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/52943fbffc7e53130e98721f48850b0e933e4754)) * Add slash commands for Gemini MCP integration ([bf333c7](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/bf333c789df4673d34196cd9e3316cd35f6ae14c)) * add standalone helper CLI documentation to setup guide ([9092906](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/9092906663201c79cd8275fad6871c479f2983c4)) * Enhance Gemini MCP integration with slash commands ([5d1b811](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/5d1b8114a3cae52c80cce4472adfda8412a0ecf7)) * implement comprehensive testing and CI/CD infrastructure ([35b1499](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/35b1499f7f00ae06b1eabe3fc7b262d18e64d7f6)) * implement comprehensive testing infrastructure with hang prevention ([915fcd4](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/915fcd4b4dc231e662a716369909b662695bf38f)) * Implement shared MCP setup and enhanced configuration ([00653af](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/00653afbc8afeaeed8b261f5c15387733baa81cd)) * Implement slim Gemini CLI integration via MCP server ([5b2b85d](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/5b2b85d016a7def942c5b32077b1ba29806da837)) * Implement Slim Gemini CLI MCP server with streaming and API integration ([2302889](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/2302889999655f306d58c5d178a0003ea7c2247a)) * Implements comprehensive testing infrastructure and development workflow for production-ready MCP server. ([5ca93ba](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/5ca93ba1f6c51f48d441897f427f7f8d2bd99701)) * Introduce new Slim Gemini CLI MCP server with streaming and API integration ([5634b73](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/5634b73256791c0f92678a01ad25b088ec9ae096)) * Release v1.0.0 - Security Hardened Production Version ([2c77cf5](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/2c77cf578a1a3d6bd00b4cb83a0736f57f51e41c)) * remove integration tests and outdated MCP server tests ([02ec503](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/02ec50330772b1764d310da000124510b24c373b)) * Run pytest in a virtual environment ([6641920](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/6641920a76c2a8f5390c13d8e70454f1affbe081)) ### Bug Fixes * adjust coverage requirements and pytest configuration ([75d2e89](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/75d2e89ff048eb057a1ed81bdf0e7223053c0f57)) * configure release please to use existing changelog path ([1a9c476](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/1a9c47617a934e0b7659a0459332cfd7071a8b4a)) * correct indentation and add issue write permission to release workflow ([0fa2c79](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/0fa2c7975b1474baf9e917957e282b6dc8051d7f)) * correct indentation of comment in test workflow failure check ([8970719](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/8970719de139cd892da2db6a8478cf4a497da890)) * correct release-please manifest to match actual current version (1.3.1) ([240f340](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/240f3403047a436ea99e4d1bc1ebc30a00848fd2)) * correct yaml syntax error in test workflow ([b317995](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/b31799541d4e8fc817cc6866e3e75fab4be6bc53)) * enhance anti-markdown prompts for better terminal output ([f39f5f7](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/f39f5f76f87a5aaac02076eecf1f28bbdf43f64e)) * Pass GOOGLE_CLOUD_PROJECT env var to Gemini CLI subprocess ([74f5e99](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/74f5e991224b7a306d0029007476953e18e4e5d6)) * Pass GOOGLE_CLOUD_PROJECT env var to Gemini CLI subprocess ([bdd0eed](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/bdd0eed881606e2101258c629cb9e29d6dd90615)) * resolve code formatting issues with black formatter ([dd36c3a](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/dd36c3a5e1ab190fa1e44a4b7e01f9061d00868a)) * **security:** Fix PYTHONPATH for security and hardening tests ([a9c61e5](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/a9c61e59c10278fab6e2dcec12daadab9a3f5f12)) ### Documentation * add claude.md and tasks.json to .gitignore ([c057b16](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/c057b16f1e753f57f5fa27c10993323a9a73bb75)) * add concise code comments guideline to README ([4f4d202](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/4f4d202b91863518e3b5d8631ddac24fa9198c00)) * Add credits section to README for tools used ([5ae9190](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/5ae919052d3901be77af6f3730a8df9c3e0957dd)) * add detailed contribution guidelines to README ([4392ff9](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/4392ff9599ed1cb5ae3c7e5a99c3d61187757025)) * Add development setup instructions to README ([50b7c2e](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/50b7c2ea0e6bdcd1d788d406c3aa209131b241a8)) * add Google API key requirement to setup instructions ([dcb53bb](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/dcb53bb4df274a14c4d8f9e285e688d3b569f1f8)) * Add note emphasizing API key replacement in setup guide ([d233ab9](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/d233ab9150df5c78666e2f4335ea9f5396919cba)) * Add setup and slash commands guide links to README ([8de56f7](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/8de56f7d4d8c23658111893dff03f70780bdb450)) * Clarify virtual environment path in setup guide ([34f0f8a](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/34f0f8a580ef3125145654ea370e6e045f839860)) * Comprehensive documentation update for Gemini MCP integration ([11a5ee2](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/11a5ee2ce6987b4da87eb1d7b12175b0bf1b51ea)) * Document symlink setup for automated hooks ([064f1c0](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/064f1c052221171aca98327e333a7027609b0268)) * expand hook setup guide to include slash command configuration ([5619f86](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/5619f867581c16704e1158235d209e9e23472c08)) * fix formatting in README.md ([b640e38](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/b640e3888b5ade5c23b253f2d9c494f517fc46b6)) * remove unnecessary bold formatting in setup documentation ([c72ee9f](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/c72ee9f3f32ec398b5b6bace8fb693b049393823)) * Reorganize documentation structure ([2c346c5](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/2c346c5b6b1f7f5d45e4fdcbf89d8abdbe9cac62)) * Revise SETUP guide for clarity and improved structure ([aec407b](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/aec407b35033a211a815600216890140dd6fedf6)) * specify global and project-specific Claude configuration file locations ([3b07dab](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/3b07dabd74f81be93b4ec9869ce034a94c585477)) * update API key reference from Google to Gemini in setup guide ([12ea373](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/12ea373b03a57227821011cb3409455c6a9583e7)) * update project description to focus on Claude Code integration with Gemini ([0efe6cd](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/0efe6cdaee16ecde38eb419bab9e89dffecaeeca)) * Update README and SETUP guide for Claude Code hooks ([2c026d1](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/2c026d1a83ae113df3f41eb5dfcf6e78cf8c2742)) * Update README and SETUP guide with minor corrections ([7308615](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/7308615df79e82581bad4956b9c9c0d8c080e326)) * Update README with badges for version, security, license, etc. ([cfbf5b5](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/cfbf5b5a1ee782b2c01f6b026c6ab39ec02f70d6)) * Update README.md to reflect version 1.3.0 and major changes ([9ccd5df](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/9ccd5df6b3a876bd14c2fec129a13fdb26735ff7)) ### Testing * add test file for hook testing ([65948f7](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/65948f7aaa351b4a24dab014a7e223a548c3f9ba)) ### CI/CD * add coverage XML path config for PR coverage report workflow ([a4d7d0e](https://github.com/cmdaltctr/claude-gemini-mcp-slim/commit/a4d7d0e5f5f1118a8f086bab471c2b4dcf998a7d)) ## [1.3.1] - 2025-07-15 ### Fixed - **E2E Test Async Mocking Issues** - Fixed critical async mocking problems that were causing CI failures - **Resolved "MagicMock can't be used in await expression" Error** - Properly configured async function mocking using `AsyncMock` and `side_effect` parameters - **Improved Test Reliability** - All E2E tests now pass consistently when `TEST_WITH_REAL_API=true` and `TEST_GOOGLE_API_KEY` is set ### Technical Improvements - Added proper async mocking with `AsyncMock` import for better async function testing - Updated `test_real_quick_query` to use proper async mock with `side_effect` parameter - Updated `test_real_code_analysis` to mock API response about performance issues - Updated `test_real_api_rate_limiting` to mock varied API responses for concurrent requests - Applied pytest-asyncio best practices for async test mocking based on official documentation ### Testing - All 75 tests pass with 3 properly skipped (as expected) - Fixed the specific CI failure that was blocking deployments - Maintained test isolation and proper cleanup across all test suites ## [1.3.0] - 2025-07-15 ### Added - **Comprehensive Testing Suite** - 1,540+ lines of unit, integration, and end-to-end tests with timeout protection - **CI/CD Pipeline** - 3 GitHub Actions workflows for automated testing, security scanning, and dependency checks - **Multi-Environment Support** - Python 3.10-3.12 compatibility testing - **Development Workflow** - Pre-commit hooks, Makefile automation, and setup script - **Code Quality Tools** - MyPy type checking, Black/isort formatting, and coverage reporting ### Security - **Bandit Integration** - Automated security scanning with custom configuration - **GitLeaks Integration** - Secret detection and prevention in codebase - **Custom Hardening Tests** - Additional security validation beyond standard tools - **Enhanced Error Handling** - Improved MCP server robustness and security ### Testing Infrastructure - **Unit Tests** - Core functionality testing with mocked dependencies - **Integration Tests** - API and CLI fallback testing with real interactions - **End-to-End Tests** - Full workflow validation including MCP server operations - **Security Tests** - Vulnerability scanning and hardening validation - **Timeout Protection** - Prevents hanging tests in CI/CD environments ### Development Improvements - **Automated Setup** - One-command development environment setup (`./setup-dev.sh`) - **Pre-commit Hooks** - Automatic code quality checks before commits - **Makefile Commands** - Streamlined development workflow automation - **Enhanced Documentation** - Updated testing, setup, and security guides ### Changed - **Project Structure** - 40 files changed with 5,536 lines added and 1,012 removed - **Reorganized test structure** with proper separation of concerns - **Enhanced project configuration** with `pyproject.toml` - **Improved dependency management** with development requirements ### Potentially Breaking Changes - Updated minimum Python version requirements (backward compatibility maintained) - Reorganized project structure for better maintainability - Enhanced development setup process (existing setups continue to work) ### Verification - All tests pass across Python 3.10-3.12 - Security scans pass with zero critical vulnerabilities - Type checking passes with MyPy - Code formatting enforced with Black/isort - Existing installations continue to work without changes ## [1.2.0] - 2025-07-14 ### Added - **Enhanced Documentation Structure** - Improved README with table of contents and architecture overview - **Streamlined User Experience** - Better organization of setup and usage instructions - **Improved Issue Reporting** - Added detailed guidance for submitting issues with labels ### Documentation - Added comprehensive architecture diagrams and explanations - Restructured documentation for better navigation and user experience - Enhanced "Need Help?" section with better issue submission guidance - Added link to GitHub labels for better issue categorization ## [1.1.0] - 2025-07-14 ### Added - **Streamlined Slash Commands** - Simplified implementation with individual command files - **Enhanced Command Organization** - Individual markdown files for each command in `.claude/commands/` - **Better Documentation** - Comprehensive slash commands guide with examples ### Slash Commands Added - Core: `/gemini`, `/g`, `/analyze`, `/a`, `/codebase`, `/c` - Focus: `/security`, `/s`, `/performance`, `/p`, `/architecture`, `/arch` - Assistance: `/explain`, `/e`, `/debug`, `/d`, `/review`, `/r`, `/research` - Improvement: `/optimize`, `/test`, `/fix` - Utilities: `/help`, `/status`, `/models` ### Changed - **Improved Command Structure** - Removed legacy `slash_commands.py` and `slash-commands.json` in favor of modular approach ### Technical Improvements - Modular command architecture for easier maintenance and updates - Direct markdown-based command definitions - Simplified implementation with reduced dependencies - Improved error handling with helpful messages and usage hints ## [1.0.0] - 2025-07-12 ### Added - Complete MCP server implementation with three core tools - Smart model selection (Gemini Flash for speed, Pro for depth) - Real-time streaming output with progress indicators - Shared MCP architecture supporting multiple AI clients - API-first approach with CLI fallback - Comprehensive hook system for automated workflows ### Security - **CRITICAL:** Fixed command injection vulnerabilities (CWE-78) - **CRITICAL:** Fixed path traversal vulnerabilities (CWE-22) - **CRITICAL:** Fixed prompt injection vulnerabilities (CWE-94) - **CRITICAL:** Fixed secrets exposure issues (CWE-200) - **CRITICAL:** Enhanced input validation (CWE-20) - Implemented defense-in-depth security architecture - Added comprehensive security testing suite - Created detailed security documentation ### Technical Improvements - Replaced all `shell=True` usage with secure subprocess execution - Added path validation and directory boundary enforcement - Implemented input sanitization for all user inputs - Added API key redaction in error handling - Enhanced error handling with fail-safe defaults - Optimized for production deployment ### Documentation - Complete setup guide with 5-minute quick start - Comprehensive security documentation - Architecture diagrams and code examples - Troubleshooting guides and best practices - Professional deployment patterns ### Breaking Changes - Removed vulnerable test files and insecure code patterns - Enhanced security may reject previously accepted inputs - File access restricted to current directory tree only ## Pre-1.0.0 Development Versions ### Initial Development (July 10-12, 2025) - Initial MCP server prototype (July 10) - Basic Gemini CLI integration (July 10-11) - Experimental hook implementations (July 11) - Security vulnerability identification and analysis (July 11-12) **Note:** Versions prior to 1.0.0 contained critical security vulnerabilities and should not be used in production environments. --- ## Legend - **Added** for new features - **Changed** for changes in existing functionality - **Deprecated** for soon-to-be removed features - **Removed** for now removed features - **Fixed** for any bug fixes - **Security** for vulnerability fixes

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/cmdaltctr/claude-gemini-mcp-slim'

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