How to integrate Safetyculture MCP with OpenAI Agents SDK

This guide walks you through connecting Safetyculture to the OpenAI Agents SDK using the Composio tool router. By the end, you'll have a working Safetyculture agent that can show inspections updated in the last week, list all available audit templates now, create a new group for safety managers through natural language commands. This guide will help you understand how to give your OpenAI Agents SDK agent real control over a Safetyculture account through Composio's Safetyculture MCP server. Before we dive in, let's take a quick look at the key ideas and tools involved.

Safetyculture logoSafetyculture
Api Key

SafetyCulture is a platform for digital inspections, audits, and workplace safety management. It helps teams boost safety, quality, and efficiency with mobile-first tools.

255 Tools

Introduction

This guide walks you through connecting Safetyculture to the OpenAI Agents SDK using the Composio tool router. By the end, you'll have a working Safetyculture agent that can show inspections updated in the last week, list all available audit templates now, create a new group for safety managers through natural language commands.

This guide will help you understand how to give your OpenAI Agents SDK agent real control over a Safetyculture account through Composio's Safetyculture MCP server.

Before we dive in, let's take a quick look at the key ideas and tools involved.

Also integrate Safetyculture with

TL;DR

Here's what you'll learn:
  • Get and set up your OpenAI and Composio API keys
  • Install the necessary dependencies
  • Initialize Composio and create a Tool Router session for Safetyculture
  • Configure an AI agent that can use Safetyculture as a tool
  • Run a live chat session where you can ask the agent to perform Safetyculture operations

What is OpenAI Agents SDK?

The OpenAI Agents SDK is a lightweight framework for building AI agents that can use tools and maintain conversation state. It provides a simple interface for creating agents with hosted MCP tool support.

Key features include:

  • Hosted MCP Tools: Connect to external services through hosted MCP endpoints
  • SQLite Sessions: Persist conversation history across interactions
  • Simple API: Clean interface with Agent, Runner, and tool configuration
  • Streaming Support: Real-time response streaming for interactive applications

What is the Safetyculture MCP server, and what's possible with it?

The Safetyculture MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your SafetyCulture account. It provides structured and secure access to your organization's safety, inspection, and audit data, so your agent can perform actions like managing user groups, listing audit templates, retrieving inspection updates, and handling webhook secrets on your behalf.

  • Automated group management: Easily create new groups or list all existing groups to organize users by roles, teams, or functions within your organization.
  • Template discovery for audits: Quickly list available templates so your agent can recommend or select the right audit or inspection forms for your team’s needs.
  • Inspection update retrieval: Seamlessly search for inspections that have been modified since your last sync, making it simple to track recent activity or follow up on specific audits.
  • Webhook security management: Retrieve or regenerate webhook signature secrets, ensuring secure and reliable integration with external systems or automation workflows.

What is the Composio tool router, and how does it fit here?

What is Composio SDK?

Composio's Composio SDK helps agents find the right tools for a task at runtime. You can plug in multiple toolkits (like Gmail, HubSpot, and GitHub), and the agent will identify the relevant app and action to complete multi-step workflows. This can reduce token usage and improve the reliability of tool calls. Read more here: Getting started with Composio SDK

The tool router generates a secure MCP URL that your agents can access to perform actions.

How the Composio SDK works

The Composio SDK follows a three-phase workflow:

  1. Discovery: Searches for tools matching your task and returns relevant toolkits with their details.
  2. Authentication: Checks for active connections. If missing, creates an auth config and returns a connection URL via Auth Link.
  3. Execution: Executes the action using the authenticated connection.

Step-by-step Guide

Step by step09 STEPS
1

Prerequisites

Before starting, make sure you have:
  • Composio API Key and OpenAI API Key
  • Primary know-how of OpenAI Agents SDK
  • A live Safetyculture project
  • Some knowledge of Python or Typescript
2

Getting API Keys for OpenAI and Composio

OpenAI API Key
  • Go to the OpenAI dashboard and create an API key. You'll need credits to use the models, or you can connect to another model provider.
  • Keep the API key safe.
Composio API Key
3

Install dependencies

npm install @composio/openai-agents @openai/agents dotenv

Install the Composio SDK and the OpenAI Agents SDK.

