-
securityF
license-
qualityA server implementing the Model Context Protocol that enables AI assistants like Claude to interact with Google's Gemini API for text generation, text analysis, and chat conversations.
Last updated -
Python
이 프로젝트를 통해 Google의 Gemini AI와 채팅하고, 특정 제어 폴더("샌드박스") 내에서 컴퓨터의 파일을 안전하게 읽고, 쓰고, 나열할 수 있습니다.
기능:
mcp_server.py
: Gemini가 파일에 액세스하는 데 사용하는 로컬 서버입니다. 컴퓨터의 어느 폴더를 "샌드박스"로 설정할지 지정하세요.chat_with_gemini_mcp.py
, simple_chat.py
) : Gemini와 대화하는 명령줄 채팅입니다. Gemini는 mcp_server.py
를 사용하여 샌드박스의 파일을 관리할 수 있습니다.주의해서 사용하세요: 이는 기본적인 예시입니다. mcp_server.py
가 어떤 폴더에 접근할지 신중하게 결정하세요.
.py
파일이 하나의 폴더에 있는지 확인하세요.set GOOGLE_API_KEY="YOUR_KEY_HERE"
사용하세요)./install_packages.sh
실행하세요)./mcp_data_sandbox/
폴더가 생성되어 사용됩니다. 다른 폴더를 사용하려면: python mcp_server.py --sandbox-dir ./my_files
)notes.txt
만들고 그 안에 'Hello world'를 쓰세요."notes.txt
읽어보세요."mcp_server.py
에 샌드박스 폴더에서 파일 작업(읽기, 쓰기 등)을 수행하라고 지시합니다.mcp_server.py
는 샌드박스로 선택한 폴더 내의 파일만 접근할 수 있습니다. 이는 보안을 위한 조치입니다.AI에 파일 접근 권한을 부여하는 기본적인 도구입니다. 현명하게 사용하세요!
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Google의 Gemini AI가 자연어 채팅 상호작용을 통해 컴퓨터의 제어된 샌드박스 폴더 내에서 파일을 안전하게 읽고, 쓰고, 나열할 수 있도록 하는 로컬 서버입니다.
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kevingduck/gemini_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server