AI Validation MCP Server

AI Validation MCP Server

Automatically enhances user prompts by applying expert-level prompt engineering techniques tailored to technical, creative, or analytical content types. It provides visual feedback on applied optimizations to ensure higher quality, structured, and more comprehensive AI responses.

Category
访问服务器

README

🚀 AI Validation MCP Server - Automatic Prompt Optimization

Python 3.8+ MCP Compatible License: MIT

A fully automatic prompt optimization Model Context Protocol (MCP) server that enhances every prompt with world-class prompt engineering techniques. No manual intervention required - just install, configure, and every prompt gets automatically optimized!

✨ What It Does

🎯 Fully Automatic: Every prompt you send gets automatically enhanced with expert techniques
🧠 Expert-Level Optimization: Applies world-class prompt engineering without any manual work
🔍 Visual Feedback: Shows exactly what optimizations were applied to each prompt
Smart Detection: Automatically detects technical, creative, or analytical content
🎨 Domain Expertise: Adds appropriate expert context based on your prompt content

🎯 Example: Before vs After

Your Original Prompt:

Use the auto_optimize tool with prompt: "How do I write better Python code?"

What You'll See (Automatically Enhanced):

🚀 **AI VALIDATION: PROMPT AUTOMATICALLY OPTIMIZED** 🚀

🔧 **ORIGINAL PROMPT**: How do I write better Python code?

✨ **AUTO-OPTIMIZED VERSION**: Please provide a comprehensive and detailed response with specific examples and practical guidance.

As a senior technical expert, please include best practices, potential pitfalls, and real-world implementation considerations.

Please explain your reasoning and methodology.

🔍 **OPTIMIZATIONS APPLIED**:
  • 🎯 Enhanced clarity and detail requirements
  • 🛠️ Technical expertise context added  
  • 🧠 Reasoning and methodology requested
  • 🌟 Expert system identity applied

---

[Then you get a comprehensive expert response with examples, best practices, step-by-step guidance, etc.]

🚀 Quick Start

Step 1: Install

# Clone the repository
git clone https://github.com/jadenmaciel/ai-validation-mcp-server.git
cd ai-validation-mcp-server

# Set up virtual environment
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

Step 2: Configure Cursor

Add this to your ~/.cursor/mcp.json file:

{
  "mcpServers": {
    "ai_validation_auto": {
      "command": "python3",
      "args": ["/path/to/ai-validation-mcp-server/run_mcp_auto.py"]
    }
  }
}

Important: Replace /path/to/ai-validation-mcp-server/ with your actual path!

Step 3: Restart Cursor

  1. Close all Cursor windows
  2. Quit Cursor entirely (Cmd+Q / Ctrl+Q)
  3. Restart Cursor

Step 4: Verify It's Working

  1. Go to SettingsFeaturesMCP Servers
  2. Look for ai_validation_auto with a green dot
  3. Try asking any question - you should see the optimization indicators!

🎯 Automatic Optimizations Applied

The server automatically detects your prompt type and applies appropriate enhancements:

🛠️ Technical Prompts (code, programming, technical questions)

  • Adds senior technical expert context
  • Requests best practices and pitfalls
  • Asks for implementation considerations

🎨 Creative Prompts (writing, design, creative tasks)

  • Adds creative professional context
  • Requests innovative approaches and options
  • Asks for creative insights

📊 Analytical Prompts (data, research, analysis)

  • Adds analytical expert context
  • Requests systematic analysis
  • Asks for data-driven insights

🎯 All Prompts Get:

  • Enhanced clarity and detail requirements
  • Structured response formatting (when appropriate)
  • Concrete examples and illustrations
  • Step-by-step explanations for complex topics
  • Expert-level system identity

📁 Project Structure

ai-validation-mcp-server/
├── ai_validation_mcp_auto.py    # 🚀 Main automatic optimization server
├── run_mcp_auto.py              # 🔧 Server runner with venv handling
├── requirements.txt             # 📦 Python dependencies
├── README.md                    # 📖 This documentation
├── LICENSE                      # ⚖️ MIT License
├── .gitignore                   # 🙈 Git ignore rules
└── venv/                        # 🐍 Virtual environment (auto-created)

🔧 Configuration Options

The server works automatically with zero configuration, but you can customize by editing ai_validation_mcp_auto.py:

  • Modify optimization rules in optimize_user_prompt()
  • Adjust expert system prompt in create_expert_system_prompt()
  • Change detection patterns for different prompt types

🔍 Troubleshooting

Green dot not showing?

Step 1: Ensure MCP Server is Set Up Go to your MCP server folder:

cd /home/jaden/ai-validation-server

Activate its virtual environment:

source venv/bin/activate

Start the MCP server manually to confirm it runs without error:

python ai_validation_mcp_auto.py

You should see the startup message similar to:

🚀 Starting AI Validation MCP Server (Automatic Mode)
Press Ctrl+C to stop the server.

No optimization indicators?

  1. Verify the green dot is present in MCP settings
  2. Check absolute path in mcp.json is correct
  3. Ensure Cursor was completely restarted (not just closed)

Permissions issues?

chmod +x /path/to/ai-validation-mcp-server/run_mcp_auto.py
chmod +x /path/to/ai-validation-mcp-server/ai_validation_mcp_auto.py

Check logs:

  • In Cursor: Ctrl+Shift+U → "MCP Logs"
  • Look for "🚀 Starting AI Validation MCP Server (Automatic Mode)"

🎉 What You Get

Zero Manual Work - Every prompt automatically optimized
Expert-Level Responses - World-class prompt engineering applied
Visual Confirmation - See exactly what optimizations were applied
Smart Detection - Appropriate expertise based on content
Better Results - More comprehensive, structured, actionable responses

🤝 Contributing

Contributions welcome! Feel free to:

  • Improve optimization techniques
  • Add new prompt detection patterns
  • Enhance the expert system prompts
  • Submit bug reports or feature requests

📄 License

MIT License - see LICENSE file for details.


Transform every prompt into an expertly optimized query automatically! 🚀

Repository: https://github.com/jadenmaciel/ai-validation-mcp-server

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选