Slab

Slab

Read and organize Slab (team wiki) from any AI agent via its GraphQL API: search posts, read a post, list topics and their posts, create a post. 6 tools, API token (Business and Enterprise plans).

7 天免费 · 无需信用卡 · EU 托管

问 Slab 任何事

通过 AnythingMCP 对 Slab 试一个真实提示 — Claude 调用工具并返回答案。在你的消息上按 Enter 即可在 Cloud 安装。

在 Cloud 上安装 Slab
Slab · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

2 分钟设置

  1. 1在 cloud.anythingmcp.com 开始免费试用。
  2. 2在连接器商店点击 Slab。提示时粘贴凭据。
  3. 3生成 MCP API 密钥,将 AI 客户端指向生成的 MCP URL。
立即安装 Slab

Slab 指南

面向主流 AI 客户端的逐步设置。

配置 Slab

直接来自连接器定义:在哪里获取凭据、需要哪些权限,以及该适配器调用的是哪个 API。 由连接器作者以英文提供。

This connector uses the Slab GraphQL API (https://api.slab.com/v1/graphql). Schema reference: https://studio.apollographql.com/public/Slab/variant/current/schema/reference

Setup:

  1. Slab's API is available on the Business and Enterprise plans only.
  2. In Slab open Team Settings → Developer and copy the API token.
  3. Set SLAB_API_TOKEN.

Authentication: Authorization: Bearer ${SLAB_API_TOKEN}.

What the token can see: the API acts as the Slab Bot user. A post or topic Slab Bot has no access to is missing from every result — if something you expect is not there, give Slab Bot access to it in Slab.

Workflow:

  1. slab_search_posts to find posts by text (cursor-paginated: pass pageInfo.endCursor back as after), or slab_list_topics → slab_get_topic_posts to browse.
  2. slab_get_post with a post ID for the full post.
  3. slab_create_post to add a new, empty post, optionally inside a topic.

Post content is Quill Delta JSON, not Markdown: content is a list of { insert, attributes } operations — the text is the concatenation of the insert strings, formatting sits in attributes. Writing content goes through updatePostContent(id, delta) with a Delta change (retain / delete / insert), which you can send with slab_graphql_mutation.

Topics = folders: posts live in topics, which can be nested (parent).

Beyond the typed tools: every GRAPHQL adapter gets slab_graphql_query / slab_graphql_mutation for any operation in the schema reference above (users, comments, updatePost, addTopicToPost, syncPost for mirroring an external Markdown document, …).

Out of scope here: integrations, billing, workspace export.

你的 AI 距离 Slab 仅两次点击。

安装连接器、粘贴凭据、向 AI 提问。7 天免费,无需信用卡。