Pipecat MCP Server 标志

Pipecat MCP Server

组织
pipecat-ai

Pipecat MCP server for your AI agents

发布者pipecat-ai
代码仓库pipecat-mcp-server
语言Python
复刻数
28
星标数
154
可用工具
0
传输类型streamable-http
分类
许可协议BSD-2-Clause
链接
  • 将工具接入 AI 工作流

    Pipecat MCP Server 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 0 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 154 个 Star 和 28 个 Fork。

PyPI Discord

Pipecat MCP Server

Pipecat MCP Server gives your AI agents a voice using Pipecat. It should work with any MCP-compatible client:

The Pipecat MCP Server exposes voice-related and screen capture tools to MCP-compatible clients, but it does not itself provide microphone or speaker access.

Audio input/output is handled by a separate audio/video transport, such as:

  • Pipecat Playground (local browser UI)
  • Daily (WebRTC room)
  • Phone providers (Twilio, Telnyx, etc.)

MCP clients like Cursor, Claude Code, and Codex control the agent, but they are not audio devices. To hear, speak or see, you must connect via one of the audio transports.

🧭 Getting started

Prerequisites

  • Python 3.10 or later
  • uv package manager

By default, the voice agent uses local models (no API keys required): Faster Whisper for speech-to-text and Kokoro for text-to-speech. The Whisper models are approximately 1.5 GB and are downloaded automatically on the first connection, so the initial startup may take a moment.

Installation

bash
uv tool install pipecat-ai-mcp-server

This will install the pipecat-mcp-server tool.

If you want to use different services or modify the Pipecat pipeline somehow, you will need to clone the repository:

bash
git clone https://github.com/pipecat-ai/pipecat-mcp-server.git

and install your local version with:

bash
uv tool install -e /path/to/repo/pipecat-mcp-server

Running the server

Start the server:

bash
pipecat-mcp-server

This will make the Pipecat MCP Server available at http://localhost:9090/mcp.

Auto-approving permissions

For hands-free voice conversations, you will need to auto-approve tool permissions. Otherwise, your agent will prompt for confirmation, which interrupts the conversation flow.

⚠️ Warning: Enabling broad permissions is at your own risk.

Installing the talk skill (recommended)

The talk skill provides a better voice conversation experience. It asks for verbal confirmation before making changes to files, adding a layer of safety when using broad permissions.

If you're using Claude Code, install the marketplace and plugin:

/plugin marketplace add pipecat-ai/skills
/plugin install pipecat-mcp-server@pipecat-skills

Alternatively, just tell your agent something like Let's have a voice conversation. In this case, the agent won't ask for verbal confirmation before making changes.

🖥️ Screen Capture & Analysis

Screen capture lets you stream your screen (or a specific window) to your configured transport, and ask the agent to help with what it sees.

For example:

  • "capture my browser window" — starts streaming that window
  • "what's causing this error?" — the agent analyzes the screen and helps debug
  • "how does this UI look?" — get feedback on your design

Supported platforms:

  • macOS — uses ScreenCaptureKit for true window-level capture (not affected by overlapping windows)
  • Linux (X11) — uses Xlib for window and full-screen capture

💻 MCP Client: Claude Code

Adding the MCP server

Register the MCP server:

bash
claude mcp add pipecat --transport http http://localhost:9090/mcp --scope user

Scope options:

  • local: Stored in ~/.claude.json, applies only to your project
  • user: Stored in ~/.claude.json, applies to all projects
  • project: Stored in .mcp.json in your project directory

Auto-approving permissions

Create .claude/settings.local.json in your project directory:

json
{
  "permissions": {
    "allow": [
      "Bash",
      "Read",
      "Edit",
      "Write",
      "WebFetch",
      "WebSearch",
      "mcp__pipecat__*"
    ]
  }
}

This grants permissions for bash commands, file operations, web fetching and searching, and all Pipecat MCP tools without prompting. See available tools if you need to grant more permissions.

Starting a voice conversation

  1. Install the talk skill (see above).
  2. Start the Pipecat MCP Server.
  3. Connect to an audio transport (see 🗣️ Connecting to the voice agent below).
  4. Run /talk.

💻 MCP Client: Cursor

Adding the MCP server

Register the MCP server by editing ~/.cursor/mcp.json:

json
{
  "mcpServers": {
    "pipecat": {
      "url": "http://localhost:9090/mcp"
    }
  }
}

Auto-approving permissions

Go to the Auto-Run agent settings and configure it to Run Everything.

Starting a voice conversation

  1. Install the talk skill into .claude/skills/talk/SKILL.md (Cursor supports the Claude skills location).
  2. Start the Pipecat MCP Server.
  3. Connect to an audio transport (see 🗣️ Connecting to the voice agent below).
  4. In a new Cursor agent, run /talk.

💻 MCP Client: OpenAI Codex

Adding the MCP server

Register the MCP server:

bash
codex mcp add pipecat --url http://localhost:9090/mcp

Auto-approving permissions

If you start codex inside a version controlled project, you will be asked if you allow Codex to work on the folder without approval. Say Yes, which adds the following to ~/.codex/config.toml.

toml
[projects."/path/to/your/project"]
trust_level = "trusted"

Starting a voice conversation

  1. Install the talk skill into .codex/skills/talk/SKILL.md.
  2. Start the Pipecat MCP Server.
  3. Connect to an audio transport (see 🗣️ Connecting to the voice agent below).
  4. Run $talk.

🗣️ Connecting to the voice agent

