Labsco
thlandgraf logo

AskMeMCP

โ˜… 2

from thlandgraf

Enables AI assistants to request human input through a web interface, facilitating human-in-the-loop interactions.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

AskMeMCP - Human-in-the-Loop MCP Server

AskMeMCP is a Model Context Protocol (MCP) server that enables AI assistants to request human input through a web interface. It implements multiple interactive tools (ask-one-question, ask-multiple-choice, challenge-hypothesis, choose-next), allowing MCP clients like Claude Code to pause execution and wait for human responses.

Features

  • stdio Transport: Direct integration with Claude Code and other MCP clients
  • Self-Contained Server: Serves Angular UI statically - no separate UI server needed
  • Dynamic Port Allocation: Automatically finds available port if default is in use
  • Automatic Browser Opening: Opens UI automatically when requests arrive
  • Real-time Updates: Server-Sent Events for live communication
  • Multiple Tool Types: Single questions, multiple choice, hypothesis challenges, and decision workflows

Architecture

  • askme-server: stdio MCP server with embedded HTTP bridge for browser communication
  • askme-ui: Angular 20+ frontend with reactive UI using signals
  • askme-shared: Shared TypeScript types for frontend-backend communication

Development

# Run the UI in development mode
npx nx serve askme-ui

# Run the server in development mode
npx nx serve askme-server

# Run tests
npx nx test askme-ui
npx nx test askme-server

# Lint code
npx nx lint askme-ui
npx nx lint askme-server