AI SDK

Connect Integrations to
AI SDK

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

Back to AI SDK overview

Understanding Server Deployments

Server deployments define which integrations and tools your AI agents can access through Metorial.

What Are Server Deployments?

A server deployment is a configuration that:

  • Defines which integrations are available to your application
  • Manages authentication and permissions for those integrations
  • Provides the tools that AI models can call

Think of it as a "toolbox" for your AI agents - you control what's inside.

Creating a Server Deployment

  1. Log in to Metorial: Access your dashboard at metorial.com
  2. Navigate to Deployments: Find "Server Deployments" in the menu
  3. Create New Deployment: Click "New Deployment" or "Create"
  4. Select Integrations: Choose which of the 600+ integrations you want to enable
  5. Configure Settings: Set up authentication and permissions as needed
  6. Copy Deployment ID: Save the deployment ID for use in your code

Using Server Deployments in Code

Pass your deployment ID when creating a session:

metorial.withProviderSession(
  metorialAiSdk,
  {
    serverDeployments: ['your-deployment-id-here']
  },
  async session => {
    // Your AI logic here
  }
);

Using Multiple Deployments

You can use multiple deployments to give your AI access to different tool sets:

metorial.withProviderSession(
  metorialAiSdk,
  {
    serverDeployments: [
      'github-deployment-id',
      'slack-deployment-id',
      'calendar-deployment-id'
    ]
  },
  async session => {
    // AI can now access tools from all three deployments
  }
);

Best Practices

  • Principle of Least Privilege: Only include integrations your app actually needs
  • Separate Environments: Use different deployments for dev, staging, and production
  • Organized Naming: Use clear, descriptive names like "Production-GitHub-Slack" or "Dev-All-Tools"
  • Regular Audits: Review and update your deployments periodically

Finding Your Deployment ID

Lost your deployment ID? Find it in the Metorial dashboard:

  1. Go to "Server Deployments"
  2. Click on your deployment
  3. Copy the ID from the deployment details page

AI SDK on Metorial

Connect Vercel AI SDK to Metorial and unlock instant access to over 600 integrations for your AI-powered applications. Our open-source, MCP-powered platform makes it effortless to add tools, APIs, and services to your AI SDK projects without writing complex integration code. With Metorial's TypeScript SDK, you can integrate calendars, databases, communication tools, and hundreds of other services in just a couple of lines of code. Whether you're building chatbots, AI assistants, or intelligent workflows with Vercel's AI SDK, Metorial eliminates integration headaches so you can focus on creating exceptional user experiences. Our developer-friendly approach means less time wrestling with authentication, API documentation, and maintenance—and more time innovating. Join developers who are shipping AI applications faster by letting Metorial handle the integration layer while you concentrate on what makes your app unique.

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