npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

askme-cli

v1.0.0

Published

askme-cli MCP server that collects user's next plan or confirmation through terminal window

Readme

ASKME-CLI

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

简体中文 | 日本語

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

How to use

Once configured, the AI assistant can use the ask_me tool to collect user confirmation:

  1. AI assistant calls ask_me tool with summary of completed work
  2. ASKME-CLI opens a new terminal window with confirmation interface
  3. User enters next plan or confirmation and submits
  4. AI assistant receives user input to continue

Terminal Support

Configure via ASKME_CLI_TERMINAL environment variable:

| Terminal | Value | Description | |----------|-------|-------------| | Warp | warp | Default, modern terminal app | | iTerm2 | iterm2 | Popular macOS terminal | | Terminal | terminal | macOS system terminal | | Kitty | kitty | Cross-platform terminal | | Alacritty | alacritty | GPU-accelerated terminal | | Hyper | hyper | Web-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

Usage Examples

AI Assistant Integration

To use ASKME-CLI effectively in your AI assistant, add these rules to your system prompt:

- Must call the askme-cli.ask_me tool before ending any user prompt every time.
- All prompts starting with /tk, don't modify code or files, and call the askme-cli.ask_me tool before ending.
- When you have questions, always call the askme-cli.ask_me tool before ending.
- If you have ideas for new features or changes, explain them clearly, analyze their feasibility, and ask if I want to proceed.

Example Tool Call

{
  "tool": "ask_me",
  "parameters": {
    "what_we_did": "I've completed setting up the database schema and created the user authentication endpoints. The API is now ready for testing."
  }
}

Tech Stack

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

License

MIT