Tactus

io.github.ProjectAILiberation由 GitHub 帳號 ProjectAILiberation 發布v0.1.2更新於 Oct 24, 2026

Content-agnostic control layer for intimate hardware; forwards Buttplug/Intiface commands only.

已驗證STDIO僅桌面

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 助理透過 Buttplug/Intiface 控制情趣硬體,內建強度限制與緊急停止。

可以做什麼
  • 列出並掃描已連線裝置,讀取電量
  • 以振動、擺動、旋轉與直線伸縮指令驅動裝置
  • 播放定時且可中斷的振動模式
  • 停止單一裝置,或對所有裝置執行緊急停止
  • 回報與本機 Intiface 引擎的連線狀態
適用情境
適合希望由 AI 助理操作自己擁有之相容情趣裝置的成年人,在同一台電腦上透過本機 Intiface 連線使用。它面向只需要受安全限制約束的硬體控制層、而非內容生成的用途。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node.js。需安裝 Intiface Central 並啟動其伺服器,裝置以藍牙或 USB 配對。選用環境變數 INTIFACE_URL、MAX_INTENSITY、MAX_CONTINUOUS_MS 與 SCAN_DEFAULT_MS 可調整連線與安全限制。
安裝前請注意
它會向實體硬體送出指令,強度與時長設定需謹慎;--allow-unsafe 參數會關閉強度限制。僅限成年人,且僅用於自己擁有並取得所有相關方同意的裝置。藍牙連線若無聲無息地劣化可能無法偵測,指令看似成功但裝置可能沒有反應。不收集任何個人或使用資料。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Tactus,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Tactus

[CI] [License: Apache-2.0]

A content-agnostic MCP server that lets any AI agent control intimate hardware through a clean, safe tool interface.

Tactus is a thin, neutral control layer. It wraps Buttplug / Intiface — so a single integration reaches 750+ devices across ~26 brands — and exposes them to AI agents as Model Context Protocol (MCP) tools. It forwards hardware control commands only. It does not generate, host, or store any content of any kind.

  • Safety first. Intensity clamping, an independent watchdog auto-stop, a one-call emergency stop, and fail-safe stop semantics are built in and on by default — this is the headline feature, not an afterthought.
  • One-line install. npx -y tactus-mcp, no clone or build.
  • OS-agnostic. Tactus never touches Bluetooth. Intiface owns the radio; we just talk to it over a local WebSocket.

⚠️ Adults only (18+, or the age of majority in your jurisdiction). For use only on devices you own and only with the consent of everyone involved.


How it works

  AI client / agent           Tactus (this server)            Intiface Central  (Claude Desktop,    MCP      - MCP server          WebSocket - holds BLE/USB   Claude Code, your  ───────▶ - Buttplug client     ────────▶   - 750+ device   own AI product)            - SAFETY LAYER          :12345      protocols                                                                     │ BLE/USB                                                                     ▼                                                                🔵 your device

Everything runs locally on your machine. Tactus is a Buttplug client that connects to a locally running Intiface Central/Engine at ws://127.0.0.1:12345.

Prerequisites

  1. Install Intiface Central.
  2. Open it and click Start Server.
  3. Pair your device (or, for development, add a simulated device under Devices → Manage Simulated Devices).

Install & configure

Tactus runs over stdio via npx. Add it to your MCP client config.

Claude Desktop / Claude Code (claude_desktop_config.json):

json
{  "mcpServers": {    "tactus": {      "command": "npx",      "args": ["-y", "tactus-mcp"],      "env": { "MAX_INTENSITY": "1.0" }    }  }}

The same command/args work for any MCP client that launches stdio servers (Cursor, Cline, Continue, etc.).

Tools

ToolPurpose
list_devicesList connected devices and their actuators
scan_for_devicesScan for and return newly found devices
get_batteryRead battery level (0.0–1.0)
vibrateSet vibration intensity (0.0–1.0)
oscillateSet oscillation intensity (0.0–1.0)
rotateSet rotation speed and direction
linearMove a stroker to a position over a duration
vibrate_patternPlay a timed, interruptible vibration pattern
stop_deviceStop one device
stop_allEmergency stop — halt every device immediately
server_statusReport connection status to Intiface

All intensities are normalized to 0.0–1.0. Every tool returns both structured data and human-readable text.

Safety

The safety layer wraps every driving command and is on by default:

  • Intensity clamp — requests are clamped to MAX_INTENSITY; the effective value is reported back, and out-of-range input is rejected with a clear error rather than silently coerced.
  • Watchdog auto-stop — any continuous drive auto-stops after MAX_CONTINUOUS_MS (default 10 minutes) unless refreshed by a new command. This is an independent timer, not a check-on-next-call.
  • Stop on disconnect/exit — if the AI client disconnects or the process is signalled, all devices stop. The watchdog is the hard backstop for hard kills.
  • Interruptible patterns — patterns are time-scheduled so a single call never blocks the server; any stop preempts them instantly.
  • Rate limiting — per-device command bursts are coalesced to protect BLE.
  • Fail-safe stop — if a stop cannot be confirmed, Tactus retries rather than optimistically reporting success.