4

Set up environment variables

bash
OPENAI_API_KEY=sk-...your-api-key
COMPOSIO_API_KEY=your-api-key
USER_ID=composio_user@gmail.com

Create a .env file and add your OpenAI and Composio API keys.

5

Import dependencies

import 'dotenv/config';
import { Composio } from '@composio/core';
import { OpenAIAgentsProvider } from '@composio/openai-agents';
import { Agent, hostedMcpTool, run, OpenAIConversationsSession } from '@openai/agents';
import * as readline from 'readline';
What's happening:
  • You're importing all necessary libraries.
  • The Composio and OpenAIAgentsProvider classes are imported to connect your OpenAI agent to Composio tools like Safetyculture.
6

Set up the Composio instance

dotenv.config();

const composioApiKey = process.env.COMPOSIO_API_KEY;
const userId = process.env.USER_ID;

if (!composioApiKey) {
  throw new Error('COMPOSIO_API_KEY is not set. Create a .env file with COMPOSIO_API_KEY=your_key');
}
if (!userId) {
  throw new Error('USER_ID is not set');
}

// Initialize Composio
const composio = new Composio({
  apiKey: composioApiKey,
  provider: new OpenAIAgentsProvider(),
});
What's happening:
  • dotenv.config() loads your .env file so COMPOSIO_API_KEY and USER_ID are available as environment variables.
  • Creating a Composio instance using the API Key and OpenAIAgentsProvider class.
7

Create a Tool Router session

// Create Tool Router session for Safetyculture
const session = await composio.create(userId as string, {
  toolkits: ['safetyculture'],
});
const mcpUrl = session.mcp.url;

What is happening:

  • You give the Tool Router the user id and the toolkits you want available. Here, it is only safetyculture.
  • The router checks the user's Safetyculture connection and prepares the MCP endpoint.
  • The returned session.mcp.url is the MCP URL that your agent will use to access Safetyculture.
  • This approach keeps things lightweight and lets the agent request Safetyculture tools only when needed during the conversation.
8

Configure the agent

// Configure agent with MCP tool
const agent = new Agent({
  name: 'Assistant',
  model: 'gpt-5',
  instructions:
    'You are a helpful assistant that can access Safetyculture. Help users perform Safetyculture operations through natural language.',
  tools: [
    hostedMcpTool({
      serverLabel: 'tool_router',
      serverUrl: mcpUrl,
      headers: { 'x-api-key': composioApiKey },
      requireApproval: 'never',
    }),
  ],
});
What's happening:
  • We're creating an Agent instance with a name, model (gpt-5), and clear instructions about its purpose.
  • The agent's instructions tell it that it can access Safetyculture and help with queries, inserts, updates, authentication, and fetching database information.
  • The tools array includes a hostedMcpTool that connects to the MCP server URL we created earlier.
  • The headers object includes the Composio API key for secure authentication with the MCP server.
  • requireApproval: 'never' means the agent can execute Safetyculture operations without asking for permission each time, making interactions smoother.
9

Start chat loop and handle conversation

// Keep conversation state across turns
const conversationSession = new OpenAIConversationsSession();

// Simple CLI
const rl = readline.createInterface({
  input: process.stdin,
  output: process.stdout,
  prompt: 'You: ',
});

console.log('\nComposio Tool Router session created.');
console.log('\nChat started. Type your requests below.');
console.log("Commands: 'exit', 'quit', or 'q' to end\n");

try {
  const first = await run(agent, 'What can you help me with?', { session: conversationSession });
  console.log(`Assistant: ${first.finalOutput}\n`);
} catch (e) {
  console.error('Error:', e instanceof Error ? e.message : e, '\n');
}

rl.prompt();

rl.on('line', async (userInput) => {
  const text = userInput.trim();

  if (['exit', 'quit', 'q'].includes(text.toLowerCase())) {
    console.log('Goodbye!');
    rl.close();
    process.exit(0);
  }

  if (!text) {
    rl.prompt();
    return;
  }

  try {
    const result = await run(agent, text, { session: conversationSession });
    console.log(`\nAssistant: ${result.finalOutput}\n`);
  } catch (e) {
    console.error('Error:', e instanceof Error ? e.message : e, '\n');
  }

  rl.prompt();
});

