Pica MCP Server

by picahq
Verified

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Allows sending emails through Gmail, as mentioned in the example 'Send an email using gmail to hello@picaos.com'

  • Provides access to Google Sheets functionality, referenced in the example 'What actions can I perform with google sheets?'

  • Enables sending messages to Slack channels, as shown in the example 'Send a message in slack to the #general channel with today's weather'

Pica MCP 服务器

用 TypeScript 构建的Pica模型上下文协议服务器。

设置视频: https://youtu.be/JJ62NUEkKAs

演示视频: https://youtu.be/0jeasO20PyM

什么是 MCP?

模型上下文协议 (MCP)是一个允许 AI 应用(例如Claude Desktop )连接到外部工具和数据源的系统。它为 AI 助手提供了一种清晰、安全的方式,使其能够使用本地服务和 API,同时确保用户的控制权。

什么是异食癖?

Pica是一个强大的代理工具平台,支持连接 70 多个第三方服务和应用程序。该 MCP 服务器允许 Claude Desktop 以及任何使用模型上下文协议 (MCP) 的应用程序通过自然语言请求与所有这些连接进行安全交互。

使用 Pica MCP 服务器,您可以:

  • 访问多个数据源:查询数据库、获取文件以及跨服务检索信息
  • 自动化工作流程:在连接的平台上触发操作并自动执行任务
  • 增强 LLM 功能:通过 API 访问赋予 Claude Desktop 强大的实际功能

支持的连接

Pica 支持70 多个类别的连接(并定期添加更多连接),例如:

沟通与协作

  • Gmail、Outlook 邮件、Slack、Teams、SendGrid
  • Notion、Google Drive、Dropbox、OneDrive

数据与分析

  • PostgreSQL、BigQuery、Supabase
  • 谷歌表格、Airtable

业务与客户关系管理

  • Salesforce、HubSpot、Pipedrive、Zoho
  • Zendesk、Freshdesk、Intercom

人工智能和机器学习服务

  • OpenAI、Anthropic、Gemini、ElevenLabs

电子商务与金融

  • Shopify、BigCommerce、Square、Stripe
  • QuickBooks、Xero、NetSuite

安装🛠️

使用 npx

您可以直接通过 npx 使用此包:

npx @picahq/pica-mcp

或者全局安装:

npm install -g @picahq/pica-mcp

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 pica:

npx -y @smithery/cli install @picahq/pica --client claude

环境设置

此服务器需要Pica API 密钥。设置环境变量:

export PICA_SECRET=your_pica_secret_key

使用 Docker

构建 Docker 镜像:

docker build -t pica-mcp-server .

运行 Docker 容器:

docker run -e PICA_SECRET=your_pica_secret_key pica-mcp-server

手动安装

安装依赖项:

npm install

构建服务器:

npm run build

对于使用自动重建的开发:

npm run watch

使用 Claude Desktop

要与Claude Desktop一起使用,请添加服务器配置:

在 MacOS 上: ~/Library/Application\ Support/Claude/claude_desktop_config.json

在 Windows 上: %APPDATA%/Claude/claude_desktop_config.json

Docker

要将 Docker 容器与 Claude Desktop 一起使用,请使用以下命令更新claude_desktop_config.json

{ "mcpServers": { "pica-mcp-server": { "command": "docker", "args": [ "run", "--rm", "-i", "-e", "PICA_SECRET=YOUR_PICA_SECRET_KEY", "pica-mcp-server" ] } } }

手动的

{ "mcpServers": { "pica-mcp-server": { "command": "node", "args": [ "/path/to/pica-mcp-server/build/index.js" ], "env": { "PICA_SECRET": "YOUR_PICA_SECRET_KEY" } } } }

调试

由于 MCP 服务器通过 stdio 进行通信,调试起来可能比较困难。我们推荐使用MCP Inspector ,它以包脚本的形式提供:

npm run inspector

检查器将提供一个 URL 来访问浏览器中的调试工具。

用法示例✨

Pica 仪表板中添加服务器配置并连接一些平台后,重新启动 Claude Desktop 并尝试一些示例:

沟通与生产力

  • 使用 Gmail 向同事发送包含会议摘要的电子邮件
  • 在 Google 日历中创建下周二下午 2 点的日历活动
  • 使用 Slack 向 #marketing 频道发送包含最新营销活动指标的消息
  • 在 Google Drive 中查找与第三季度规划相关的文档

数据访问与分析

  • 列出我的 PostgreSQL 数据库中排名前 10 位的客户
  • 在 Google 表格中创建包含销售数据的新表格
  • 向 Salesforce 查询本月结束的机会
  • 使用项目状态更新 Notion 数据库

业务运营

  • 根据客户反馈在 Zendesk 中创建支持票
  • 在 Stripe 中处理客户订单的退款
  • 通过网站查询向 HubSpot 添加新线索
  • 在 QuickBooks 中为客户项目生成发票

人工智能与内容

  • 根据产品规格使用 DALL-E 生成图像
  • 使用 ElevenLabs 转录会议记录
  • 使用 Tavily 或 SerpApi 研究市场趋势
  • 通过支持票分析客户情绪

有什么好例子吗?提交 PR分享一下吧!

执照

本项目采用 GPL-3.0 许可证。详情请参阅许可证文件。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Pica 的模型上下文协议服务器的 TypeScript 实现,使 Claude Desktop 用户能够通过自然语言命令与 Gmail、Google Sheets、Slack 和数据库等连接的平台进行交互。

  1. What is MCP?
    1. What is Pica?
      1. Supported Connections
    2. Installation 🛠️
      1. Using npx
      2. Installing via Smithery
      3. Environment Setup
      4. Using Docker
      5. Manual Installation
      6. Using Claude Desktop
      7. Debugging
    3. Example Usage ✨
      1. Communication & Productivity
      2. Data Access & Analysis
      3. Business Operations
      4. AI & Content
    4. License
      ID: 6rjwx6gdvc