Chatbot Assistant with Gemini + gRPC
@omjamnekar
About Chatbot Assistant with Gemini + gRPC
grcp chatmodel with mcp server model integrated with gemini model 5o-flash
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"grcp-chatmodel": {
"command": "python",
"args": [
"server.py"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Chatbot Assistant with Gemini + gRPC?
A simple chatbot backend powered by Google's Gemini API that uses gRPC for client‑server communication. It maintains conversation context per session and follows a clean modular design (client, server, context manager, inference engine). Designed for developers building interactive conversational experiences with gRPC and Gemini.
How to use Chatbot Assistant with Gemini + gRPC?
- Install dependencies:
pip install -r requirements.txt. - Create a
.envfile with yourGEMINI_APIkey. - Start the server:
python server.py. - Run the client:
python client.py. Type messages and receive AI replies; typeexitto stop.
Key features of Chatbot Assistant with Gemini + gRPC
- gRPC‑based communication between client and server
- Integration with Google Gemini API for AI replies
- Session‑based context management per chat
- Modular code (client, server, context manager, inference engine)
- Clean project structure with
.protodefinitions
Use cases of Chatbot Assistant with Gemini + gRPC
- Building a prototype chatbot with stateful conversation history
- Learning how to combine gRPC with a modern LLM API
- Experimenting with session‑aware AI assistants in Python
- Demonstrating a full‑stack gRPC application with Gemini backend
FAQ from Chatbot Assistant with Gemini + gRPC
How do I set up the Gemini API key?
Create a .env file in the project root and add GEMINI_API=your_api_key_here.
What Python version is required?
Python 3.10 or higher is recommended.
Do I need to compile the .proto files myself?
No – the repository includes pre‑generated files (assistant_pb2.py and assistant_pb2_grpc.py). Ensure they match your .proto definitions if you modify them.
How is chat context managed?
The context_manager.py module maintains context per session, so the conversation history is preserved for each client.
What transport and authentication does the server use?
Communication uses gRPC. The Gemini API is authenticated via the GEMINI_API key stored in the .env file.
More AI & Agents MCP servers
Just Prompt - A lightweight MCP server for LLM providers
dislerjust-prompt is an MCP server that provides a unified interface to top LLM providers (OpenAI, Anthropic, Google Gemini, Groq, DeepSeek, and Ollama)
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
Gemini MCP Server
aliargunMCP server implementation for Google's Gemini API
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
欢迎来到 智言平台
Shy2593666979AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。
Comments