π₯ Step 1: Clone Repository
```bash
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](https://www.python.org/downloads/)
- Or use package manager:
```bash
# 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
```bash
# 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:
```json
{
"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
- 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
- β
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: