Enables GitHub Copilot to request user input through interactive VS Code popups, supporting button selections, text inputs, and confirmation dialogs directly within the editor.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Interactive MCPAsk for my confirmation before deleting these files"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 PopupsInstall the VS Code extension
Configure your AI assistant to use the MCP server
Start chatting with your AI assistant
When input is needed, a popup appears in VS Code
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
Open VS Code, Cursor, Windsurf, or any VS Code-based editor
Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
Search for "Interactive MCP"
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) orCmd+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
The configuration depends on which AI assistant you're using. Here's the general process:
Find your AI assistant's MCP configuration file (varies by assistant)
Add the MCP server configuration:
If this is your first MCP server:
For VS Code, Cursor, and most AI assistants:
{ "mcpServers": { "interactive-mcp": { "url": "http://localhost:8090/mcp" } } }For Windsurf:
{ "mcpServers": { "interactive-mcp": { "serverUrl": "http://localhost:8090/mcp" } } }If you already have other MCP servers:
For Github Copilot, Cursor, and most AI assistants:
{ "mcpServers": { "existing-server": { // your existing server config }, "interactive-mcp": { "url": "http://localhost:8090/mcp" } } }For Windsurf:
{ "mcpServers": { "existing-server": { // your existing server config }, "interactive-mcp": { "serverUrl": "http://localhost:8090/mcp" } } }Save the configuration file
Restart your IDE completely
π MCP Configuration: The extension uses HTTP transport for a simple, update-resistant configuration:
For Github Copilot, Cursor, and most AI assistants:
{
"mcpServers": {
"interactive-mcp": {
"url": "http://localhost:8090/mcp"
}
}
}For Windsurf:
{
"mcpServers": {
"interactive-mcp": {
"serverUrl": "http://localhost:8090/mcp"
}
}
}This configuration won't break when you update the extension! See HTTP-TRANSPORT-README.md for details.
π Step 4: Connect the Extension
Check the status bar at the bottom of your editor
Look for the "Interactive MCP" indicator:
"π« Interactive MCP Tools Off" - Click it to connect
"βοΈβοΈ Interactive MCP Tools Ready" - You're ready to go!
Screenshots

If auto-connection doesn't work:
Press
Ctrl+Shift+P/Cmd+Shift+PType: "Interactive MCP: Connect to MCP Server"
Press Enter
β Step 5: Test It Works
Open your AI assistant
Start a conversation
Ask something like: "Can you ask me to choose between option A and option B?"
You should see a popup appear in your VS Code editor!
π Troubleshooting
Extension not connecting?
Make sure your AI assistant is running
Check that you restarted your AI assistant after adding the config
Verify the MCP configuration was pasted correctly (valid JSON)
Try manually connecting via Command Palette
No welcome notification appeared?
The notification only shows once after installation
Use the Command Palette method: "Interactive MCP: Copy MCP JSON Configuration"
Popup not appearing when AI asks questions?
Check the MCP status indicator shows "Connected"
Make sure you're asking questions that require user input
Try asking: "Please ask me to confirm something"
You can add a Rule instructing the AI to always end their responses with a question and an interactive-mcp tool
If the connection button hangs during Pairing?
Just toggle the MCP tool switch off and back on during pairing. That should make the connection succeed.
For Developers
π Automated Build (Recommended)
We provide cross-platform build scripts that handle everything automatically:
Windows:
git clone https://github.com/interactive-mcp/interactive-mcp.git
cd interactive-mcp
build-extension.batLinux/macOS:
git clone https://github.com/interactive-mcp/interactive-mcp.git
cd interactive-mcp
chmod +x build-extension.sh
./build-extension.shWhat the build scripts do:
π§ Install all dependencies for both MCP server and VS Code extension
π¦ Build the MCP server TypeScript code
π Bundle the MCP server into the VS Code extension
βοΈ Compile the VS Code extension TypeScript code
π¦ Package everything into a production-ready
.vsixfileπ Show you exactly where the installable file is located
After the build completes:
You'll get a
.vsixfile in theinteractive-vscode-extension/directoryInstall it in VS Code via command palette: Extensions: Install from VSIX...
The extension includes the bundled MCP server - no separate installation needed!
π§ Manual Setup (For Advanced Users)
If you prefer to run each step manually:
# 1. Set up the MCP server
cd interactive-mcp-server
npm install
npm run build
# 2. Set up the VS Code extension
cd ../interactive-vscode-extension
npm install
npm run bundle-server # Copies the server into the extension
npm run compile # Compiles the extension
npm run package # Creates the .vsix fileπ Project Structure
interactive-mcp/
βββ interactive-vscode-extension/ # VS Code extension
β βββ src/ # Extension source code
β βββ package.json # Extension manifest
β βββ README.md # Extension details page
βββ interactive-mcp-server/ # MCP server
β βββ src/ # Server source code
β βββ package.json # Server configuration
βββ README.md # This fileπ οΈ Development Workflow
π Live Development
For active development with hot-reloading:
Extension Development:
cd interactive-vscode-extension
npm run watch # Watches TypeScript files for changesThen press F5 in VS Code to launch Extension Development Host with your changes.
Server Development:
cd interactive-mcp-server
npm run dev # Runs with tsx for hot-reloadingπ¦ Build Scripts
build-extension.bat (Windows) / build-extension.sh (Linux/macOS)
Complete automated build process
Handles all dependencies, compilation, bundling, and packaging
Creates production-ready
.vsixfilePerfect for testing your changes or preparing for distribution
π§ͺ Testing Your Changes
Make your code changes
Run the appropriate build script for your OS
Install the generated
.vsixfile in VS CodeTest the extension with your AI assistant
π Development Commands Reference
MCP Server:
npm run dev- Development with live reloadnpm run build- Production buildnpm start- Run the built server
VS Code Extension:
npm run watch- Watch mode for developmentnpm run compile- Compile TypeScriptnpm run bundle-server- Copy server into extensionnpm run package- Create .vsix filenpm run lint- Run ESLint
π€ Contributing
We welcome contributions! Here's how to get started:
Fork the Repository
Click the "Fork" button in the top-right corner
This creates a copy of the repo in your GitHub account
Clone Your Fork
git clone https://github.com/YOUR-USERNAME/interactive-mcp.git cd interactive-mcp(Replace
Set Up Development Environment
# Use our build script for quick setup: # Windows: build-extension.bat # Linux/macOS: ./build-extension.shCreate Feature Branch
git checkout -b feature/your-amazing-featureMake Your Changes
Use
npm run watchfor live developmentFollow existing code patterns and conventions
Test thoroughly with the generated
.vsixfile
Push to Your Fork
git add . git commit -m 'Add amazing feature' git push origin feature/your-amazing-featureCreate Pull Request
Go to your fork on GitHub
Click "Compare & pull request" button
Fill out the PR description with details about your changes
Submit the Pull Request to the original repository
π Contribution Guidelines
Code Style: Follow the existing TypeScript patterns
Testing: Test your changes with real AI interactions
Documentation: Update README if you add new features
Commits: Write clear, descriptive commit messages
π License
This project is released into the public domain - completely free for everyone to use, modify, and distribute without any restrictions. See the LICENSE file for details.
π Support
Issues: Report bugs and request features via GitHub Issues
Made with β€οΈ for seamless AI interactions in VS Code-based editors
Cursor Compatibility
Cursor (a VS Code fork) may have issues with HTTP transport. The extension automatically detects Cursor and switches to stdio mode. To get the correct MCP config:
Run the "Interactive MCP: Copy MCP JSON Configuration" command from the Command Palette (Ctrl+Shift+P).
It will generate a stdio-compatible config with the extension's install path, like:
"interactive-mcp": { "command": "node", "args": ["<OS-specific-path-to-bundled-server>/dist/index.js"] }Paste this into your AI assistant's config file. This should work on Windows, macOS, and Linux (only tested on Windows).
This server cannot be installed
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.