Gemini Thinking Server
모델 컨텍스트 프로토콜 - Gemini Thinking Server
이는 Google의 Gemini API와 통합되어 코드 생성 없이 분석적 사고 기능을 제공하는 MCP(Model Context Protocol)의 구현입니다.
개요
제미니 씽킹 서버는 구글의 제미니 모델을 활용하여 순차적 사고 및 문제 해결 기능을 제공하는 전문 MCP 서버입니다. 다음과 같은 기능을 제공합니다.
복잡한 문제를 단계별로 분해
수정의 여지를 둔 계획 및 설계
진로 수정이 필요할 수 있는 분석
전체 범위가 처음에는 명확하지 않을 수 있는 문제
Related MCP server: MCP Gemini Server
특징
쌍둥이자리 의 분석 능력을 활용하여 사려 깊은 반응을 생성합니다.
메타 해설 : 추론 과정에 대한 통찰력을 제공합니다.
신뢰 수준 : 쌍둥이자리가 분석에 얼마나 자신감을 가지고 있는지를 나타냅니다.
대안 경로 : 문제에 대한 다양한 접근 방식을 제안합니다.
분기 생각 : 다양한 생각 경로를 탐색할 수 있습니다.
수정 기능 : 이전 생각을 수정하는 것을 지원합니다.
세션 지속성 : 분석 세션 저장 및 재개
설치
지엑스피1
용법
환경 설정
서버를 실행하기 전에 Gemini API 키를 설정해야 합니다.
export GEMINI_API_KEY=your_api_key_here서버 실행
node dist/gemini-index.js도구 매개변수
geminithinking 도구는 다음과 같은 매개변수를 허용합니다.
query(필수): 분석할 질문이나 문제context(선택 사항): 추가 컨텍스트 정보approach(선택 사항): 문제에 대한 제안된 접근 방식previousThoughts(선택 사항): 맥락을 위한 이전 생각의 배열thought(선택 사항): 현재 생각 단계(비어 있으면 쌍둥이자리가 생성함)nextThoughtNeeded(필수): 다른 사고 단계가 필요한지 여부thoughtNumber(필수): 현재 생각 번호totalThoughts(필수): 필요한 총 생각 수 추정isRevision(선택 사항): 이것이 이전 생각을 수정하는지 여부revisesThought(선택 사항): 어떤 생각이 재고되고 있습니까?branchFromThought(선택 사항): 분기점 생각 번호branchId(선택 사항): 지점 식별자needsMoreThoughts(선택 사항): 더 많은 생각이 필요한 경우
세션 관리
이 도구는 또한 세션 관리 명령을 지원합니다.
sessionCommand: 세션을 관리하는 명령('save', 'load', 'getState')sessionPath: 세션 파일을 저장하거나 로드할 경로('save' 및 'load' 명령에 필요)
예: 세션 저장
{
"sessionCommand": "save",
"sessionPath": "/path/to/save/session.json",
"query": "dummy",
"thoughtNumber": 1,
"totalThoughts": 1,
"nextThoughtNeeded": false
}예: 세션 로딩
{
"sessionCommand": "load",
"sessionPath": "/path/to/load/session.json",
"query": "dummy",
"thoughtNumber": 1,
"totalThoughts": 1,
"nextThoughtNeeded": false
}예: 세션 상태 가져오기
{
"sessionCommand": "getState",
"query": "dummy",
"thoughtNumber": 1,
"totalThoughts": 1,
"nextThoughtNeeded": false
}예
도구를 사용하는 방법의 예는 다음과 같습니다.
{
"query": "How might we design a sustainable urban transportation system?",
"context": "The city has 500,000 residents and currently relies heavily on personal vehicles.",
"approach": "Consider environmental, economic, and social factors.",
"thoughtNumber": 1,
"totalThoughts": 5,
"nextThoughtNeeded": true
}응답 형식
서버는 다음과 같이 응답합니다.
{
"thought": "The generated thought from Gemini",
"thoughtNumber": 1,
"totalThoughts": 5,
"nextThoughtNeeded": true,
"branches": [],
"thoughtHistoryLength": 1,
"metaComments": "Meta-commentary about the reasoning",
"confidenceLevel": 0.85,
"alternativePaths": ["Alternative approach 1", "Alternative approach 2"]
}예시 클라이언트
다양한 사용 사례를 보여주기 위해 몇 가지 예제 클라이언트가 제공됩니다.
sample-client.js: 기본 클라이언트 예제example-usage.js: 구체적인 사용 예codebase-analysis-example.js: 코드베이스 분석 예시session-example.js: 세션 지속성을 보여주는 예advanced-filtering-example.js: 고급 의미 필터링을 보여주는 예
세션 예제를 실행하려면:
node dist/session-example.js고급 필터링 예제를 실행하려면:
node dist/advanced-filtering-example.js특허
MIT
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/bartekke8it56w2/new-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server