Skip to main content

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

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()

オプション

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.0.tar.gz (67.3 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.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tapback-0.1.0.tar.gz
  • Upload date:
  • Size: 67.3 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.0.tar.gz
Algorithm Hash digest
SHA256 8aed17d44af31c5841f42ba0767debefe2e3799c6807cc4760272338c8c65d55
MD5 a31500c155ef63dacd0c12eb293fb657
BLAKE2b-256 b0b54e6409bad92244dedf39cec75780d4b307eb7f5760b0d5278c820dc9a763

See more details on using hashes here.

Provenance

The following attestation bundles were made for tapback-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: tapback-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ab2d07782e6c50df4a6b544a771d97d980974569dc6b20a3f0c4c72ef87a9ee
MD5 72ec10bb22ee479b6ac8eba3a109aaf4
BLAKE2b-256 e2fc79bbe4051a8aedcb1c97864b95bcdc220939a6be5e2f6c48e2459467d4b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for tapback-0.1.0-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