rl.on('close', () => {
  console.log('\n👋 Session ended.');
  process.exit(0);
});
What's happening:
  • The program prints a session URL that you visit to authorize Safetyculture.
  • After authorization, the chat begins.
  • Each message you type is processed by the agent using run().
  • The responses are printed to the console.
  • Typing exit, quit, or q cleanly ends the chat.

Complete Code

Here's the complete code to get you started with Safetyculture and OpenAI Agents SDK:

import 'dotenv/config';
import { Composio } from '@composio/core';
import { OpenAIAgentsProvider } from '@composio/openai-agents';
import { Agent, hostedMcpTool, run, OpenAIConversationsSession } from '@openai/agents';
import * as readline from 'readline';

const composioApiKey = process.env.COMPOSIO_API_KEY;
const userId = process.env.USER_ID;

if (!composioApiKey) {
  throw new Error('COMPOSIO_API_KEY is not set. Create a .env file with COMPOSIO_API_KEY=your_key');
}
if (!userId) {
  throw new Error('USER_ID is not set');
}

// Initialize Composio
const composio = new Composio({
  apiKey: composioApiKey,
  provider: new OpenAIAgentsProvider(),
});

async function main() {
  // Create Tool Router session
  const session = await composio.create(userId as string, {
    toolkits: ['safetyculture'],
  });
  const mcpUrl = session.mcp.url;

  // Configure agent with MCP tool
  const agent = new Agent({
    name: 'Assistant',
    model: 'gpt-5',
    instructions:
      'You are a helpful assistant that can access Safetyculture. Help users perform Safetyculture operations through natural language.',
    tools: [
      hostedMcpTool({
        serverLabel: 'tool_router',
        serverUrl: mcpUrl,
        headers: { 'x-api-key': composioApiKey },
        requireApproval: 'never',
      }),
    ],
  });

  // Keep conversation state across turns
  const conversationSession = new OpenAIConversationsSession();

  // Simple CLI
  const rl = readline.createInterface({
    input: process.stdin,
    output: process.stdout,
    prompt: 'You: ',
  });

  console.log('\nComposio Tool Router session created.');
  console.log('\nChat started. Type your requests below.');
  console.log("Commands: 'exit', 'quit', or 'q' to end\n");

  try {
    const first = await run(agent, 'What can you help me with?', { session: conversationSession });
    console.log(`Assistant: ${first.finalOutput}\n`);
  } catch (e) {
    console.error('Error:', e instanceof Error ? e.message : e, '\n');
  }

  rl.prompt();

  rl.on('line', async (userInput) => {
    const text = userInput.trim();

    if (['exit', 'quit', 'q'].includes(text.toLowerCase())) {
      console.log('Goodbye!');
      rl.close();
      process.exit(0);
    }

    if (!text) {
      rl.prompt();
      return;
    }

    try {
      const result = await run(agent, text, { session: conversationSession });
      console.log(`\nAssistant: ${result.finalOutput}\n`);
    } catch (e) {
      console.error('Error:', e instanceof Error ? e.message : e, '\n');
    }

    rl.prompt();
  });

  rl.on('close', () => {
    console.log('\nSession ended.');
    process.exit(0);
  });
}

main().catch((err) => {
  console.error('Fatal error:', err);
  process.exit(1);
});

Conclusion

This was a starter code for integrating Safetyculture MCP with OpenAI Agents SDK to build a functional AI agent that can interact with Safetyculture.

Key features:

  • Hosted MCP tool integration through Composio's Tool Router
  • SQLite session persistence for conversation history
  • Simple async chat loop for interactive testing
You can extend this by adding more toolkits, implementing custom business logic, or building a web interface around the agent.
TOOLS

Supported Tools

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

Bulk Add File Owners

Tool to bulk add file owners to multiple files in Documents.

Add Incident Collaborators

Tool to add collaborators (assignees) to an incident in SafetyCulture.

Archive Asset

Archives an asset in your SafetyCulture organization.

Archive Document Item

Tool to archive a document item (file or folder) in SafetyCulture.

Assign Permission Set

Tool to assign users to a permission set.

Cancel Create or Update Users Job

Tool to cancel a create-or-update users job.

