Cover image
Try Now
2025-04-14

功能强大的个人助理服务器,与包括Google日历,黑曜石保险库,Trello和网页解析功能在内的各种服务集成。

3 years

Works with Finder

2

Github Watches

0

Github Forks

2

Github Stars

Personal Assistant MCP Server

A powerful personal assistant server that integrates with various services including Google Calendar, Obsidian Vault, Trello, and web page parsing capabilities. Built using FastMCP, this server provides a unified interface for managing your digital life.

Features

  • Google Calendar Integration

    • Create, read, update, and delete calendar events
    • List upcoming events
  • Obsidian Vault Management

    • Create, read, update, and delete notes
    • Full-text search in notes
    • Folder management (create, delete, search, list)
  • Trello Integration

    • Board, list, and card management
    • Create, update, and delete cards
    • Search cards by text query
  • Web Page Parsing

    • Extract and clean HTML content from any URL

Prerequisites

  • Python 3.10 or higher
  • Poetry (Python package manager)
  • Google Calendar API credentials
  • Trello API credentials (if using Trello features)
  • Obsidian Vault (if using Obsidian features)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/personal-assistant-mcp.git
    cd personal-assistant-mcp
    
  2. Install dependencies using Poetry:

    poetry install
    
  3. Set up Google Calendar API:

    • Go to the Google Cloud Console
    • Create a new project or select an existing one
    • Enable the Google Calendar API
    • Create OAuth 2.0 credentials
    • Download the credentials and save them as credentials.json in the project root
  4. Set up Trello API (optional):

Configuration

  1. Run the initial setup to authenticate with Google Calendar:
    poetry run python main.py
    
    • This will open a browser window for Google authentication
    • Follow the prompts to authorize the application

Usage

  1. Start the server:

    poetry run python main.py
    
  2. The server will start and be ready to accept MCP-compatible client connections.

  3. Use any MCP-compatible client to interact with the server. The server provides the following tools:

    • Calendar management
    • Obsidian vault operations
    • Trello board management
    • Web page parsing

Anthropic Claude Desktop Configuration

To use this server with Anthropic Claude Desktop, add the following configuration to your Claude Desktop settings:

{
   "mcpServers": {
      "personal-assistant": {
         "command": "/path/to/your/venv/bin/python",
         "args": ["/path/to/your/project/main.py"],
         "env": {
                 "GOOGLE_CREDENTIALS_PATH": "/path/to/your/credentials.json",
                 "GOOGLE_TOKEN_PATH": "/path/to/your/token.json",
                 "OBSIDIAN_VAULT_PATH": "/path/to/your/obsidian/vault",
                 "OBSIDIAN_DEFAULT_FOLDER": "your_default_folder",
                 "LOG_PATH": "/path/to/log.txt",
                 "TRELLO_TOKEN": "your_trello_token",
                 "TRELLO_API_KEY": "your_trello_api_key",
                 "SEMANTIC_SEARCH_ENABLED": "True/False",
                 "EMBEDDINGS_PATH": "/path/to/embeddings.json"
         }
      }
   }
}

Replace the paths and credentials with your actual values:

  • command: Path to your Python virtual environment's Python executable
  • args: Path to your project's main.py file
  • GOOGLE_CREDENTIALS_PATH: Path to your Google Calendar credentials file
  • GOOGLE_TOKEN_PATH: Path to your Google Calendar token file
  • OBSIDIAN_VAULT_PATH: Path to your Obsidian vault
  • OBSIDIAN_DEFAULT_FOLDER: Path to default folder in your vault where new notes will be created
  • TRELLO_TOKEN: Your Trello API token
  • TRELLO_API_KEY: Your Trello API key
  • SEMANTIC_SEARCH_ENABLED: Enable semantic search for Obsidian Vault
  • EMBEDDINGS_PATH: Path to embeddings json

To enable semantic search capabilities, you'll need to install the Vector Search plugin for Obsidian.

img.png

After the reindexing process is complete, the plugin will generate a JSON file containing vector embeddings at the following location:

.obsidian/plugins/vector-search/data.json

This file will be used as the embedding source for semantic search queries.

Development

  • The project uses Poetry for dependency management
  • All tools are registered in main.py
  • Service-specific implementations are in the services/ directory
  • Follow PEP 8 style guidelines for Python code

Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Join:

Telegram Blog

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • Byaidu
  • PDF科学纸翻译带有保留格式的pdf -基于ai完整保留排版的pdf文档全文双语翻译

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

  • dmayboroda
  • 带有可配置容器的本地对话抹布

    Reviews

    5 (0)