AI Interaction Tool MCP Server

Local setup required. This server has to be cloned and prepared on your machine before you register it in Claude Code.
1

Set the server up locally

Run this once to clone and prepare the server before adding it to Claude Code.

Run in terminal
git clone https://github.com/KhaiHuynhVN/MCP-Server_AI-interaction.git
cd MCP-Server_AI-interaction
pip install -r requirements.txt
2

Register it in Claude Code

After the local setup is done, run this command to point Claude Code at the built server.

Run in terminal
claude mcp add ai-interaction-tool -- python "<FULL_PATH_TO_MCP_SERVER_AI_INTERACTION>/dist/index.js"

Replace <FULL_PATH_TO_MCP_SERVER_AI_INTERACTION>/dist/index.js with the actual folder you prepared in step 1.

README.md

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:**
  1. Open Claude Desktop or access Claude web interface
  2. Find "Custom Instructions" or "Add custom instructions" in settings
  3. Copy entire content from one of the rule files:
    • πŸ‡»πŸ‡³ Vietnamese: rule_for_ai_VI.txt
    • πŸ‡ΊπŸ‡Έ English: rule_for_ai_EN.txt
  4. 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:**
  1. Download Cursor: https://cursor.sh/
  2. Install and open workspace: Open AI-interaction folder
  3. Configure MCP in Cursor:
    • Open Command Palette (Cmd/Ctrl + Shift + P)
    • Search "Configure MCP Servers"
    • Add AI_interaction server config
  4. Setup custom instructions:
    • Copy content from rule_for_ai_VI.txt or rule_for_ai_EN.txt
    • Paste into "Custom Instructions" field in custom mode Agent: ![image](https://github.com/us

Configuration

claude_desktop_config.json
{"mcpServers": {"AI_interaction": {"command": "python", "args": ["/absolute/path/to/mcp_server.py"], "stdio": true, "enabled": true}}}

Try it

β†’Open the interactive UI to attach multiple images for analysis.
β†’Activate maximum cognitive power mode for this complex coding task.
β†’Continue the chat session using the AI_INTERACTION_CONTINUE_CHAT tag.
β†’Attach the project folder to the current context using the file attachment system.

Frequently Asked Questions

What are the key features of AI Interaction Tool?

Interactive PyQt5 UI popup for content input and conversation control. Multi-image attachment system with drag and drop support. Workspace-aware file and folder attachment with validation. Structured tag-based output format for AI agent integration. Ten cognitive modes for enhanced AI performance.

What can I use AI Interaction Tool for?

Managing complex multi-image datasets for AI vision tasks. Integrating structured control tags into AI agent workflows. Enhancing AI reasoning capabilities through custom cognitive modes. Streamlining file and folder context sharing within Cursor IDE.

How do I install AI Interaction Tool?

Install AI Interaction Tool by running: git clone https://github.com/KhaiHuynhVN/MCP-Server_AI-interaction.git && cd MCP-Server_AI-interaction && pip install -r requirements.txt

What MCP clients work with AI Interaction Tool?

AI Interaction Tool works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep AI Interaction Tool docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare