Labsco
rhyspenn logo

ASKME-CLI

โ˜… 4

from rhyspenn

A command-line interface to prompt users for their next plan or confirmation.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeNeeds API keys

[!NOTE] We'd love your help! If you try askme-cli on Windows or have compatibility fixes, PRs are very welcome๐Ÿ‘.

npm downloads

ASKME-CLI

๐Ÿค– ๐Ÿ’ฌ โšก ๐Ÿš€ โœจ

An MCP (Model Context Protocol) server that provides user confirmation interface for AI assistants

็ฎ€ไฝ“ไธญๆ–‡ | ๆ—ฅๆœฌ่ชž

Usage

Why

AI assistants often need user confirmation or next steps, but there's no simple way to get user input during MCP conversations.

This project provides a personal confirmation endpoint via terminal interface.

How to start

You will need to configure your MCP client to use ASKME-CLI.

Deploy the configuration using the instructions below.

Quick Setup with npx

# View help and configuration examples
npx askme-cli help

# Run directly (when called by MCP client)
npx askme-cli

Configure MCP Client

Add to your MCP client configuration file:

Cursor (.cursor/mcp_servers.json)

{
  "mcpServers": {
    "askme-cli": {
      "command": "npx",
      "args": ["askme-cli"],
      "env": {
        "ASKME_CLI_TERMINAL": "warp"
      }
    }
  }
}

Other MCP Clients

{
  "mcpServers": {
    "askme-cli": {
      "command": "npx",
      "args": ["askme-cli"],
      "env": {
        "ASKME_CLI_TERMINAL": "iterm2"
      }
    }
  }
}

Local Development

# Clone and install
git clone <your-repo-url>
cd askme-cli
npm install

# Build and run
npm run build
npm run start

Terminal Support

Configure via ASKME_CLI_TERMINAL environment variable:

TerminalValueDescription
WarpwarpDefault, modern terminal app
iTerm2iterm2Popular macOS terminal
TerminalterminalmacOS system terminal
KittykittyCross-platform terminal
AlacrittyalacrittyGPU-accelerated terminal
HyperhyperWeb-based terminal

API Reference

ask_me Tool

Collects user's next plan or confirmation.

Parameters:

  • what_we_did (string): Summary of work completed by AI

Returns:

  • User's input for next plan or confirmation
  • Supports text and image input

Tech Stack

  • TypeScript - Type-safe development
  • React + Ink - Terminal UI framework
  • MCP SDK - Model Context Protocol support
  • Node.js - Runtime environment