Token导航 LogoToken导航

MCP Server · AI代理

Personal AI Assistant

一款基于模型上下文协议(MCP)的个人AI助手,具备邮件管理、PDF阅读、会议安排、网页搜索、披萨订购和交互问答等功能,同时保护用户隐私信息。

stdio官方级别未说明来源级核验工具 0
本地处理PythonClaude任务自动化

快速开始

作者 / 组织
simranjotkaur6
提供方
simranjotkaur6

工具数量

0

来源目录标注

资源数量

0

来源目录标注

提示词数量

0

来源目录标注

GitHub Star

0

仓库热度

收录来源

1 个

MCP World

选型结论

Personal AI Assistant 属于AI代理类 MCP Server,公开资料标注 0 个工具,通过stdio 本地进程接入,适配 Claude,有可以直接复制的安装命令;接入前先确认权限范围。

分类

AI代理

传输方式

stdio

认证方式

无需认证

部署方式

公开资料未说明

安装与配置

安装命令

pip install -r requirements.txt

公开命令不是通用的启动方式,拼不出可靠配置示例;请在客户端 MCP 配置里按官方文档填写 command 和 args。

上手步骤

  1. 1

    准备运行环境

    stdio 服务在本地起进程,需要先装好 对应的运行时,再按安装命令拉取依赖。

  2. 2

    安装服务

    复制下面的安装命令执行;命令里带占位符的位置换成自己的密钥或路径。

  3. 3

    写入客户端配置

    在客户端的 MCP 配置里填启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4

    验证是否可用

    连接成功后客户端会列出 0 个工具,随便调一个只读工具确认能返回结果。

接入前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

详细介绍

Personal AI Assistant using MCP

A comprehensive personal AI assistant built with Model Context Protocol (MCP) that can handle email, PDF reading, meeting scheduling, web search, pizza ordering, and interactive questioning while protecting your private information.

Features

Core Capabilities (7 points total)

  1. 📧 Email Management (1pt)

- Write and send emails on your behalf - Support for both plain text and HTML emails - Privacy protection for email content

  1. 📄 PDF Reading & Q&A (1pt)

- Read multiple PDF files and extract text - Answer questions about PDF content - Automatic privacy detection and local processing

  1. 📅 Meeting Scheduling (1pt)

- Schedule meetings in your calendar - Create iCalendar (.ics) files - Conflict detection and management - Meeting reminders

  1. 🔍 Web Search (1pt)

- Real-time internet search - Multiple search providers (Google, DuckDuckGo) - News search capabilities - Fallback web scraping

  1. 🍕 Pizza Ordering (2pt)

