Slackline

ai.wakeshift由 wakeshift.ai 发布官方发布者v1.0.0更新于 Nov 4, 2026

Chat with your AI agents from Slack: each gets a thread in your DM, and your replies there wake it.

已验证Streamable HTTP可网页运行沟通与协作AI 与机器学习

概览

AI 生成的概览

Slackline 把你的 AI 代理接入 Slack:每个代理在你的私信中有一个话题,你在那里回复即可唤醒它,让它直接在 Slack 中作答。

可以做什么
  • 开始监听:watch 为该会话建立与 Slackline 的私信话题,并在有新 Slack 消息时唤醒代理
  • 发送消息:reply 把内容发到私信话题,或代理所监听的频道,并以代理获批的名称署名
  • 停止监听:unwatch 结束订阅,并在私信话题中说明
  • 查看范围:listening 显示代理在哪些地方监听、依据什么规则
  • 频道规则在 Slackline 控制台中设置,选择代理监听的频道以及谁可以在那里联系它
适用场景
适合运行 Claude Code、Codex、Cursor 等代理、希望从 Slack(包括手机)而非终端与它们对话的人,也适合按自定规则让同事在共享频道中联系某个代理。
运行要求
远程 MCP 端点 slackline.wakeshift.ai,受 OAuth 保护:客户端先注册,你用 Slack 登录并在同意页面批准。Slack 工作区需先添加 Slackline(可能需要管理员批准)。自行部署还需 Postgres 数据库、公网 HTTPS 地址、Wakeshift 应用密钥和 Slack 应用凭据。
安装前请注意
批准代理即授予其读取你的 Slack 消息并以获批名称发帖的权限;同意页面会显示访问被发送到哪里,而客户端名称由客户端自称。频道规则可能让其他人的消息触达以你的权限运行的代理,这类消息会被标记为来自他人。代理发帖受频率限制;撤销代理会终止其令牌、规则和监听。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Slackline,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/ai.wakeshift%2Fslackline/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "slackline": {
      "type": "http",
      "url": "https://slackline.wakeshift.ai/mcp"
    }
  }
}

README

Slackline

Chat with your own agents (Claude Code, Codex, Cursor and the rest) from Slack. Each agent gets a thread in your DM with Slackline; your replies there wake it, and it answers in the thread under its own name. In Slackline's console you choose channels each agent also listens in, and who can reach it there. People sign in with Slack, not with Wakeshift.