Configuration

VariableDefaultMeaning
INTIFACE_URLws://127.0.0.1:12345Intiface WebSocket address
MAX_INTENSITY1.0Clamp ceiling for drive intensity (0.0–1.0)
MAX_CONTINUOUS_MS600000Watchdog auto-stop window
SCAN_DEFAULT_MS5000Default scan duration
--allow-unsafeoffDisables the intensity clamp (discouraged)

Troubleshooting

"Intiface is not reachable at ws://127.0.0.1:12345" Start Intiface Central and click Start Server (the top status should read "Engine running"). Tactus retries automatically with backoff, so once Intiface is up the tools start working without restarting your MCP client.

A device doesn't show up when scanning

  • Make sure it is powered on and awake (press a button to wake it), and not already connected to its own phone app — Bluetooth devices accept one host at a time, so close/disconnect the app first.
  • On macOS, Intiface needs Bluetooth permission: System Settings → Privacy & Security → Bluetooth → enable Intiface Central, then quit and reopen Intiface (the permission only takes effect after a restart).
  • Keep the device in range; out-of-range devices drop and disappear from list_devices.

My computer sees the device over Bluetooth, but Intiface/Tactus doesn't The device's advertised Bluetooth name isn't in Buttplug's supported device list (common for regional/rebranded SKUs). Support must be added upstream in Buttplug — Tactus deliberately adds no per-device code and does not reverse-engineer devices.

A command returns "Unknown device id" The device disconnected (e.g. out of range) and left the known set. Call scan_for_devices / list_devices to reconnect and get its current id.

Known limitations

  • Device coverage = whatever Buttplug supports. Devices not present in Buttplug's device configuration cannot be controlled until added upstream.
  • Silent link degradation is not actively detected. A dropped link that Intiface reports is handled (the device leaves list_devices and drive calls error clearly). But if a Bluetooth link degrades silently without Intiface noticing, commands may appear to succeed while the device is unresponsive — active liveness probing is not yet implemented.
  • Local only. This package controls devices on the same machine via a local Intiface. Internet/remote control is out of scope here.

Adding support for an unrecognized device

Using a device from a supported brand that doesn't show up? It often just advertises a Bluetooth name (or regional SKU) that Buttplug hasn't catalogued yet. Because Tactus wraps Buttplug, the fix belongs upstream in Buttplug, not here — and for a same-brand device it's usually just adding a name, with no reverse-engineering.

  1. Find the device's advertised Bluetooth name (see Troubleshooting above).
  2. In Intiface's user device configuration, add that name to the same brand's existing protocol and test whether it drives correctly.
  3. If it works, contribute the name upstream to buttplugio/buttplug so everyone benefits — and/or open an "Unsupported device" issue here and we'll help.

If a device only works under a protocol it doesn't truly match — or needs a protocol Buttplug doesn't have — that would require reverse-engineering, which is out of scope (see CONTRIBUTING).


Trademarks

"Lovense", "We-Vibe", "Satisfyer", "Kiiroo", "Lelo", "The Handy", "Magic Motion", "Svakom", and other device names are trademarks of their respective owners. Tactus is an independent project and is not affiliated with, endorsed by, sponsored by, or partnered with any device manufacturer. It is described as compatible with these devices only in the factual sense that it builds on the open-source Buttplug protocol library. No manufacturer logos are used.

Content generation — out of scope

This server forwards hardware control commands only. It does not generate, synthesize, recommend, or produce any text, image, audio, or video content. The calling AI agent is the sole content-generating party and is solely responsible for any content it produces and for compliance with content obligations in its jurisdiction.

Acceptable use

Tactus is a neutral, content-agnostic hardware control layer. It does not support, document, or assist with: use on devices you do not own or lack consent to operate; use by or on minors; or any use violating applicable law in your jurisdiction. These statements describe the scope of maintainer support and documentation — they are not additional restrictions on the License, which continues to govern all use, modification, and redistribution. Users are independently responsible for evaluating their use against applicable law.

Tactus only uses device protocols already supported upstream by Buttplug. It does not reverse-engineer unsupported devices and does not break any device encryption or access control. It collects and transmits no personal or usage data.

Disclaimer

This software controls hardware you connect to it. Use it only on devices you own and only with the consent of everyone involved. For adults only (18+, or the age of majority in your jurisdiction).

This software is provided "AS IS", without warranty of any kind (see LICENSE). The statements above are informational; they do not modify the License, add warranties or duties of care, or transfer liability. The License's no-warranty and limitation-of-liability terms continue to apply in full.

License

Apache-2.0.

來源:README.md,提交 bfb9429

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.2最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分