Seam MCP for AI Agents

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Seam MCP or direct API to list devices, unlock doors, create access codes, read sensor state, and adjust thermostats through natural language.

Seam logoSeam
Api Key

Seam is a connected device API for smart locks, access systems, thermostats, sensors, and other workspace devices. It gives developers one clean interface to manage building access and device state across many hardware brands.

10 Tools

Try Seam now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Seam
Try asking
TOOLS

Supported Tools

Every Seam action and event your agent gets out of the box.

Add Access Methods to Grant

Request additional PIN, card, mobile-key, or cloud-key methods for an existing access grant.

Create Access Grant

Grant an existing or new user identity access to spaces, devices, or access-control entrances, requesting PIN, card, mobile-key, or cloud-key methods.

Delete Access Grant

Permanently revoke and delete an access grant by UUID, removing the access it manages.

Get Access Grant

Get one access grant by its Seam UUID or unique workspace key.

List Access Grants

List access grants in the workspace, optionally filtered by space, device, entrance, user identity, reservation, customer, key, or IDs; returns one cursor-controlled page.

List Action Attempts

Inspect asynchronous Seam operation status, errors, and results in bulk by action-attempt IDs or by device, returning one cursor-controlled page.

List Connected Accounts

List and search provider accounts connected to the workspace, optionally filtering by space, customer, user, or metadata; returns one cursor-controlled page.

List Devices

List and search devices in the workspace, optionally filtering by account, space, IDs, type, manufacturer, customer, creation time, or metadata; returns one cursor-controlled page.

List Spaces

List and search spaces in the workspace by name, key, or customer, returning one cursor-controlled page of grantable locations.

Update Access Grant

Update an access grant's name or validity window by UUID or unique workspace key.

SETUP GUIDE

Connect Seam MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/openai @ai-sdk/mcp
Install the Composio SDK for Python or TypeScript
2

Initialize Client and Create Tool Router Session

typescript
import { Composio } from '@composio/core';

const composio = new Composio({ apiKey: 'your-api-key' });
const session = await composio.create('your-user-id');
console.log(`Tool Router session created: ${session.mcp.url}`);
Import and initialize the Composio client, then create a Tool Router session for Seam
3

Connect to AI Agent

typescript
import { openai } from '@ai-sdk/openai';
import { experimental_createMCPClient as createMCPClient } from '@ai-sdk/mcp';
import { generateText } from 'ai';

const client = await createMCPClient({
  transport: {
    type: 'http',
    url: session.mcp.url,
    headers: {
      'x-api-key': 'your-composio-api-key',
    },
  },
});

const tools = await client.tools();
const { text } = await generateText({
  model: openai('gpt-4o'),
  tools,
  messages: [{
    role: 'user',
    content: 'List all smart locks in my Seam workspace'
  }],
  maxSteps: 5,
});

console.log(`Agent: ${text}`);
Use the MCP server with your AI agent (Anthropic Claude or Mastra)
SETUP GUIDE

Connect Seam API Tool with your Agent

1

Install Composio

typescript
npm install @composio/openai
Install the Composio SDK
2

Initialize Composio and Create Tool Router Session

typescript
import OpenAI from 'openai';
import { Composio } from '@composio/core';
import { OpenAIResponsesProvider } from '@composio/openai';

const composio = new Composio({
  provider: new OpenAIResponsesProvider(),
});
const openai = new OpenAI({});
const session = await composio.create('your-user-id');
Import and initialize Composio client, then create a Tool Router session
3

Execute Seam Tools via Tool Router with Your Agent

typescript
const tools = session.tools;
const response = await openai.responses.create({
  model: 'gpt-4.1',
  tools: tools,
  input: [{
    role: 'user',
    content: 'List all smart locks in my Seam workspace'
  }],
});
const result = await composio.provider.handleToolCalls(
  'your-user-id',
  response.output
);
console.log(result);
Get tools from Tool Router session and execute Seam actions with your Agent

Why Use Composio?

AI Native Seam Integration

  • Supports both Seam MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable smart lock, access code, thermostat, and sensor actions
  • Rich coverage for reading, writing, and querying connected devices in your Seam workspace

Managed Auth

  • Seam uses API key authentication, so you bring your own Seam API key
  • Composio keeps credentials out of agent prompts, logs, and application code
  • Central place to manage, scope, and revoke Seam access across users and environments

Agent Optimized Design

  • Tools are tuned for real agent workflows like listing locks, checking device status, and creating temporary access codes
  • Clear execution logs so you can see which Seam action ran, when it ran, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Seam tools
  • Scoped, least privilege access to locks, access systems, thermostats, and sensors
  • Full audit trail of agent actions to support review, operations, and compliance
FAQ

Frequently asked questions

Yes, Seam requires you to configure your own API key. Once set up, Composio handles secure credential storage and API request handling for you.

Yes! Composio's Tool Router enables agents to use multiple toolkits. Learn more.

Composio is SOC 2 and ISO 27001 compliant with all data encrypted in transit and at rest. Learn more.

Composio maintains and updates all toolkit integrations automatically, so your agents always work with the latest API versions.

Start with Seam.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Seam tool your agent needs.Free to start.

Start building