External integrations (MCP)
Attach an MCP server
Connect an MCP server to a specific agent. The agent will be able to call tools exposed by that server during visitor conversations once you whitelist them.
Prerequisites
- An MCP server URL reachable from the public internet (Pitchbar is a SaaS — it cannot
reach
localhostor VPN-only hosts). The validator rejects private addresses. - An API key (for bearer auth) or OAuth client credentials. Phase 1 ships bearer auth; OAuth flows are in a follow-up release.
Steps
- Open
/app/agents/{agent}/mcp. - Click Add server.
- Enter a label (e.g. "Linear"), the server URL, and the auth method.
- Submit. Pitchbar runs an
initialize+tools/listhandshake against the server and discovers the catalogue. - Open the tool list (Manage tools button on the server card).
- Enable each tool you want the agent to use. Destructive tools require an explicit confirmation showing the input schema.
Verifying the connection
On the server card, the Test button runs a fresh
initialize + ping round trip and records the result.
The Refresh tools button re-discovers the catalogue — useful
after the server has been updated.
Same server attached to multiple agents
Workspaces have one row per server URL (deduplicated at the database layer). Attaching the same URL to a second agent reuses the existing row but creates a new set of per-agent tool grants. Disabling a tool for one agent does not affect the other.