
zhangzhongnan928/mcp-pa-ai-agent
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
モデルコンテキストプロトコル(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参照)
インストール
- リポジトリのクローン化:
2。 Python 3.10 +を持っていることを確認してください。
3。 システム Python が 3.10 よりも古い場合は、互換性のある環境を設定します。
-
依存関係を取付けて下さい:
-
例ファイルをコピーすることで環境変数の設定:
-
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
- Clone the repository:
git clone https://github.com/yourusername/mcp-pa-ai-agent.git
cd mcp-pa-ai-agent
- Ensure you have Python 3.10+:
python --version
- 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
- Install dependencies:
pip install -r requirements.txt
- Configure environment variables by copying the example file:
cp .env.example .env
- Edit the
.envfile 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
-
Install Claude for Desktop
-
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
- MacOS/Linux:
-
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.
- Restart Claude for Desktop
Available Tools
Calendar
get_events: Retrieve upcoming calendar eventscreate_event: Schedule a new calendar event
Tasks
list_tasks: View all tasks or filter by statusadd_task: Create a new taskupdate_task_status: Mark tasks as pending, in-progress, or completed
get_emails: List recent emails from your inboxread_email: View the full content of a specific emailsend_email: Compose and send a new email
Knowledge
web_search: Search the web for informationget_weather: Get current weather informationget_news: Retrieve latest news articles
Smart Home
インストール
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"
]
}
}
}