RL

raz-labs/interactive-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

4 stars 3 forks 质量 61 趋势 12Unlicense

Transform your AI conversations with seamless interactive prompts directly in VS Code. Never lose your flow when AI assistants need user input!

概览

Transform your AI conversations with seamless interactive prompts directly in VS Code. Never lose your flow when AI assistants need user input! When working with AI assistants, sometimes they need to ask you questions or get your input. Instead of interrupting your conversation, this system shows beautiful popups right in VS Code where you can respond seamlessly. This repository contains two main components: A VS Code extension that displays interactive popups and connects to the MCP server. - VS Code - Cursor - Windsurf - Other VS Code-based editors A Model Context Protocol server that enables AI assistants to request user input through the extension. 1. Install the VS Code extension 2. Configure your AI assistant to use the MCP server 3. Start chatting with your AI assistant 4. When input is needed, a popup appears in VS Code 5.

README

以下为原文 README 节选,完整内容请查看原文。

Interactive MCP

Transform your AI conversations with seamless interactive prompts directly in VS Code. Never lose your flow when AI assistants need user input!

🚀 What This Project Does

When working with AI assistants, sometimes they need to ask you questions or get your input. Instead of interrupting your conversation, this system shows beautiful popups right in VS Code where you can respond seamlessly.

📦 Components

This repository contains two main components:

🎯 VS Code Extension (interactive-vscode-extension/)

A VS Code extension that displays interactive popups and connects to the MCP server.

Compatible with:

  • VS Code
  • Cursor
  • Windsurf
  • Other VS Code-based editors

🔧 MCP Server (interactive-mcp-server/)

A Model Context Protocol server that enables AI assistants to request user input through the extension.

🎬 How It Works

AI Assistant → MCP Server → VS Code Extension → Interactive Popups
  1. Install the VS Code extension
  2. Configure your AI assistant to use the MCP server
  3. Start chatting with your AI assistant
  4. When input is needed, a popup appears in VS Code
  5. Your response goes directly back to the AI conversation

✨ Features

  • 🎨 Beautiful Interface: Modern popups that match your editor theme
  • 🔔 Smart Notifications: Gentle audio chimes and visual cues
  • ⚡ Zero Setup: Works immediately after installation
  • 🔒 Privacy First: Everything runs locally on your machine
  • 🎯 Multiple Input Types:
    • Button selection (multiple choice)
    • Text input with custom responses
    • Yes/No confirmation dialogs

What’s New in Version 0.3.3

  • Fixed image display in VS Code Extensions Marketplace
  • Improved README presentation with better visual examples
  • Connection in multiple IDEs is now possible, enabling multi-instance and multi-workspace support

🚀 Quick Start

For Users

📦 Step 1: Install the Extension

  1. Open VS Code, Cursor, Windsurf, or any VS Code-based editor
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for “Interactive MCP”
  4. Click Install

⚙️ Step 2: Get MCP Configuration

After installation, you need to get the configuration to add to your AI assistant’s MCP setup:

Option A: Welcome Notification (Recommended)

  • Look for a notification that says “Interactive MCP installed successfully!”
  • Click “Copy MCP JSON” button in the notification
  • ⚠️ Note: This notification only appears once after installation

Option B: Command Palette (Always Available)

  • Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS)
  • Type: “Interactive MCP: Copy MCP JSON Configuration”
  • Press Enter - the configuration is now copied to your clipboard

🔧 Step 3: Configure Your AI Assistant

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "interactive-mcp": { "url": "http://localhost:8090/mcp" } } }