Skip to main content

Tapback - Mobile approval tool for LLM workflows

Project description

Tapback

スマホからYes/Noやテキストを返せるHuman-in-the-Loopツール。

Claude CodeなどのLLMツールと連携し、スマホから承認・入力ができます。

インストール

uvx tapback-server  # サーバー起動

Claude Code連携

プロジェクトの .mcp.json に以下を追加:

{
  "mcpServers": {
    "tapback": {
      "command": "uvx",
      "args": ["tapback"]
    }
  }
}

使い方

1. サーバー起動

uvx tapback-server

表示されるPINをメモし、Network URLにスマホでアクセス。

2. Claude Codeで使用

Claude Codeが ask_yesno / ask_text ツールを呼び出すと、スマホに質問が表示されます。

CLIとして使用

uvx tapback "削除しますか?" --type yesno
uvx tapback "修正内容を入力" --type text

Pythonから使用

from tapback import ask

if ask("実行しますか?", type="yesno") == "yes":
    execute()

ネットワーク要件

スマホとMacが同じWi-Fiネットワークに接続されている必要があります。

外出先など別ネットワークから使う場合は、ngrokでトンネリングしてください:

ngrok http 8080

表示されるURL(例: https://xxxx.ngrok.io)をスマホで開きます。

オプション

uvx tapback-server --port 9000      # ポート変更
uvx tapback-server --no-auth        # PIN認証を無効化

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tapback-0.1.3.tar.gz (67.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tapback-0.1.3-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file tapback-0.1.3.tar.gz.

File metadata

  • Download URL: tapback-0.1.3.tar.gz
  • Upload date:
  • Size: 67.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tapback-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0062a3efc3f79d6786ad67f4d326ab05a7acdeed629593d76a52092552a5fdff
MD5 dcb62459642b4cdf7bc963f42173e31a
BLAKE2b-256 ad231264ca3a1598000e94e158b3e563f86bc49ecaa0ebac8dbedff2b0e32bd4

See more details on using hashes here.

Provenance

The following attestation bundles were made for tapback-0.1.3.tar.gz:

Publisher: publish.yml on mk1018/tapback

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tapback-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: tapback-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tapback-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3c5730f1fed1e5beb01ded9a8be8441584530c7638cc4bb41bbfdef0989d99f5
MD5 39e4583fc4e8f39499a8ddb6236ce133
BLAKE2b-256 3aa890702a6995d5267e34417360c1a03a0167b97bf7a7ab3105d933818ff657

See more details on using hashes here.

Provenance

The following attestation bundles were made for tapback-0.1.3-py3-none-any.whl:

Publisher: publish.yml on mk1018/tapback

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page