Planning Center Online API and MCP Server Integration

Planning Center Online API and MCP Server Integration

site icon
2025.04.07 0
PythonAPI集成自然语言处理工作流自动化交流协作
pco-mcp是一个将Planning Center Online (PCO) API与MCP服务器集成的项目,旨在通过大型语言模型(LLM)实现与Planning Center数据的自然语言交互。它允许用户以对话方式查询和检索Planning Center中的数据,并支持自动化工作流程和数据分析。
View on GitHub

Overview

基本能力

产品定位

pco-mcp是一个中间件服务,连接Planning Center Online API和大型语言模型(LLM),实现自然语言交互的数据查询和管理。

核心功能

  • PCO API集成:连接Planning Center Online,访问和管理数据
  • FASTMCP服务器:作为中间件处理LLM和PCO API之间的请求和响应
  • LLM查询支持:支持自然语言查询来获取和操作Planning Center数据

适用场景

  • 检索Planning Center中的服务信息
  • 通过自然语言查询和更新数据来自动化工作流程
  • 通过对话查询提供洞察和分析

工具列表

  • FastMCP:处理请求和响应的中间件服务器
  • pypco:Python库,用于与Planning Center API交互

常见问题解答

无明确FAQ部分

使用教程

使用依赖

  • Planning Center API访问权限
  • Python环境
  • MCP客户端(如Claude Desktop)
  • API密钥用于认证

安装教程

  1. 克隆仓库:
git clone https://github.com/your-repo/pco-mcp-integration.git
  1. 安装依赖:
uv pip install -r requirements.txt
  1. 配置环境变量:
  2. PCO_SECRET_KEY: Planning Center API密钥
  3. PCO_APPLICATION_ID: MCP服务器URL

  4. 测试服务器:

fastmcp dev services.py

调试方式

  1. 向MCP服务器发送自然语言查询
  2. 服务器处理查询并与PCO API交互
  3. 接收结构化响应或执行请求的操作

添加MCP服务器配置示例:

{
  "mcpServers": {
    "pco-services": {
      "command": "/Users/calvarychapelnewharvest/anaconda3/envs/mcp/bin/fastmcp",
      "args": [
        "run",
        "/Users/calvarychapelnewharvest/Documents/pco-mcp/services.py"
      ]
    }
  }
}

许可证

该项目遵循 MIT 开源许可条款,请参阅 MIT 了解完整条款。