Anthropic

Connect Integrations to
Anthropic

Build advanced AI agents with Anthropic. Connect 600+ integrations, automate workflows, and deploy with ease using Metorial.

Back to Anthropic overview

Getting Started with Vercel AI SDK and Metorial

Metorial makes it easy to add 600+ integrations to your AI SDK applications in just a couple of lines of code. This guide will walk you through setting up your first project.

Prerequisites

  • Node.js 18+ or Bun installed
  • A Metorial account with an API key
  • An AI SDK-compatible provider (OpenAI, Anthropic, etc.)

Installation

Install the required packages:

npm install ai metorial @metorial/ai-sdk
# or
bun add ai metorial @metorial/ai-sdk

Basic Setup

Here's a minimal example of using Metorial with the AI SDK:

import { metorialAISDK } from '@metorial/ai-sdk';
import { Metorial } from 'metorial';
import { generateText } from 'ai';

// Initialize Metorial
const metorial = new Metorial({
  apiKey: 'your-metorial-api-key'
});

// Create a session with your deployed integrations
await metorial.withProviderSession(
  metorialAISDK,
  { serverDeployments: ['your-deployment-id'] },
  async (session) => {
    const result = await generateText({
      model: yourModel, // Any AI SDK compatible model
      messages: [
        { role: 'user', content: 'Check my calendar for today' }
      ],
      tools: session.tools
    });
    
    console.log(result.text);
  }
);

Next Steps

Anthropic on Metorial

Integrate Anthropic Claude with Metorial to give your AI agents access to over 600 powerful integrations through the Model Context Protocol (MCP). Our open-source platform is purpose-built for developers creating intelligent applications with Claude, Anthropic's advanced language model. With Metorial's Python and TypeScript SDKs, connecting Claude to calendars, CRMs, databases, project management tools, and hundreds of other services takes just a couple of lines of code. Stop spending days building custom integrations—Metorial handles authentication, API calls, and data formatting automatically so you can focus on crafting intelligent agent behaviors and user experiences. Whether you're building customer support bots, research assistants, or workflow automation with Claude, Metorial provides the integration infrastructure you need. Our MCP-native approach ensures your Anthropic-powered agents can interact with the tools your users already depend on, creating more valuable and practical AI solutions that integrate seamlessly into existing workflows.

Connect anything. Anywhere.

Ready to build with Metorial?

Let's take your AI-powered applications to the next level, together.

About Metorial

Metorial provides developers with instant access to 600+ MCP servers for building AI agents that can interact with real-world tools and services. Built on MCP, Metorial simplifies agent tool integration by offering pre-configured connections to popular platforms like Google Drive, Slack, GitHub, Notion, and hundreds of other APIs. Our platform supports all major AI agent frameworks—including LangChain, AutoGen, CrewAI, and LangGraph—enabling developers to add tool calling capabilities to their agents in just a few lines of code. By eliminating the need for custom integration code, Metorial helps AI developers move from prototype to production faster while maintaining security and reliability. Whether you're building autonomous research agents, customer service bots, or workflow automation tools, Metorial's MCP server library provides the integrations you need to connect your agents to the real world.

Star us on GitHub