MCP has been configured automatically using your existing Gemini API key from the ai-recorder project.
The setup has already been completed! Just run:
# Refresh your environment
source ~/.bashrc
# Verify MCP is configured
claude mcp listStatus: Installed and configured
Package: @google/genai
API Key: Extracted from ai-recorder project
Status: Package not available via npm
Alternative: Using web search and documentation fetching
{
"$schema": "https://json.schemastore.org/mcp.json",
"mcpServers": {
"google-dev-docs": {
"command": "npx",
"args": ["-y", "@google/genai"],
"env": {
"GOOGLE_API_KEY": "${GEMINI_API_KEY}"
}
}
}
}Automated setup script that:
- ✅ Installs required packages
- ✅ Extracts API key from ai-recorder
- ✅ Creates configuration files
- ✅ Sets up environment variables
If you need to reconfigure:
cd /data/data/com.termux/files/home/AppManager
bash scripts/setup-mcp.sh# List configured MCP servers
claude mcp list
# Test Google Developer MCP
claude mcp test google-dev-docs✅ google-dev-docs: Connected
| Tool | Description |
|---|---|
generateContent |
Generate content with Gemini AI |
search_docs |
Search Google developer documentation |
get_api_reference |
Get API reference for specific class |
get_code_sample |
Get official code samples |
# Reinstall Google GenAI package
npm install -g @google/genai# Check if API key is set
echo $GEMINI_API_KEY
# If empty, add to ~/.bashrc manually
echo 'export GEMINI_API_KEY="your-key-here"' >> ~/.bashrc
source ~/.bashrc# Test network connectivity
curl https://generativelanguage.googleapis.com
# Check npm registry
npm pingSetup Date: March 1, 2026
Version: 1.0
Status: ✅ Configuration Complete