- Order from multiple pizza providers (Domino's, Pizza Hut, Local) - Menu browsing and price calculation - Order tracking and confirmation - Address and phone validation

  1. ❓ Interactive Questioning (2pt)

- Ask questions for clarification - Handle private information requests - Context-aware questioning - Privacy-aware responses

Key Requirements (2pt)

  1. 🔒 Privacy Protection

- Local LLM processing for private data - Automatic private information detection - Data masking and sanitization - No private data leakage to public APIs

Architecture

┌─────────────────┐    ┌─────────────────┐    ┌─────────────────┐
│   MCP Client    │◄──►│   MCP Server    │◄──►│  External APIs  │
│                 │    │                 │    │                 │
│ - User Interface│    │ - Tool Registry │    │ - OpenAI/Claude │
│ - Input Handling│    │ - Privacy Mgmt  │    │ - Email SMTP    │
│ - Response Display│   │ - Local LLM     │    │ - Web Search    │
└─────────────────┘    └─────────────────┘    └─────────────────┘
                                │
                                ▼
                       ┌─────────────────┐
                       │  Local Storage  │
                       │                 │
                       │ - PDFs          │
                       │ - Meetings      │
                       │ - Orders        │
                       └─────────────────┘

Installation

Prerequisites

  • Python 3.8 or higher
  • pip package manager
  • Chrome browser (for web scraping)
  • Local LLM setup (optional, for private data processing)

Setup

  1. Clone or download the project
   cd /Users/simranjotkaur/Desktop/Programming LLMs/HW3
  1. Install dependencies
   pip install -r requirements.txt
  1. Set up environment variables

Create a .env file in the project root:

   # API Keys
   OPENAI_API_KEY=your_openai_api_key_here
   ANTHROPIC_API_KEY=your_anthropic_api_key_here

   # Email Configuration
   EMAIL_ADDRESS=your_email@gmail.com
   EMAIL_PASSWORD=your_app_password_here
   SMTP_SERVER=smtp.gmail.com
   SMTP_PORT=587

   # Local LLM Configuration (for private data processing)
   LOCAL_LLM_URL=http://localhost:11434/v1
   LOCAL_LLM_MODEL=llama2

   # Calendar Configuration
   CALENDAR_EMAIL=your_calendar_email@gmail.com

   # Pizza Ordering APIs (example - replace with actual APIs)
   DOMINOS_API_KEY=your_dominos_api_key
   PIZZA_HUT_API_KEY=your_pizza_hut_api_key

   # Web Search
   GOOGLE_SEARCH_API_KEY=your_google_search_api_key
   GOOGLE_SEARCH_ENGINE_ID=your_search_engine_id
  1. Set up local LLM (optional but recommended)
   # Install Ollama
   curl -fsSL https://ollama.ai/install.sh | sh
   
   # Pull a model
   ollama pull llama2
   
   # Start Ollama server
   ollama serve

Usage

Running the MCP Server

python run_server.py

Running the MCP Client

python run_client.py

Interactive Commands

The client provides an interactive menu with the following options:

  1. Send Email

- Enter recipient, subject, and body - Choose HTML or plain text format - Automatic privacy checking

  1. Read PDF

- Provide PDF file path - Ask questions about the content - Automatic private data detection

  1. Schedule Meeting

- Enter meeting details - Set start/end times - Add attendees and description - Automatic conflict checking

  1. Web Search

- Enter search query - Specify number of results - Real-time information retrieval

  1. Order Pizza

- Choose provider (Domino's, Pizza Hut, Local) - Select pizza type and size - Add toppings and delivery details - Price calculation and confirmation

  1. Ask Question

- Ask for clarification or private information - Context-aware questioning - Privacy-aware responses

Privacy Protection

Automatic Detection

The system automatically detects private information using:

  • Pattern Matching: SSN, credit cards, phone numbers, emails
  • Keyword Detection: Personal, private, confidential, etc.
  • Context Analysis: Addresses, bank accounts, etc.

Local Processing

When private data is detected:

  1. Local LLM Processing: Uses Ollama or similar local LLM
  2. Data Masking: Automatically masks sensitive information
  3. No External APIs: Private data never leaves your machine
  4. Secure Storage: Local file storage with proper permissions

Privacy Keywords

The system monitors for these privacy-related terms:

  • password, ssn, social security
  • credit card, bank account
  • personal, private, confidential
  • address, phone number

File Structure

HW3/
├── README.md                 # This file
├── requirements.txt          # Python dependencies
├── config.py                # Configuration management
├── mcp_server.py            # Main MCP server
├── mcp_client.py            # MCP client interface
├── privacy_manager.py       # Privacy protection
├── local_llm_client.py      # Local LLM integration
├── web_scraper.py           # Web search and scraping
├── pizza_ordering.py        # Pizza ordering system
├── calendar_manager.py      # Meeting scheduling
├── run_server.py            # Server startup script
└── run_client.py            # Client startup script

API Integration

Email (SMTP)

  • Gmail SMTP support
  • App password authentication
  • HTML and plain text support

Web Search

  • Google Custom Search API
  • DuckDuckGo fallback
  • Selenium-based scraping

Pizza Ordering

  • Multiple provider support
  • Menu and pricing integration
  • Order tracking simulation

Calendar

  • iCalendar (.ics) file generation
  • Meeting conflict detection
  • Reminder system

Security Features

  1. Environment Variables: Sensitive data stored in .env
  2. Input Validation: All inputs validated and sanitized
  3. Error Handling: Comprehensive error handling
  4. Logging: Detailed logging for debugging
  5. Rate Limiting: Built-in rate limiting for APIs

Troubleshooting

Common Issues

  1. Email not sending

- Check SMTP credentials - Enable app passwords for Gmail - Verify firewall settings

  1. PDF reading fails

- Ensure PDF is not password protected - Check file permissions - Try different PDF libraries

  1. Web search not working

- Check API keys - Verify internet connection - Try fallback scraping

  1. Local LLM not responding

- Ensure Ollama is running - Check model availability - Verify URL configuration

Debug Mode

Enable debug logging by setting:

logging.basicConfig(level=logging.DEBUG)

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

This project is for educational purposes. Please ensure you comply with all API terms of service and local regulations.

Support

For issues and questions:

  1. Check the troubleshooting section
  2. Review the logs for error messages
  3. Ensure all dependencies are installed
  4. Verify environment variables are set correctly

Note: This is a demonstration project. In production, additional security measures, error handling, and testing would be required.

工具与能力

工具数量

0

资源数量

0

提示词数量

0

能力标签

AI助手Python本地部署隐私保护任务自动化多任务处理本地处理

支持客户端

Claude

数量来自来源目录的标注,具体工具清单以官方文档为准。

典型使用场景

多步任务编排

把拆解、检索、执行串成一条链,模型按步骤调用工具。

长期上下文

把会话、笔记和知识放到外部存储,换个会话还能接着做。

接自有流程

把内部系统和模型连起来,让助手调用已有的工作流。

选择建议

值得选的地方

  • 只提供 0 个工具,职责集中,接入后不容易误操作。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 公开说明写得比较完整,接入前能看清能力边界。

先想清楚的地方

  • stdio 方式要求本地装好 运行环境,换机器要重新装一遍。
  • 第三方目录整理,版本更新和行为细节以官方仓库为准。

更适合

  • 需要在AI代理场景里让模型直接调用外部能力的人。
  • 已经在用 Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

5 个同类
MCP Server工具数传输方式安装命令收录来源最后核验
Personal AI Assistant

MCP World · 本页

0stdio有1 个2026-05-17
Everything Claude Code

MCP World

0stdio有1 个2026-05-17
Filesystem 560c4363

MCP World

13未说明未标注2 个2026-05-17
Time 7365cb6d

MCP.so

2SSE有2 个2026-05-17
Server Everything (everything)

MCP World

11stdio有1 个2026-05-17

按同分类和工具数量挑出最接近的几条,字段以各自详情页为准。

常见问题

5 条

Personal AI Assistant 怎么安装?

公开资料给出的安装命令是 pip install -r requirements.txt,运行环境为 未标注。装完后按客户端要求写进 MCP 配置,重启客户端生效。

Personal AI Assistant 怎么在 Claude Desktop、Cursor 里配置?

它是stdio 本地进程,客户端配置里要写启动命令和参数,运行环境是 未标注;保存后完全退出客户端再打开,配置才会生效。

Personal AI Assistant 收费吗?

本站只整理公开资料,不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Personal AI Assistant 需要 API Key 吗?

公开资料标注为无需认证,装好就能连;如果实际调用时报鉴权错误,按官方文档补上凭据。

Personal AI Assistant 支持哪些客户端?

公开资料标注支持 Claude;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

来源信息

继续浏览同类 MCP