Clone Incidents Category

Tool to clone an existing incident category in SafetyCulture.

Create Action

Tool to create a new action in SafetyCulture.

Create Action Schedule

Tool to create a recurring action schedule in SafetyCulture.

Create Asset

Creates a new asset in your SafetyCulture organization with the specified asset type, field values, and optional site assignment.

Create Asset Field

Creates a custom field for assets in your SafetyCulture organization.

Bulk Create Assets

Creates multiple assets in a single request.

Create Asset Type

Creates a new asset type for your SafetyCulture organization.

Create Credential Type

Creates a new credential type in SafetyCulture.

Create Directory Folder

Creates a new folder in the SafetyCulture directory hierarchy.

Create Directory Users Folders Membership

Tool to associate users to folders in the SafetyCulture directory.

Create Documents

Tool to create a new file in SafetyCulture Documents and get an upload URL.

Create Group

Creates a new group in the SafetyCulture organization.

Create Heads Up Announcement

Creates a new Heads Up announcement in SafetyCulture.

Create Incidents Category

Tool to create a new incident category in SafetyCulture.

Create Incidents Detail Field

Tool to create a new incident detail field in SafetyCulture.

Create Incidents Investigation

Tool to create a new investigation in SafetyCulture.

Create OSHA Case

Tool to create an OSHA case record in SafetyCulture.

Create OSHA Establishment

Tool to create a new OSHA establishment record in SafetyCulture.

Create Integration Configuration

Creates a configuration for an existing application installation in your organization.

Create Integration App Installation

Creates an installation of an existing application in your organization.

Create Schedule Item

Tool to create a schedule item in SafetyCulture.

Create Action Shared Link

Tool to create a shared link for an action in SafetyCulture.

Create Tasks Custom Field

Tool to create a custom field and map it to a specific action type in SafetyCulture.

Create Incident (Legacy)

Tool to create an incident (legacy issue) in SafetyCulture.

Create Issue Web Report Link

Tool to create a shared link for an issue's web report in SafetyCulture.

Create Tasks Task Type

Tool to create a new task type in SafetyCulture.

Create Task Timeline Comment

Tool to add a comment to a task timeline in SafetyCulture.

Create User Field

Tool to create a custom user field in SafetyCulture.

Create Webhook

Tool to create a webhook in SafetyCulture.

Delete Actions

Tool to bulk delete multiple actions from SafetyCulture.

Delete Asset

Permanently deletes an asset from your SafetyCulture organization.

Delete Asset Field

Permanently deletes a custom asset field from your SafetyCulture organization.

Delete Asset Type

Permanently deletes a custom asset type from your SafetyCulture organization.

Delete Credential Type

Permanently deletes a credential type from your SafetyCulture organization.

Delete Action Labels

Tool to delete action labels from your SafetyCulture organization.

Delete Directory Folders

Tool to bulk delete directory folders.

Delete Directory Folder Users

Remove association for multiple users from a specific folder.

Delete Directory User Folders

Remove association for a specific user to multiple folders.

Bulk Delete Groups

Tool to bulk delete multiple groups from the SafetyCulture organization.

Delete Incidents

Tool to bulk delete multiple incidents (issues) from your SafetyCulture organization.

Delete Incident Category

Permanently deletes an incident category from your SafetyCulture organization.

Delete Incident Detail Field

Permanently deletes an incident detail field from your SafetyCulture organization.

Delete Investigation

Permanently deletes an investigation from your SafetyCulture organization.

Delete Incidents OSHA Case

Tool to permanently delete an OSHA case from SafetyCulture.

Delete OSHA Establishment

Permanently deletes an OSHA establishment from your SafetyCulture organization.

Delete Integration Configuration

Deletes a configuration for an existing application installation in SafetyCulture.

Delete Integration App Installation

Deletes an existing application installation from SafetyCulture.

Delete Action Shared Link

Tool to delete (revoke) an action shared link in SafetyCulture.

Delete Tasks Custom Field

Permanently deletes a custom field from your SafetyCulture tasks configuration.

Delete Action Type

Tool to delete an action type in SafetyCulture.

Delete User Field

Tool to permanently delete a user field from your SafetyCulture organization.

Delete Webhook