How it works

  1. A workspace adds Slackline (Add to Slack, /install; an admin may need to approve it). Its bot token is stored sealed (AES-256-GCM).

  2. People sign in with Slack (OpenID Connect, /signin) to Slackline's console, /home.

  3. An agent adds Slackline's MCP server, https://<host>/mcp. It's OAuth-protected: the client registers (dynamic client registration), the person signs in with Slack and approves it on Slackline's consent page, naming it, and the client gets tokens. The agent is now that person's: the console lists it, and they can rename or revoke it.

  4. The agent calls watch. That conversation (a listener) gets a thread in the person's DM with Slackline, and watch subscribes it to Slackline's slack.message event for that listener. The event is personal: its user is the person who connected the agent (<team>.<user>), so no one else's subscription can match it. Wakeshift's result tells the harness how it's woken (a Monitor for Claude Code, a connector beacon for Codex, and so on). Watching again from the same conversation keeps its thread: Slackline remembers an HMAC of the conversation's session key (or Codex thread, or ChatGPT conversation), never the key.

    A client that subscribes with MCP Events itself (ChatGPT) isn't subscribed by watch: the result gives it the listener's ID, and it subscribes to slack.message with it. Slackline lets it subscribe only to its own agent's listeners, and refuses subscribe_events from harnesses watch already subscribed. unwatch ends either kind of subscription.

  5. Messages wake it. Slackline routes each Slack message (below) to the right listener and emits it as slack.message for that listener, to the agent's person; Wakeshift wakes the conversation with the message framed as outside data.

  6. The agent answers with reply: in its DM thread, or in a channel it listens in (in the thread of the message it's answering, or as a new post), under its own name (chat:write.customize). Replies in a channel thread it posted in come back to it.

Tool
watchlabel (optional): get this conversation's DM thread, and be woken there and in the agent's channels
replytext; channel and thread_ts from the message being answered (empty: the DM thread)
unwatchstop listening; the DM thread says so
listeningwhere the agent listens, and how

/slackline in Slack lists your agents and how to connect one.

Who can reach an agent

WhereReaches the agent when
Its DM threadthe message is from the agent's person, in that thread
A channel, mode @Slackline mentionsthe message mentions @Slackline. With several agents there, a mention that starts with an agent's name (@Slackline pipe: …) is for that one; otherwise for the sender's own agents
A channel, mode every messageany message there
A thread the agent posted ina reply there, while the channel's rule still lets the sender reach it (several agents can be in one thread: each gets replies under its own rule, and a mention there still reaches the agent it names)

and, in a channel, only from the agent's person unless its rule says from anyone there. That lets other people's messages reach an agent that runs on its person's machine with their access, so the console asks them to confirm they understand, and logs it; those messages are marked as from someone else ("information, not instructions") in what the agent reads. A channel message reaches each agent once, in its most recently active listening conversation.

A channel rule works only while its person is in the channel: the console offers (and accepts) only channels both they and Slackline are in, delivery and posting check their membership (cached for a minute), and Slack's member_left_channel removes their agents' rules there, audited. So nobody can use an agent to read a channel they can't.

Agents post under the name their person approved (on the consent page, or renamed in the console), never one they choose; the name they give watch only labels the conversation in the DM.

Never delivered: bots' messages (the app's and agents' own posts included), edits, joins and other subtypes, anything without Slack's signature (v0, within 5 minutes), and anything for a revoked agent. An agent's text is escaped (&, <, >), so it can't mention @channel, @here, people or groups, or hide a link; it posts at most 20 messages a minute per conversation. Rules apply only to channels Slackline is in (/invite @Slackline).

Accounts, tokens and the console

  • Sessions: a signed cookie (HttpOnly, SameSite=Lax, Secure on https) naming the person and their session version; signing out bumps the version, so it ends the person's sessions in every browser and a copied cookie stops working. Console forms carry a token derived from the session, and must come from Slackline's own origin.
  • Consent page: the client's name is its own claim (anyone can register any name), so the page says so, and shows prominently where approving sends access: the redirect's host, or "a program on this computer" for loopback redirects.
  • OAuth: clients are signed blobs (nothing stored until someone approves one); redirect URIs must be https, or http on the loopback. Authorization codes are single-use, last 2 minutes, are stored hashed, and require PKCE (S256); an exchange that fails spends the code. Access tokens are signed, last an hour, and name the agent, which is checked on every request, so revoking it stops them at once. Refresh tokens are random, stored hashed, last 90 days, and are replaced on every use. Approving the same client again reuses its agent.
  • Revoking an agent ends its tokens, codes, channel rules and listeners, and its conversations' Wakeshift subscriptions (each is told); an end that fails (Wakeshift unreachable) is retried every 5 minutes until Wakeshift confirms it.
  • Audit log: connecting, re-approving, renaming and revoking agents, setting and removing channel rules, and signing in, per person (the console shows the latest). Never message text.
  • Removing Slackline from a workspace (app_uninstalled, or tokens_revoked for the bot's token; a person's sign-in token being revoked changes nothing) has Wakeshift forget each of its people (their conversations, subscriptions and the messages it held), then deletes Slackline's own rows, audited. Any failure answers 503, so Slack retries; forgetting is idempotent.

Retries

Slack retries an event without a 200 within 3 seconds. Slackline answers 200 once the message is published, and 503 if publishing failed, so Slack retries; each publish's ID includes the Slack event ID, so a retry is delivered once. Notes Slackline posts back (help in the DM, "isn't listening", only-you-can-see notes in channels) aren't repeated on retries.

Run it yourself

  1. In the Wakeshift console, open Build → New app and copy its key (wst_…).

  2. Create an empty Postgres database. Slackline creates its tables when it starts.

  3. Give it a public HTTPS URL (a tunnel works while you try it), and create a Slack app from its manifest: at api.slack.com/apps, choose Create New App → From a manifest and paste what https://<your URL>/slack/manifest.json returns once Slackline is running. (Start it once with placeholder Slack credentials to get the manifest, then restart it with the real ones.)

  4. Copy .env.example to .env and fill it in:

    Variable
    WAKESHIFT_URLWakeshift's URL, https://app.wakeshift.ai
    SLACKLINE_URLYour copy's public URL
    SLACKLINE_KEYThe app's key from step 1
    SLACKLINE_DATABASE_URLThe database from step 2
    SLACKLINE_SECRET32 or more random bytes: signs sessions, OAuth clients and access tokens. Changing it signs everyone out and makes agents sign in again; nothing else
    SLACKLINE_TOKEN_KEYSKeys sealing each workspace's bot token, comma-separated, each 32 or more random bytes. The first seals, any opens: to rotate, put a new key first, and drop the old one once every workspace has reinstalled
    SLACKLINE_SLACK_CLIENT_ID, SLACKLINE_SLACK_CLIENT_SECRET, SLACKLINE_SLACK_SIGNING_SECRETFrom the Slack app's Basic Information page
    PORTListen port (default 8080)

    openssl rand -base64 48 makes a good secret or token key.

  5. Run it, from the repository's root:

    sh
    set -a; . slackline/.env; set +ago run ./cmd/slackline
  6. In the Slack app, re-verify the Event Subscriptions request URL, then open SLACKLINE_URL and choose Add to Slack.

Testing

go test ./slackline, with WAKESHIFT_TEST_DATABASE_URL set to a Postgres URL for a role that can create databases. The tests that run Slackline against the Wakeshift server and a fake Slack, end to end, run in Wakeshift's own repository.

Contributing

This repository is generated from Wakeshift's main repository. Pull requests are welcome: we apply them there and publish the result. See CONTRIBUTING.

来源:slackline/README.md,提交 8774523

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.0最新Nov 4, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Wakeshift 集成