Skip to main content
Glama
MIT License
3

제미니-mcp-서버

Google의 Gemini 모델과 직접 API 호출을 사용하여 통합되는 Model Context Protocol(MCP) 서버의 TypeScript 구현입니다.

특징

  • Gemini API에 대한 직접 호출을 사용합니다(더 이상 사용되지 않는 SDK 없음)
  • 최신 Gemini 2.0 Flash 모델을 지원합니다
  • Claude와의 원활한 통합을 위해 MCP 프로토콜을 구현합니다.
  • 자연스러운 상호작용을 위해 대화 맥락을 유지합니다.

MCP 도구

텍스트 생성

서버에서: gemini

구성 가능한 매개변수를 사용하여 Gemini 모델을 사용하여 텍스트를 생성합니다.

필수 조건

  • Node.js 18 이상
  • Google Gemini API 키
  • 타입스크립트
  • 클로드 데스크톱 앱

설치

  1. 저장소를 복제합니다.

지엑스피1

  1. 종속성 설치:
npm install
  1. 짓다:
npm run build

Claude 데스크톱 통합

Claude Desktop과 함께 이 서버를 사용하려면:

  1. 클로드 데스크톱 열기
  2. 설정 > 개발자로 이동하세요
  3. "구성 편집"을 클릭하세요
  4. 다음 구성을 추가합니다.
"gemini": { "command": "node", "args": ["path\\to\\dist\\gemini_mcp_server.js"], "env": { "GEMINI_API_KEY": "gemini_api_key" }, "cwd": "path\\to\\gemini-mcp-server" }

바꾸다:

  • /path/to/gemini-mcp-server 저장소에 대한 절대 경로를 지정합니다.
  • your_api_key_here 실제 Google Gemini API 키와 함께 사용하세요.

이제 해당 서버를 Claude Desktop의 MCP 서버 목록에서 이용할 수 있습니다.

API 구현

이 서버는 Gemini API 엔드포인트에 대한 직접 HTTP 요청을 사용합니다. API 요청 형식은 Google 공식 문서를 따릅니다.

curl "https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=GEMINI_API_KEY" \ -H 'Content-Type: application/json' \ -X POST \ -d '{ "contents": [{ "parts":[{"text": "Explain how AI works"}] }] }'

테스트

다음 예제 스크립트를 사용하여 직접 API 구현을 테스트할 수 있습니다.

node dist/example_direct_api.js "Your prompt here"

특허

MIT

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Google의 Gemini 2.0 Flash 모델과 통합된 Model Context Protocol 서버의 TypeScript 구현으로, Claude Desktop 사용자가 자연어 대화를 통해 Gemini와 상호 작용할 수 있습니다.

  1. 특징
    1. MCP 도구
      1. 텍스트 생성
    2. 필수 조건
      1. 설치
        1. Claude 데스크톱 통합
          1. API 구현
            1. 테스트
              1. 특허

                Related MCP Servers

                • A
                  security
                  A
                  license
                  A
                  quality
                  A TypeScript server that integrates Google's Gemini Pro model with Claude Desktop through the Model Context Protocol, allowing Claude users to access Gemini's text generation capabilities.
                  Last updated -
                  1
                  5
                  TypeScript
                  MIT License
                  • Apple
                  • Linux
                • A
                  security
                  A
                  license
                  A
                  quality
                  A TypeScript implementation of the Model Context Protocol server for Pica that enables Claude Desktop users to interact with connected platforms like Gmail, Google Sheets, Slack, and databases through natural language commands.
                  Last updated -
                  4
                  25
                  16
                  JavaScript
                  GPL 3.0
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  A 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
                  • Linux
                  • Apple
                • -
                  security
                  F
                  license
                  -
                  quality
                  A Model Context Protocol server that provides greeting tools, resources, and prompts, demonstrating client-server interaction using TypeScript.
                  Last updated -
                  TypeScript

                View all related MCP servers

                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/IA-Entertainment-git-organization/gemini-mcp-server'

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