Permanently deletes a webhook from your SafetyCulture organization.

Deprovision Sensor

De-provisions a sensor from SafetyCulture.

Disable User Field

Tool to archive a user field in SafetyCulture.

Get Action Assignees Feed

Tool to retrieve the data feed for action assignees.

Get Actions

Tool to list actions from SafetyCulture tasks API.

Get Asset

Tool to retrieve full details of an asset from SafetyCulture.

Get Asset By Code

Tool to retrieve an asset's full details using its code.

Get Assets Feed

Tool to retrieve a data feed of all assets in your SafetyCulture organization.

Get Asset Type

Retrieves details of a specific asset type by ID.

Get Credential Settings

Tool to retrieve credential settings for your SafetyCulture organization.

Get Credential Type

Tool to retrieve details of a specific credential type by ID.

Get Directory Folder

Retrieves details of a specific directory folder by ID.

Get Directory Folder Users

Retrieves users associated with a directory folder, including both directly and indirectly (inherited) associated users.

Get Directory Folder Users Associated

Tool to retrieve users directly associated to a folder.

Get Directory Folder Users Inherited

Retrieves users indirectly associated (inherited) to a folder.

Get Directory Organization Labels

Tool to retrieve custom labels mapping for your SafetyCulture organization.

Get Folders By Parent

Retrieves child folders for a specific parent folder by ID.

Get Documents

Tool to retrieve a paginated list of credentials from SafetyCulture.

Get Incident Questions And Answers

Tool to retrieve questions and answers for a specific incident (issue) in SafetyCulture.

Get Category Detail Fields

Tool to retrieve detail fields for a specific incident category.

Get Incidents Count

Tool to get the total count of incidents (issues) in SafetyCulture.

Get Incidents Investigation

Tool to retrieve a specific investigation from SafetyCulture.

Get Incidents OSHA Establishment Employees

Tool to retrieve establishment employee records from SafetyCulture OSHA.

Get OSHA Establishment

Tool to retrieve an OSHA establishment record from SafetyCulture.

Get Establishment Hours

Tool to retrieve establishment hours from SafetyCulture OSHA service.

Get Integrations Apps Installation

Tool to retrieve details of a specific app installation by its app ID and installation ID.

Get Investigation Access

Tool to retrieve access information for a specific investigation.

Get Investigation Actions Count

Tool to retrieve the count of actions linked to a specific investigation in SafetyCulture.

Get Investigation Inspection Count

Tool to retrieve the count of inspections linked to a specific investigation.

Get Investigation Issue Count

Tool to get the count of issues linked to an investigation.

Get Investigation Media Count

Tool to retrieve the count of media linked to an investigation in SafetyCulture.

Get Investigation PDF Report

Tool to retrieve the PDF report for a specific investigation.

Get Lesson Attempts

Tool to retrieve all lesson attempts for users in your organization.

Get Lesson Progress Events

Tool to retrieve all lesson progress events for users in your organization.

Get Lesson Statistics

Tool to retrieve lesson statistics for all lessons in your organization.

Get Loneworker Jobs

Tool to retrieve all loneworker jobs in your organization.

Get Permission Set

Tool to retrieve a permission set from SafetyCulture.

Get Rapid Refresh Answers

Tool to retrieve rapid refresh answers from your organization's training analytics.

Get Sensor ID

Tool to retrieve a sensor ID from SafetyCulture.

Get Signature Secret

Retrieves the current webhook signature secret token from SafetyCulture.

Get Survey Answers

Tool to retrieve survey answers from training analytics.

Get Survey Question Definitions

Tool to retrieve survey question definitions from training courses in your organization.

Get Tasks Action Labels

Tool to retrieve all action labels configured in your SafetyCulture organization.

Get Tasks Actions

Tool to retrieve a specific action from SafetyCulture.

Get Action Shared Link

Tool to retrieve an existing action shared link.

Get Tasks Custom Fields Unmapped

Tool to retrieve custom fields not mapped to a specific action type.

Get Tasks Incident

Tool to retrieve a specific incident (issue) from SafetyCulture.

Get Tasks Incidents PDF Report

Tool to export an incident (issue) to PDF from SafetyCulture.

Get Timeline

Tool to retrieve timeline events for a SafetyCulture task.

