
angrysky56/gemini-mcp-client
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
MCP (Model Context Protocol) 클라이언트는 지능형 도구 사용 및 대화 처리를위한 Google Gemini AI 모델을 사용합니다. Claude Desktop에서 MCP Server로 잘 작동했습니다.
개요
신용 에서 시작- medium.com/@fruitful2007/building-an-mcp-client-101-lets-build-one-for-a-gemini-chat-agent A (전적으로, lol) 강력한 MCP (모델 Context Protocol) 클라이언트는 지능 도구 사용 및 대화 처리를위한 Google의 Gemini AI 모델을 사용합니다. - Claude Desktop에서 MCP Server로 잘 작동하는 테스트. - : 다양한 Gemini 모델 지원 (2.0-flash, 2.5-pro, 1.5-pro 등) - : gemini-tool-agent, google-generativeai 또는 google-genai 패키지와 함께 작동합니다. : 대화 중 모델 변경 - : MCP 서버 구성 저장 및 관리 - : AI-powered 도구 발견 및 실행 - : 효율적인 동시 작동 - : 튼튼한 오류 복구 및 로깅 - : 전체 유형 안전과 현대 파이썬 관행 에이전트 디렉토리에서 "adk web"을 사용하여 에이전트를 변경합니다. 간단한 Gemini mcp 사용에 대한 py 경로가 더 나은 설정을 얻을 때까지. 전체 mcp agent-README.
개요(AI 번역)
신용 에서 시작- medium.com/@fruitful2007/building-an-mcp-client-101-lets-build-one-for-a-gemini-chat-agent
pypi.org/project/gemini 공구 시약
A (전적으로, lol) 강력한 MCP (모델 Context Protocol) 클라이언트는 지능 도구 사용 및 대화 처리를위한 Google의 Gemini AI 모델을 사용합니다.
- Claude Desktop에서 MCP Server로 잘 작동하는 테스트.
자신의 위험에 비코더 사용으로 검증된 AI gen 코드를 기반으로 합니다.
특징
-Multiple Gemini Models: 다양한 Gemini 모델 지원 (2.0-flash, 2.5-pro, 1.5-pro 등)
- ** 유연한 패키지 지원**: Gemini-tool-agent, google-generativeai, 또는 google-genai 패키지와 함께 작동
- Runtime Model Switching: 대화 중 모델 변경
- 서버 구성 관리: MCP 서버 구성 저장 및 관리
- Intelligent Tool Usage: AI-powered Tool discovery 및 실행
- Async/await 지원: 효율적인 동시 운영 -Comprehensive Error 처리: Robust 오류 복구 및 로깅
- Type Hints: 전체 유형의 안전과 현대 파이썬 관행
에이전트 디렉토리에서 "adk web"을 사용하여 에이전트를 변경합니다.
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
MCP Gemini Client
Credit to and started from- medium.com/@fruitful2007/building-an-mcp-client-101-lets-build-one-for-a-gemini-chat-agent
pypi.org/project/gemini-tool-agent
A (potentially, lol) powerful MCP (Model Context Protocol) client that uses Google’s Gemini AI models for intelligent tool usage and conversation handling.
- Tested working nicely with Claude Desktop as an MCP Server currently.
Based on untested AI gen code by a non-coder use at own risk.
Features
- Multiple Gemini Models: Support for various Gemini models (2.0-flash, 2.5-pro, 1.5-pro, etc.)
- Flexible Package Support: Works with gemini-tool-agent, google-generativeai, or google-genai packages
- Runtime Model Switching: Change models during conversation
- Server Configuration Management: Store and manage MCP server configurations
- Intelligent Tool Usage: AI-powered tool discovery and execution
- Async/await Support: Efficient concurrent operations
- Comprehensive Error Handling: Robust error recovery and logging
- Type Hints: Modern Python practices with full type safety
Using “adk web” from agents directory- alter the agent.py paths to your own for simple Gemini mcp use for now until I get a better setup. full_mcp_agent-README.md
google agent framework report text
Installation
📋 Easy Installation Instructions Here’s the correct way to set it up with Claude- maybe, You may need to install this if not working properly:
- cd /gemini-mcp-client && uv add google-generativeai
Doesn’t throw an error and works great for chat, not sure about Gemini MCP use. Just edit in your paths and use this config in Claude Desktop:
{
"mcpServers": {
"gemini-ai": {
"command": "uv",
"args": [
"--directory",
"/home/ty/Repositories/ai_workspace/gemini-mcp-client",
"run",
"python",
"servers/gemini_mcp_server.py"
],
"env": {
"GEMINI_API_KEY": "your_gemini_api_key_here"
}
},
"echo-server": {
"command": "uv",
"args": [
"--directory",
"/home/ty/Repositories/ai_workspace/gemini-mcp-client",
"run",
"python",
"examples/echo_server.py"
]
}
}
}
Installation outside of Claude if someone wants to try it and maybe develop a Standalone UI for Gemini with MCP Tools!:
- possibly hallucinatory
This project uses uv for dependency management. Make sure you have uv installed.
Setting up the environment
# Create and activate virtual environment
uv venv --python 3.12 --seed
설치
This server does not publish a one-line install command.
Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →설정
{
"mcpServers": {
"gemini-ai": {
"command": "uv",
"args": [
"--directory",
"/home/ty/Repositories/ai_workspace/gemini-mcp-client",
"run",
"python",
"servers/gemini_mcp_server.py"
],
"env": {
"GEMINI_API_KEY": "your_gemini_api_key_here"
}
},
"echo-server": {
"command": "uv",
"args": [
"--directory",
"/home/ty/Repositories/ai_workspace/gemini-mcp-client",
"run",
"python",
"examples/echo_server.py"
]
}
}
}