PointlineDocs
Sign in

Pipecat

Pipecat's MCPClient connects to a remote MCP server over Streamable HTTP and hands its tools to your LLM context.

  1. Create an API key in the dashboard and keep it in an environment variable, for example BROWSEMCP_API_KEY.
  2. Install the MCP extra: uv add "pipecat-ai[mcp]".
  3. Create the client and pass its tools to the context as below.
  4. Put the agent instructions from Get started in the context's first message.
Python
import os
from mcp.client.session_group import StreamableHttpParameters
from pipecat.processors.aggregators.llm_context import LLMContext
from pipecat.services.mcp_service import MCPClient

mcp = MCPClient(
    server_params=StreamableHttpParameters(
        url="https://api.pointline.ai/mcp",
        headers={"Authorization": f"Bearer {os.environ['BROWSEMCP_API_KEY']}"},
    )
)
context = LLMContext(messages=messages, tools=await mcp.tools())

Good to know

Checked against Pipecat's documentation on 20 November 2026. Platforms change their settings; if a field has moved, their page is the authority. Run on 20 November 2026 with pipecat-ai 1.16.0 against a Pointline server: the code below listed the tools and called start_session, get_session_status (waiting 25 seconds) and end_session. It was not run inside a live voice call.

Using something else? See all platforms.

Next: add the agent instructions and try a call against your own site.