Tambo Lockup

Model Context Protocol (MCP)

Connect Tambo to external tools and services using the MCP standard.

Model Context Protocol (MCP) allows you to give Tambo access to tools defined by other people. Many popular services publish MCP servers, and Tambo provides a simple way to connect to them. This is a quick way to allow your users to conversationally interact with other services without needing to write any of the interaction code yourself.

<TamboProvider>
  <TamboMcpProvider
    mcpServers={[
      {
        // MCP server configuration
        url: "http://some-mcp-endpoint.com",
        // Optional custom headers, eg.
        // { "Authorization": `Bearer ${token}` } or { "X-Api-Key": "1234567890" }
        customHeaders: {},
        transport: MCPTransport.HTTP, // optional, defaults to SSE
      },
    ]}
  >
    <App />
  </TamboMcpProvider>
</TamboProvider>