Skip to main content

Overview

The Vercel AI SDK can be seamlessly integrated with Observee to enable your applications to access Observee’s powerful tool ecosystem and custom MCP (Model Context Protocol) servers. This allows you to combine advanced LLMs, streaming, and tool use in a unified developer experience.

Prerequisites

Before getting started, ensure you have:
  • Node.js 18 or later installed
  • Required packages installed:
  • Your Observee client ID (from Observee Dashboard)
  • Your Observee API key for authentication
  • OpenAI or any LLM API key

Example: Connecting to an MCP Server with the AI SDK

Below is a complete example of how to connect to an MCP server using the Vercel AI SDK:

Learn More