ZM

zhangzhongnan928/mcp-pa-ai-agent

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

23 stars 9 forks 品質 55 トレンド 0

モデルコンテキストプロトコル(MCP)で構築されたパーソナルアシスタントAIエージェント

概要

カレンダー、タスク、メールなどで役立つモデルコンテキストプロトコル(MCP)で構築された多目的なパーソナルアシスタントAIエージェント。 このプロジェクトは、パーソナルアシスタントエージェントの一連のツールを提供するモデルコンテキストプロトコル(MCP)サーバーです。 デスクトップ用のClaudeのようなMCPクライアントと統合して、AIアシスタントに以下のような機能を提供できます。 - カレンダーイベントを管理する - タスクとto-dosを追跡 - 電子メールを読み、送信 - ウェブを検索し、情報を取得 - スマートホームデバイスを制御 MCP SDKのPython 3.10以上が必要です。 サーバは以前のPythonバージョンでは動作しません。 - Python 3.10 + - MCP SDK 1.2.0 + - 必須のPythonパッケージ(requirements.txtを参照してください) 3。 システム Python が 3.10 よりも古い場合は、互換性のある環境を設定します。 5. 例ファイルをコピーすることで環境変数の設定: 6. .env ファイルを API の認証情報と設定で編集します.

概要(AI 翻訳)

カレンダー、タスク、メールなどで役立つモデルコンテキストプロトコル(MCP)で構築された多目的なパーソナルアシスタントAIエージェント。

概要

このプロジェクトは、パーソナルアシスタントエージェントの一連のツールを提供するモデルコンテキストプロトコル(MCP)サーバーです。 デスクトップ用のClaudeのようなMCPクライアントと統合して、AIアシスタントに以下のような機能を提供できます。

  • カレンダーイベントの管理
  • タスクを追跡し、to-dos
  • 電子メールを読み、送信する
  • ウェブを検索し、情報を取得
  • スマートホームデバイスの制御

要件

MCP SDKでは、Python 3.10以上が必要です。 サーバは以前のPythonバージョンでは動作しません。

  • Python 3.10 +
  • MCP SDK 1.2.0以降
  • 必須のPythonパッケージ(requirements.txt参照)

インストール

  1. リポジトリのクローン化:

2。 Python 3.10 +を持っていることを確認してください。

3。 システム Python が 3.10 よりも古い場合は、互換性のある環境を設定します。

  1. 依存関係を取付けて下さい:

  2. 例ファイルをコピーすることで環境変数の設定:

  3. API の認証情報と設定で [.env] ファイルを編集します。

サーバーの実行

MCP サーバーを起動します。

サーバは、MCP クライアントの接続を開始します。

デスクトップ用のクロードに接続

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

MCP Personal Assistant Agent

A versatile personal assistant AI agent built with the Model Context Protocol (MCP) that helps with calendar, tasks, emails, and more.

Overview

This project is a Model Context Protocol (MCP) server that provides a set of tools for a personal assistant agent. It can be integrated with MCP clients like Claude for Desktop to give AI assistants the ability to:

  • Manage calendar events
  • Track tasks and to-dos
  • Read and send emails
  • Search the web and retrieve information
  • Control smart home devices

Requirements

⚠️ IMPORTANT: Python 3.10 or higher is required for the MCP SDK. The server will not work with earlier Python versions.

  • Python 3.10+
  • MCP SDK 1.2.0+
  • Required Python packages (see requirements.txt)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/mcp-pa-ai-agent.git
cd mcp-pa-ai-agent
  1. Ensure you have Python 3.10+:
python --version
  1. If your system Python is older than 3.10, set up a compatible environment:
# Using conda
conda create -n mcp-env python=3.10
conda activate mcp-env

# OR using venv (if Python 3.10+ is installed elsewhere)
python3.10 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Configure environment variables by copying the example file:
cp .env.example .env
  1. Edit the .env file with your API credentials and settings.

Running the Server

Start the MCP server with:

python mcp_server.py

The server will start and listen for MCP client connections.

Connecting to Claude for Desktop

  1. Install Claude for Desktop

  2. Configure Claude for Desktop to use this MCP server by editing the configuration file at:

    • MacOS/Linux: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. Add the following configuration:

{
  "mcpServers": {
    "personal-assistant": {
      "command": "/path/to/python",
      "args": [
        "/absolute/path/to/mcp-pa-ai-agent/mcp_server.py"
      ]
    }
  }
}

If you’re using a virtual environment, make sure to point to the Python executable in that environment.

  1. Restart Claude for Desktop

Available Tools

Calendar

  • get_events: Retrieve upcoming calendar events
  • create_event: Schedule a new calendar event

Tasks

  • list_tasks: View all tasks or filter by status
  • add_task: Create a new task
  • update_task_status: Mark tasks as pending, in-progress, or completed

Email

  • get_emails: List recent emails from your inbox
  • read_email: View the full content of a specific email
  • send_email: Compose and send a new email

Knowledge

  • web_search: Search the web for information
  • get_weather: Get current weather information
  • get_news: Retrieve latest news articles

Smart Home

GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "personal-assistant": { "command": "/path/to/python", "args": [ "/absolute/path/to/mcp-pa-ai-agent/mcp_server.py" ] } } }