Slab

Tools to read posts, browse topics, and search content in your Slab workspace via the Slab GraphQL API.

Overview

The Slab MCP provides agents with read access to your Slab workspace. Agents can retrieve posts, browse topics, and search content — making internal knowledge accessible directly in conversation.

Connection Setup (Admin)

  1. In Dust, go to Spaces → Tools and click Add Tools.
  2. Select Slab from the list of available tools.
  3. Paste your Slab API access token into the field provided and save.

You can find your API access token in Slab under Team settings → Developer. See the Slab Developer Tools documentation for instructions.

Once connected, the Slab toolset will be available to add to agents in the spaces you grant access to.

Authentication and Permissions Model

Slab's GraphQL API authenticates requests using an access token tied to a Bot user. Dust passes the token as:

Authorization: token <ACCESS_TOKEN>

Access to content depends entirely on what the Bot user can access in Slab. Before connecting, ensure the Bot user has been granted access to the topics and posts you want agents to be able to read.

References:

Required Permissions

Slab does not offer granular API scopes. Access control is governed entirely by the Bot user's permissions within your Slab workspace:

  • The Bot user must be a member of the Slab workspace.
  • The Bot user must have access to the topics and posts you want agents to read.
  • Private topics or posts the Bot user is not a member of will not be accessible.

Review and update the Bot user's membership in Slab's team settings to ensure the desired content is reachable.

Available Tools

ToolDescription
Get PostRetrieve the full content of a Slab post by ID.
List PostsList posts in the workspace, optionally filtered by topic.
Get TopicRetrieve details of a Slab topic, including its posts.
List TopicsList all topics the Bot user has access to.
SearchSearch posts and topics by keyword across the workspace.