Modern AI interaction tool with advanced UI and powerful features for MCP
AI Interaction Tool - MCP Server
Modern AI interaction tool with advanced UI and powerful features for Model Context Protocol (MCP)
π Core Features
π― Main Capabilities
- Interactive UI Popup for content input and conversation control
- File/Folder Attachment from workspace with validation and preview
- πΌοΈ Image Attachment System with drag & drop, multi-image support
- Multi-language Support (English/Vietnamese)
- Maximum Cognitive Power activation for peak AI performance
- Tag-based Output Format integrated with system prompt rules
- Workspace-aware Path Processing for cross-project compatibility
π§ New in v2.2.0 (Latest)
- πΌοΈ Image Attachment Support with drag & drop functionality
- π‘οΈ Security Enhanced - secure path storage in user_images directory
- πΎ Persistent Image State - checkbox state saves correctly
- π― Multi-image Management - attach, preview, and remove multiple images
- π Database Auto-cleanup - automatic image cleanup when disabled
π§ Previous v2.1.0
- Enhanced UI/UX with modern PyQt5 interface
- Structured Tag-based Output for perfect AI agent integration
- Debounce Configuration with smart auto-save mechanisms
- Cursor IDE Integration with comprehensive setup guide
π Installation & Setup Guide
π₯ Step 1: Clone Repository
git clone https://github.com/your-username/AI-interaction.git
cd AI-interaction
π Step 2: Install Python
- Requirement: Python 3.8+
- Download from python.org
- Or use package manager:
# Windows with Chocolatey choco install python # macOS with Homebrew brew install python # Ubuntu/Debian sudo apt update && sudo apt install python3 python3-pip
π¦ Step 3: Install Dependencies
# Using pip
pip install -r requirements.txt
# Or using uv (recommended for performance)
pip install uv
uv pip install -r requirements.txt
βοΈ Step 4: Configure MCP Server in Claude Desktop
Add the following configuration to Claude Desktop config file:
Config file paths:
- Windows:
%APPDATA%\Claude\claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
Configuration content:
{
"mcpServers": {
"AI_interaction": {
"command": "python",
"args": ["E:/MCP-servers-github/AI-interaction/mcp_server.py"],
"stdio": true,
"enabled": true
}
}
}
β οΈ Important: Replace E:/MCP-servers-github/AI-interaction/mcp_server.py with the absolute path to mcp_server.py on your system.
π§ Step 5: Configure AI Agent Rules (REQUIRED)
For proper AI agent operation with ai_interaction tool, you MUST setup custom instructions:
π **How to Add Custom Instructions:**
- Open Claude Desktop or access Claude web interface
- Find "Custom Instructions" or "Add custom instructions" in settings
- Copy entire content from one of the rule files:
- π»π³ Vietnamese:
rule_for_ai_VI.txt - πΊπΈ English:
rule_for_ai_EN.txt
- π»π³ Vietnamese:
- Paste into custom instructions field and save
π― **Why This is Necessary:**
- β Behavioral Framework: Rules define how AI agent processes ai_interaction output
- β Thinking Protocols: Activates high-level thinking patterns for quality responses
- β Ultra-Enhancement Modes: 10 cognitive modes for maximum performance
- β
Tag Processing: Reads and processes control tags like
<AI_INTERACTION_CONTINUE_CHAT> - β
Continue Logic: Auto-recall ai_interaction when
continue_chat=true
π **Rule Files Location:**
AI-interaction/
βββ rule_for_ai_VI.txt # Vietnamese rules
βββ rule_for_ai_EN.txt # English rules
βββ ...
β‘ **Quick Setup Commands:**
# View Vietnamese rules content
cat rule_for_ai_VI.txt
# View English rules content
cat rule_for_ai_EN.txt
# Copy to clipboard (Windows)
type rule_for_ai_VI.txt | clip
# Copy to clipboard (macOS)
cat rule_for_ai_VI.txt | pbcopy
# Copy to clipboard (Linux)
cat rule_for_ai_VI.txt | xclip -selection clipboard
π Step 6: Configure Cursor IDE (Recommended)
Cursor is the recommended IDE for AI development with this tool:
π **Cursor Setup Steps:**
- Download Cursor: https://cursor.sh/
- Install and open workspace: Open AI-interaction folder
- Configure MCP in Cursor:
- Open Command Palette (
Cmd/Ctrl + Shift + P) - Search "Configure MCP Servers"
- Add AI_interaction server config
- Open Command Palette (
- Setup custom instructions:
- Copy content from
rule_for_ai_VI.txtorrule_for_ai_EN.txt - Paste into "Custom Instructions" field in custom mode Agent: ![image](https://github.com/us
- Copy content from
Configuration
{"mcpServers": {"AI_interaction": {"command": "python", "args": ["/absolute/path/to/mcp_server.py"], "stdio": true, "enabled": true}}}