gem-mcp
Full support for Flutter project scaffolding and code generation across all platforms, including blueprint-based architecture.
Dual-engine AI strategy using Gemini 2.5 Pro for reasoning and Flash for high-speed code generation, with API key rotation to avoid rate limits.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gem-mcpCreate a simple to-do list app with Flutter"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
⨠Features
Feature | Description |
š§ Dual-Engine Strategy | Uses Gemini 2.5 Pro for reasoning and Flash for high-speed generation |
š API Key Rotation | Multiple Gemini keys with random load balancing to avoid rate limits |
š Groq Fallback | Automatic fallback to Groq when Gemini quota is exceeded |
šļø Visual Inspector | Multimodal UI validation with Playwright + Gemini Vision (OCR fallback) |
š”ļø QA Sentinel | Auto-healing test execution with smart diagnostics |
ā” Lazy Loading | Sub-5 second startup time |
Related MCP server: MCP Agentic AI Server
š Quick Start
Prerequisites
Python 3.10+
Google Gemini API Key (Get one here)
Installation
# Clone the repository
git clone https://github.com/riccardosecchi/gem-mcp.git
cd gem-mcp
# Create virtual environment
python3 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Install Playwright browsers (for visual inspection)
playwright install chromiumEnvironment Setup
# Copy the example env file
cp .env.example .env
# Edit with your API keys
nano .envRequired keys in .env:
# Single Gemini key
GEMINI_API_KEY=your_key_here
# OR multiple keys for rotation (recommended)
GEMINI_API_KEYS=key1,key2,key3,key4
# Groq fallback (optional but recommended)
GROQ_API_KEY=gsk_your_groq_keyāļø Configuration
Connect to Claude Code
Add the server to your Claude Code global configuration:
# Edit ~/.claude.jsonAdd this configuration:
{
"mcpServers": {
"gem-mcp": {
"command": "/path/to/gem-mcp/venv/bin/python3",
"args": [
"/path/to/gem-mcp/server.py"
]
}
}
}š” Tip: Replace
/path/to/gem-mcpwith your actual installation path
Verify Connection
# Start Claude Code
claude
# Inside Claude, check MCP servers
/mcpYou should see gem-mcp with a green checkmark ā
š ļø Tools
sequential_thinking
Meta-cognitive buffer for complex reasoning. Enables 50-step planning before code generation.
Use: "Think through the requirements for building a todo app"architect_blueprint
Generates Clean Architecture JSON blueprints with folder structure and tech stack.
Use: "Create a blueprint for a Flutter expense tracker app"scaffold_project
Creates physical folder structure. Full Flutter support with all platforms.
Use: "Scaffold the project based on the blueprint"intelligent_code_writer
Flash-powered code generation with framework-specific linting rules.
Use: "Write the main.dart file with dependency injection setup"visual_inspector
Takes screenshots and validates UI against design expectations.
Use: "Check if the login page matches the design mockup"qa_sentinel
Executes tests with self-healing diagnostics.
Use: "Run pytest and fix any failures"search_codebase
Smart code search with context.
Use: "Find all usages of the UserRepository class"šļø Architecture
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā Claude Code (LLM) ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāā¬āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā MCP Protocol
ā¼
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā gem-mcp Server ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāāāāā ā
ā ā Architect ā ā Fabricator ā ā Visual Engine ā ā
ā ā (Pro Model) ā ā(Flash Model)ā ā (Playwright+Flash) ā ā
ā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāāāāā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā¤
ā Tool Layer (8 Agents) ā
ā ⢠sequential_thinking ⢠intelligent_code_writer ā
ā ⢠architect_blueprint ⢠visual_inspector ā
ā ⢠scaffold_project ⢠qa_sentinel ā
ā ⢠search_codebase ⢠clear_thought_process ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāš Project Structure
gem-mcp/
āāā server.py # Main MCP server with all tools
āāā requirements.txt # Python dependencies
āāā .env.example # Environment template
āāā CLAUDE.md # Instructions for Claude
āāā README.md # This fileš Security
API keys are loaded from
.env(never committed)Dangerous shell commands are blocked
Test execution has timeout limits
All external calls use async with proper error handling
š License
MIT Ā© 2025
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that uses Google Gemini AI to analyze requirements, create project plans, review code quality, and provide execution analysis feedback for software development projects.Last updated1MIT
- Flicense-quality-maintenanceA dual-server MCP implementation with task-based AI processing using Google Gemini API, featuring tool integration, real-time monitoring dashboard, and extensible framework for custom AI workflows.Last updated
- FlicenseAqualityDmaintenanceAn MCP server that automates the full software development lifecycle through an AI-driven TDD state machine. It handles everything from task decomposition and test-driven development to integration testing and automated pull request creation.Last updated4
- AlicenseBqualityCmaintenanceProduction-grade, autonomous Model Context Protocol (MCP) server that elevates AI models from stateless code generators into persistent, self-verifying software engineers.Last updated211MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for Google Veo AI video generation
MCP server for Grok Imagine AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/riccardosecchi/gem-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server