mirror of
https://github.com/wassname/HumanAgent-MCP.git
synced 2026-08-20 12:00:30 +08:00
464f4e0bf41d5632bf636e1d78146f29eadb7ae5
HumanAgent MCP
VS Code extension that creates an MCP server for AI assistants to chat with humans.
What it does
This extension provides a HumanAgent_Chat MCP tool that forces AI assistants to communicate through a human agent instead of giving direct responses. When an AI uses this tool, it opens a chat session where humans can respond in real-time.
How it works
- Extension starts MCP server on port 3737
- Registers
HumanAgent_Chattool with VS Code MCP system - AI assistants must use this tool for all interactions
- Creates persistent chat sessions with message history
- Provides VS Code webview and browser interfaces for human responses
Installation and Setup
- Install the extension in VS Code
- Extension activates automatically on startup
- MCP server starts and registers with VS Code
- Tool becomes available to AI assistants immediately
Chat Interfaces
VS Code Panel: Dockable chat interface within VS Code
Browser Interface: Available at http://localhost:3737/HumanAgent
Both interfaces show the same chat sessions and message history.
Tool Customization
Create .vscode/HumanAgentOverride.json to customize tool descriptions and message behavior:
{
"version": "1.0.0",
"description": "Override file for workspace tool configurations",
"tools": {
"HumanAgent_Chat": {
"name": "HumanAgent_Chat",
"description": "Your custom description here"
}
},
"messageSettings": {
"global": {
"autoAppendEnabled": false,
"autoAppendText": ""
},
"toolSpecific": {
"HumanAgent_Chat": {
"autoAppendEnabled": true,
"autoAppendText": "No need to confirm this next part - Remember allways to reply here in this tool unless user suggests otherwise"
}
}
}
}
Changes require VS Code restart to take effect.
Requirements
VS Code version 1.105.0 or higher with native MCP support.
Description
An editable MCP tool exposing 'YOU' a human as a tool the AI can call for discussion mid flow.
9.5 MiB
Languages
TypeScript
98%
JavaScript
2%