MCP Chat
MCP Chat
MCP Chat은 Google Gemini API를 통해 AI 모델과 대화형 채팅 기능을 제공하는 커맨드라인 인터페이스 애플리케이션입니다. 이 애플리케이션은 문서 검색, 명령 기반 프롬프트, 그리고 MCP(Model Control Protocol) 아키텍처를 통한 확장 가능한 도구 통합을 지원합니다.
사전 요구 사항
Python 3.9+
Google Gemini API 키
Related MCP server: MCP Chat
설정
1단계: 환경 변수 구성
프로젝트 루트에
.env파일을 생성하거나 편집하고 다음 변수가 올바르게 설정되어 있는지 확인하세요:
GEMINI_API_KEY="" # Enter your Google Gemini API key
GEMINI_MODEL="gemini-3.6-flash" # The Gemini model to useGoogle AI Studio에서 API 키를 생성할 수 있습니다.
2단계: 의존성 설치
옵션 1: uv로 설정 (권장)
uv는 빠른 Python 패키지 설치 및 해석 도구입니다.
아직 설치되지 않은 경우 uv를 설치하세요:
pip install uv가상 환경을 생성하고 활성화하세요:
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate의존성을 설치하세요:
uv pip install -e .프로젝트를 실행하세요:
uv run main.py옵션 2: uv 없이 설정
가상 환경을 생성하고 활성화하세요:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate의존성을 설치하세요:
pip install google-genai python-dotenv prompt-toolkit "mcp[cli]==1.8.0"프로젝트를 실행하세요
python main.py사용 방법
기본 상호 작용
메시지를 입력하고 Enter를 눌러 모델과 채팅하세요.
문서 검색
@ 기호 뒤에 문서 ID를 입력하여 쿼리에 문서 내용을 포함하세요:
> Tell me about @deposition.md명령어
/ 접두사를 사용하여 MCP 서버에 정의된 명령을 실행하세요:
> /summarize deposition.mdTab을 누르면 명령어가 자동 완성됩니다.
개발
새 문서 추가
mcp_server.py 파일을 편집하여 docs 사전에 새 문서를 추가하세요.
MCP 기능 구현
MCP 기능을 완전히 구현하려면:
mcp_server.py의 TODO를 완료하세요mcp_client.py에서 누락된 기능을 구현하세요
린팅 및 타입 검사
구현된 린트 또는 타입 검사는 없습니다.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA command-line interface application for interactive chat with AI models via the Anthropic API. It supports document retrieval, command-based prompts, and extensible tool integrations through the MCP architecture.
- FlicenseNot gradedqualityDmaintenanceA command-line interface application enabling interactive chat with AI models via the Anthropic API. It supports document retrieval, command-based prompts, and extensible tool integrations through the MCP architecture.
- FlicenseNot gradedqualityDmaintenanceA command-line interface application that enables interactive chat with AI models via the Anthropic API, supporting document retrieval and command-based prompts through the MCP architecture.
- FlicenseNot gradedqualityCmaintenanceA CLI chat application enabling interactive conversations with AI models via the Anthropic API, with document retrieval and command-based prompt support through the MCP architecture.
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/SDias14/mcp-server-training-linkedin-learning'
If you have feedback or need assistance with the MCP directory API, please join our Discord server