mcp-feedback-enhanced
v0.1.66
Published
MCP Feedback Enhanced Server - Interactive feedback collection for AI assistants
Maintainers
Readme
MCP Feedback Enhanced Server
Version: 0.1.66
MCP Server component that connects to the VSCode Extension's WebSocket server to collect user feedback.
Architecture
┌─────────────────┐ ┌─────────────────┐
│ Cursor/AI │ stdio │ MCP Server │
│ (AI Client) │ ←────→ │ (This) │
└─────────────────┘ └────────┬────────┘
│ WebSocket
▼
┌─────────────────┐
│ VSCode Extension│
│ (WS Server) │
└────────┬────────┘
│
▼
┌─────────────────┐
│ Feedback Panel │
│ (Webview) │
└─────────────────┘How It Works
- Extension starts → Creates WebSocket server → Writes
~/.config/mcp-feedback-enhanced/servers/<pid>.json - MCP Server starts → Waits for
interactive_feedbackcall - AI calls tool → MCP Server reads server files → Finds matching Extension by workspace path → Connects
- User submits → Feedback flows back to AI
Server Discovery
MCP Server finds the correct Extension using priority-based matching:
| Priority | Strategy | Description |
|----------|----------|-------------|
| 1 | CURSOR_TRACE_ID | Same Cursor window (environment variable) |
| 2 | Exact workspace | project_directory in server's workspaces array |
| 3 | Prefix match | Project is inside a workspace directory |
| 4 | parentPid | Same parent process (backward compatibility) |
| 5 | Single server | Only one server running |
| 6 | Most recent | Last registered server by timestamp |
Tools
interactive_feedback
Collect feedback from user through the VSCode sidebar panel.
{
project_directory: string; // Project path for context & server matching
summary: string; // AI summary for user review
timeout?: number; // Timeout in seconds (default: 600)
}get_system_info
Returns system environment information.
Configuration
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"mcp-feedback-enhanced": {
"command": "node",
"args": ["/path/to/mcp-server/dist/index.js"],
"env": {
"MCP_FEEDBACK_DEBUG": "true"
},
"timeout": 89400,
"autoApprove": ["interactive_feedback"]
}
}
}Environment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| MCP_FEEDBACK_DEBUG | false | Enable debug logging to stderr |
Debug Mode
Set MCP_FEEDBACK_DEBUG=true to see:
- Server discovery process
- WebSocket connection status
- Message flow between components
Troubleshooting
"No MCP Feedback Extension found for project"
- Ensure VSCode extension is installed and activated
- Open the MCP Feedback panel (click sidebar icon)
- Check
~/.config/mcp-feedback-enhanced/servers/for server files - Verify your project path is in the
workspacesarray
Connection timeout
- Check if Extension's WebSocket server is running (port in server file)
- Verify no firewall blocking localhost connections
- Try reloading the Cursor window
License
MIT