Get Training Collections

Tool to retrieve all training collections in your organization.

Get Training Courses

Tool to retrieve all training courses in your organization.

Get Training Course Lessons

Tool to retrieve all lessons for a given training course.

Get Training Courses Statistics

Tool to retrieve course statistics for all courses in your organization.

Get Training Individual Leaderboards

Tool to retrieve all individual leaderboards in your organization.

Get Training Paths

Tool to retrieve learning paths from your SafetyCulture organization.

Get Training Rapid Refresh

Tool to retrieve all rapid refreshes in your organization.

Get Training Slides Statistics

Tool to retrieve all slide statistics for training slides in your organization.

Get Training User Lesson Progress

Tool to retrieve lesson progress for a specific user in SafetyCulture Training.

Get Slide User Statistics

Tool to retrieve all slide statistics for a specific user in your organization.

Get User Groups

Retrieves the list of groups that a specific user belongs to.

Get User Lesson Progress Events

Tool to retrieve lesson progress events for a specific user.

Get Users Upsert Job

Tool to retrieve details of a create-or-update users job.

Get User Attributes

Tool to retrieve user attributes from SafetyCulture.

Get Webhook

Tool to retrieve details of a specific webhook from SafetyCulture.

Ingest Sensor Readings

Tool to ingest sensor readings into SafetyCulture.

Initialize Create or Update Users Job

Tool to initialize a create-or-update users job in SafetyCulture.

Link Documents to Entities

Tool to link files/documents to other areas of the SafetyCulture platform such as assets.

List Action Fields

Tool to retrieve action fields data feed from SafetyCulture.

List Actions

Tool to retrieve actions from the SafetyCulture data feed.

List Activity Log Events

Tool to retrieve activity log events from SafetyCulture.

List Assets

Tool to retrieve assets from your SafetyCulture organization with optional filtering and sorting.

List Asset Type Fields

Retrieves all fields and their association status for a specific asset type.

List Companies Feed

Tool to retrieve the data feed for contractor companies.

List Company Documents Feed

Tool to retrieve the data feed for contractor company documents.

List Company Members Feed

Tool to retrieve the data feed for contractor company user memberships.

List Company Document Types

Tool to retrieve a paginated list of company document types from SafetyCulture.

List Company Types

Tool to list company types in your SafetyCulture organization.

List Company Types with Metrics

Tool to list company types with associated metrics and statistics.

List Contractor Companies

Tool to list contractor companies based on applied filters.

List Create-or-Update Users Jobs

Tool to retrieve a list of create-or-update users jobs.

List Credential Versions

Tool to list all versions of a credential document.

List Directory Folders

Tool to retrieve all folders from your SafetyCulture organization directory.

List Directory User Folder IDs

Tool to list folders the requesting user is associated with.

List Credential Types

Tool to list credential types (licenses and credentials) in your SafetyCulture organization.

List Fields

Tool to retrieve all asset fields in your SafetyCulture organization.

List Groups

Retrieves all groups in the organization.

List Groups (Feed)

Tool to retrieve groups via the feed endpoint.

List Group Users

Tool to retrieve the data feed for group users.

List Heads Ups (Management)

Tool to retrieve a list of heads ups (announcements) in management view.

List Incidents Categories

Tool to retrieve all incident categories from SafetyCulture.

List Incidents Field Library

Tool to retrieve the detail field library from SafetyCulture.

List Incidents Fields

Tool to list all fields for a specific incident category in SafetyCulture.

List Incidents Investigation Detail Fields

Tool to retrieve investigation detail fields from SafetyCulture incidents data feed.

List Incidents Investigation Fields

Tool to retrieve investigation fields from the SafetyCulture data feed.

List Investigation Relationships

Tool to retrieve investigation relationships from the SafetyCulture data feed.

List Incidents Investigations

Tool to retrieve investigations from the SafetyCulture incidents feed.

List Investigations (Advanced)

Tool to list investigations from SafetyCulture with advanced filtering and sorting capabilities.

List Incidents Settings Log

Tool to retrieve settings log events for incidents from SafetyCulture.

List Incidents OSHA Cases

Tool to retrieve OSHA cases from SafetyCulture.

List OSHA Establishments

