Personal Assistant
БесплатноНе проверенAn autonomous Morning Briefing agent built with Gemini 2.0 Flash and the Model Context Protocol (MCP). Features proactive reasoning, multi-turn tool use, and lo
Описание
An autonomous Morning Briefing agent built with Gemini 2.0 Flash and the Model Context Protocol (MCP). Features proactive reasoning, multi-turn tool use, and local-first privacy
README
An autonomous Morning Briefing agent built with Gemini 2.0 Flash and the Model Context Protocol (MCP). Features proactive reasoning, multi-turn tool use, and local-first privacy
Gemini 2.0 Flash + Model Context Protocol (MCP) This repository contains a personal project that implements an autonomous "Executive Assistant" using the Model Context Protocol (MCP). The agent bridges the gap between high-level LLM reasoning and local data silos (Gmail, Calendar, Weather) to provide a proactive morning briefing.
🚀 Project Overview Most AI assistants are reactive—they wait for a command. This agent is proactive. It doesn't just fetch your schedule; it analyzes it. If it finds a birthday or a gap in your day, it autonomously plans and executes follow-up actions (like researching gift ideas or drafting emails) before you even ask.
The "Golden Run" Milestone In its final iteration, the agent successfully performed the following workflow:
Parallel Context Gathering: Simultaneously fetched weather, unread emails, and calendar events.
Autonomous Trigger: Identified a birthday for July 2026.
Automatic Function Calling: Independently searched for tech gifts via DuckDuckGo and created a draft in Gmail using the results.
🛠️ Tech Stack & Architecture LLM: Gemini 2.0 Flash (via Google GenAI SDK)
Protocol: Model Context Protocol (MCP)
Backend: Python 3.13
Integrations: * Google Gmail API: For reading unread mail and creating drafts.
Google Calendar API: For schedule analysis.
DuckDuckGo Search: For real-time web research.
📂 File Structure server.py: The MCP Capability Provider. This file defines the tools (Gmail, Calendar, Search) and handles the secure OAuth2 connection to Google services.
run_check_mcp.py: The Orchestrator. This script connects to the MCP server and uses Gemini 2.0 to reason through the gathered data and execute tools.
⚙️ Setup & Installation
- Prerequisites Google Cloud Project with Gmail and Calendar APIs enabled.
A credentials.json file from the Google Cloud Console.
A Gemini API Key.
- Environment Setup Create a .env file in the root directory:
Code snippet
GEMINI_API_KEY=your_api_key_here 3. Installation pip install mcp google-genai duckduckgo-search google-auth-oauthlib google-api-python-client python-dotenv
- Usage Ensure server.py is in the same directory as run_check_mcp.py:
python run_check_mcp.py
🧠 Key Learnings Local-First Privacy: By using MCP, sensitive data like emails and calendar events are processed locally. Only summarized context is sent to the LLM.
Automatic Function Calling: Leveraging the automatic_function_calling configuration in the GenAI SDK removes the need for manual state management in multi-turn conversations.
Asynchronous Performance: Utilizing asyncio.gather for tool execution reduced context-gathering latency by over 50%.
Final Project Status: Feature Complete ✅
The project successfully demonstrates the transition from a simple "Chat-with-Data" bot to a "Reason-and-Act" autonomous agent.
Contact / Let's Connect: "I'm passionate about the future of local-first AI and Agentic workflows. If you're building in the MCP space, let's connect on LinkedIn!"
Установка Personal Assistant
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/paddumelanahalli/MCP-Personal-AssistantFAQ
Personal Assistant MCP бесплатный?
Да, Personal Assistant MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Personal Assistant?
Нет, Personal Assistant работает без API-ключей и переменных окружения.
Personal Assistant — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Personal Assistant в Claude Desktop, Claude Code или Cursor?
Открой Personal Assistant на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Personal Assistant with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