Once the voice agent starts, you can connect using different methods depending on how the server is configured.

Pipecat Playground (default)

When no arguments are specified to the pipecat-mcp-server command, the server uses Pipecat's local playground. Connect by opening http://localhost:7860 in your browser.

You can also run an ngrok tunnel that you can connect to remotely:

ngrok http --url=your-proxy.ngrok.app 7860

Daily Prebuilt

You can also use Daily and access your agent through a Daily room, which is convenient because you can then access from anywhere without tunnels.

First, install the server with the Daily dependency:

bash
uv tool install pipecat-ai-mcp-server[daily]

Then, set the DAILY_API_KEY environment variable to your Daily API key and DAILY_ROOM_URL to your desired Daily room URL and pass the -d argument to pipecat-mcp-server.

bash
export DAILY_API_KEY=your-daily-api-key
export DAILY_ROOM_URL=your-daily-room

pipecat-mcp-server -d

Connect by opening your Daily room URL (e.g., https://yourdomain.daily.co/room) in your browser. Daily Prebuilt provides a ready-to-use video/audio interface.

Phone call

To connect via phone call, pass -t <provider> -x <your-proxy> where <provider> is one of twilio, telnyx, exotel, or plivo, and <your-proxy> is your ngrok tunnel domain (e.g., your-proxy.ngrok.app).

First, start your ngrok tunnel:

bash
ngrok http --url=your-proxy.ngrok.app 7860

Then, run the Pipecat MCP server with your ngrok URL and the required environment variables for your chosen telephony provider.

ProviderEnvironment variables
TwilioTWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN
TelnyxTELNYX_API_KEY
ExotelEXOTEL_API_KEY, EXOTEL_API_TOKEN
PlivoPLIVO_AUTH_ID, PLIVO_AUTH_TOKEN

Twilio

bash
export TWILIO_ACCOUNT_SID=your-twilio-account-sid
export TWILIO_AUTH_TOKEN=your-twilio-auth-token

pipecat-mcp-server -t twilio -x your-proxy.ngrok.app

Configure your provider's phone number to point to your ngrok URL, then call your number to connect.

📚 What's Next?

  • Customize services: Edit agent.py to use different STT/TTS providers
  • Change transport: Configure for Twilio, WebRTC, or other transports
  • Add to your project: Use this as a template for voice-enabled MCP tools
  • Learn more: Check out Pipecat's docs for advanced features
  • Get help: Join Pipecat's Discord to connect with the community

将 Pipecat MCP Server MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Pipecat MCP Server 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过远程托管的 MCP 服务器 URL 在 TypingMind 中连接。

添加 MCP 服务器 URL

如果 Pipecat MCP Server 已托管在远程服务器上,或您的团队希望让多个用户共用一个连接器,请选择此方式。

1

打开 MCP 连接器

在 TypingMind 中,前往“插件”,打开“MCP 连接器”,然后选择“添加 URL”。

  1. 在您的浏览器中打开 TypingMind。
  2. 进入“插件”。
  3. 打开“MCP 连接器”。
  4. 点击“添加 URL”。
TypingMind 的“添加自定义 MCP 服务器 URL”表单
2

粘贴服务器 URL

在“服务器 URL”字段中输入 提供商提供的 MCP 服务器 URL。根据服务器要求,添加连接名称、描述、图标、自定义 HTTP 请求头或 OAuth 客户端设置。

  1. 将 提供商提供的 MCP 服务器 URL 粘贴到“服务器 URL”字段中。
  2. 为 Pipecat MCP Server 输入连接名称。
  3. 您可以添加描述和图标,以便更容易识别此连接。
  4. 如果服务器需要身份验证,请添加自定义 HTTP 请求头或 OAuth 客户端信息。
3

创建连接

点击“创建连接”,然后返回插件列表,确认新的 MCP 连接显示为“有效”。

  1. 点击“创建连接”。
  2. 返回 MCP 连接器列表。
  3. 确认 Pipecat MCP Server 连接显示为“有效”。
  4. 如果连接未立即出现,请刷新插件列表。
4

切换模型,无需重新连接

使用您偏好的模型开始聊天,在“插件”中启用 Pipecat MCP Server 工具,并根据需要随时切换到其他模型。该 MCP 连接在 TypingMind 工作区中仍然可用。

  1. 在 TypingMind 中开始新聊天。
  2. 选择您想使用的 AI 模型。
  3. 在“插件”中启用 Pipecat MCP Server 工具。
  4. 需要时,请让模型使用该工具。
  5. 切换到其他 AI 模型,继续使用同一个 MCP 连接。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Pipecat MCP Server 帮我完成这项任务吗?
Pipecat MCP Server
当然。我已阅读。
以下是我使用 Pipecat MCP Server 得到的结果。

常见问题

Pipecat MCP Server MCP 服务器有什么用途?

Pipecat MCP Server 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Pipecat MCP Server MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Pipecat MCP Server,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Pipecat MCP Server MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Pipecat MCP Server 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Pipecat MCP Server MCP 连接到 TypingMind?

在 TypingMind 中添加 Pipecat MCP Server 托管的 MCP 服务器 URL,即可连接。如果您希望在 TypingMind 工作区中使用远程 MCP 连接,这种方式很适合。

Pipecat MCP Server MCP 在 TypingMind 中提供哪些工具?

Pipecat MCP Server 提供 MCP 功能,您可以在 TypingMind 的插件页面启用这些功能,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Pipecat MCP Server MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Pipecat MCP Server 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