Skip to main content

Prerequisites

Before we begin, you’ll need OpenAI API key and Klavis API key.

Installation

First, install the required packages:

Setup Environment Variables

Step 1 - Create Strata MCP Server with Gmail and Slack

OAuth Authorization Required: The code above will open browser windows for each service. Click through the OAuth flow to authorize access to your accounts.

Step 2 - Create LangChain Agent with Strata MCP Server

Step 3 - Run!

Check out the full TypeScript code example on GitHub for a complete working implementation.
Perfect! You’ve integrated LangChain with Klavis MCP servers.

Next Steps

Integrations

Explore available MCP servers

API Reference

REST endpoints and schemas

Useful Resources

Happy building 🚀