KM

khaihuynhvn/mcp-server_ai-interaction

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

28 stars 10 forks 质量 64 趋势 11

- 内容输入和对话控制 - 从工作区进行验证和预览 - 支持拖拽、多图像支持 - (英语/越南语)- 激活以实现 AI -...

概览

- 内容输入和对话控制 - 从工作区进行验证和预览 - 支持拖拽、多张图片 - (英语/越南语)- 激活以实现 AI 的峰值性能 - 与系统提示规则集成 - 实现跨项目兼容性 - 支持拖拽功能 - - user_images目录中安全路径存储 - - 正确保存复选框状态 - - 附加、预览和移除多张图片 - - 禁用时自动图像清理 - 配备现代PyQt5接口——实现AI代理的完美集成——配备智能自动保存机制——并附有全面的设置指南 - : Python 3.8+ - 从 python.org 下载 - 或使用包管理器: 将以下配置添加到 Claude Desktop 配置文件中: - : %APPDATA%\Claude\claude_desktop_config.json - : ~/Library/Application Support/Claude/claude_desktop_config.json - : ~/.config/claude/claude_desktop_config.json : 替换 E:/MCP-servers-github/AI-interaction/mcp_server。

概述(AI 翻译)

现代AI交互工具,具备先进界面和强大功能的模型上下文协议(MCP)

🚀 核心功能

🎯 主要功能

  • 交互式界面弹窗用于内容输入和对话控制
  • 文件/文件夹附件 从工作区带验证和预览
  • ** 🖼️ 图像附件系统**,支持拖放,多图像支持。
  • 多语言支持(英语/越南语)
  • 最大认知能力激活以实现AI峰值表现
  • 基于标签的输出格式与系统提示词规则集成
  • 工作区感知路径处理以实现跨项目兼容性

🔧 v2.2.0 新内容(最新)

  • ** 🖼️ 图像附件支持**,支持拖放功能
  • ** 🛡️ 安全性增强** - user_images目录中的安全路径存储
  • ** 💾 持久图像状态** - 复选框状态正确保存
  • ** 🎯 多图像管理** - 附加、预览和删除多张图片
  • ** 🔄 数据库自动清理** - 禁用时自动图像清理

🔧 之前的版本 2.1.0

  • 增强的用户界面/用户体验,采用现代PyQt5接口
  • **结构化标签输出,实现完美的AI代理集成

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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:

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "AI_interaction": { "command": "python", "args": ["E:/MCP-servers-github/AI-interaction/mcp_server.py"], "stdio": true, "enabled": true } } }