Tool to retrieve OSHA establishments from SafetyCulture.

List Incidents Statuses

Tool to retrieve all incident statuses from SafetyCulture.

List Integration Applications

Tool to retrieve all integration applications available for installation in your SafetyCulture organization.

List Integrations Apps Installations

Tool to list all existing app installations in the organization.

List Investigation Actions

Tool to list actions linked to a SafetyCulture investigation.

List Investigation Inspections

Tool to retrieve inspections linked to a specific investigation.

List Investigation Issues

Tool to list issues linked to a SafetyCulture investigation.

List Investigation Activity Log

Tool to retrieve activity log entries for a specific investigation in SafetyCulture.

List Investigation Media

Tool to retrieve media (images and videos) associated with a SafetyCulture investigation.

List Issue Assignees

Tool to retrieve issue assignees data feed from SafetyCulture.

List Issue Relations

Tool to retrieve a feed of issue relations items.

List Issues

Tool to retrieve issues from the SafetyCulture data feed.

List Issue Timeline Items

Tool to retrieve issue timeline items from the SafetyCulture data feed.

List Permission Sets

Tool to list permission sets in your SafetyCulture organization.

List Schedule Assignees

Tool to retrieve schedule assignees data feed (v2).

List Schedule Items

Tool to list schedule items from SafetyCulture.

List Schedule Items

Tool to list schedule items from SafetyCulture.

List Scheduling Schedule Occurrences

Tool to retrieve the data feed for schedule occurrences (v2).

List Scheduling Schedules

Tool to retrieve the data feed for schedules (v2).

List Sensors

Tool to retrieve all hardware sensors in your SafetyCulture organization.

List Site Members

Tool to retrieve the data feed for site members.

List Sites

Tool to retrieve sites data feed from your SafetyCulture organization.

List Tasks Action Fields

Tool to retrieve tasks action fields data feed from SafetyCulture.

List Tasks Categories

Tool to list task categories in SafetyCulture.

List Tasks Incidents

Tool to list issues (incidents) from SafetyCulture.

List Template Permissions

Tool to retrieve the data feed for template permissions.

List Templates

Retrieves all templates (also known as inspection forms or checklists) available in your SafetyCulture organization.

List Training Course Progress

Tool to retrieve the data feed for training course progress.

List Asset Types

Tool to list asset types in your SafetyCulture organization with pagination and filtering.

List User Fields

Tool to retrieve user fields in your SafetyCulture organization.

List Users

Tool to retrieve a data feed of all users in your SafetyCulture organization.

List Webhooks

Tool to retrieve all webhooks configured in your SafetyCulture organization.

Lookup Assets By Field

Tool to search for assets by matching a specific field name and value.

Map Field to Task Type

Maps a custom field to a task type in SafetyCulture.

Move Documents Item

Tool to move a file or folder to a different location in Documents.

Move Folders

Tool to move one or more folders to a new parent folder or to the root level.

Provision Sensor

Tool to provision a new sensor in SafetyCulture.

Regenerate Signature Secret

Regenerates the webhook signature secret for your SafetyCulture organization.

Register Integration App

Registers a new custom application in SafetyCulture for integration purposes.

Bulk Remove File Owners

Tool to bulk remove owners (users or groups) from files in SafetyCulture Documents.

Remove Incident Collaborators

Tool to remove collaborators (assignees) from an incident (issue) in SafetyCulture.

Restore Archived Asset

Restores an archived asset in your SafetyCulture organization.

Restore Field

Tool to restore an archived field in SafetyCulture.

Search Directory Folders

Tool to search for folders in the directory hierarchy.

Search Documents Items

Tool to search files and folders in SafetyCulture documents.

Search Modified Inspections

Tool to retrieve inspections modified since a given timestamp.

Set Category Detail Fields

Tool to set detail fields for an incident category in SafetyCulture.

Set Incidents Detail Field Options

Tool to set the options for a select-type detail field in SafetyCulture incidents.

Set User Attributes

Tool to set or update user attributes for a specific user in SafetyCulture.

Set User Field Settings

Tool to update field settings for a user field in SafetyCulture.

Start Users Upsert Job

Tool to start an initialized create-or-update users job.

Unmap Field From Task Type

Tool to unmap a custom field from a task type in SafetyCulture.

Update Action Asset

Updates the asset associated with an action in SafetyCulture.

Update Action Assignees

Updates the assignees of an action in SafetyCulture.

Update Action Due Date

Tool to update the due date of an action in SafetyCulture.

Update Action Labels

Tool to update the labels associated with an action in SafetyCulture.

Update Action Priority

Tool to update the priority of an action in SafetyCulture.

Update Action Status

Tool to update the status of an action in SafetyCulture.

Update Asset

Updates an existing asset in SafetyCulture.

Update Asset Location

Tool to update an asset's geographic location in your SafetyCulture organization.

Bulk Update Assets

Tool to update multiple assets in a single operation.

Update Asset Type Fields

Tool to update asset type field associations.

Update Credential Type

Tool to update a credential type in SafetyCulture.

Update Credentials Settings

Updates the credential settings for your organization.

Update Documents

Tool to update a file in SafetyCulture Documents by modifying its metadata such as name or description.

Update OSHA Establishment

Tool to update an OSHA establishment in SafetyCulture.

Update Field

Tool to update an existing asset field in SafetyCulture.

Bulk Update File Owners

Tool to bulk replace file owners (users or groups) in SafetyCulture Documents.

Update Folder Properties

Tool to update a folder's properties in SafetyCulture.

Update Incident Due Date

Tool to update the due date of an incident in SafetyCulture.

Update Incident Category

Updates an existing incident category in SafetyCulture.

Rename Incident Detail Field

Tool to rename a detail field in SafetyCulture incidents.

Update Incidents Fields

Tool to update fields for a specific incident category in SafetyCulture.

Update Investigation

Updates an investigation in SafetyCulture by performing operations such as changing the title, description, status, or managing related entities.

Update OSHA Case

Tool to update an existing OSHA case in SafetyCulture.

Update OSHA Establishment Employees

Tool to update the average employee count for an OSHA establishment.

Update OSHA Establishment Hours

Tool to update the hours worked for an OSHA establishment.

Update Incident Priority

Tool to update the priority of an incident in SafetyCulture.

Update Incident Statuses

Tool to update the complete set of incident statuses for your SafetyCulture organization.

Update Incident Status

Tool to update the status of an incident/issue in SafetyCulture.

Update Integration App Installation Configuration

Tool to update a configuration for an existing application installation in SafetyCulture.

Update Integrations Apps

Tool to update an existing custom application in SafetyCulture.

Update Investigations

Tool to update investigations in bulk.

Update Permission Set

Updates a custom permission set in SafetyCulture.

Update Task Action Description

Tool to update the description of a task action in SafetyCulture.

Update Action Site

Tool to update the site (folder) of an action in SafetyCulture.

Update Action Title

Updates the title of an action in SafetyCulture.

Update Tasks Custom Field

Tool to rename a custom field in SafetyCulture tasks configuration.

Update Task Incident Category

Tool to update the category of an incident/task in SafetyCulture.

Update Tasks Incidents Description

Tool to update the description of a task incident in SafetyCulture.

Update Incident Occurred At

Tool to update the occurred_at timestamp for an incident (issue) in SafetyCulture.

Update Incident Site

Tool to update the site (folder) associated with an incident in SafetyCulture.

Update Incident Title

Tool to update the title of an incident (legacy issue) in SafetyCulture.

Update Tasks Task Type

Tool to rename a task type (action type) in SafetyCulture.

Update Type

Tool to update an asset type in SafetyCulture.

Update User Field

Tool to update a user field in SafetyCulture.

Update Webhook

Tool to update an existing webhook configuration in SafetyCulture.

Upsert Action Label

Create or update an action label for categorizing actions in your SafetyCulture organization.

Create or Update Users

Tool to create or update users synchronously in bulk.

FAQ

Frequently asked questions

With a standalone Safetyculture MCP server, the agents and LLMs can only access a fixed set of Safetyculture tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Safetyculture and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. OpenAI Agents SDK fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Safetyculture tools.

Yes, absolutely. You can configure which Safetyculture scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Safetyculture data and credentials are handled as safely as possible.

Start with Safetyculture.It takes 30 seconds.

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

Start building