Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AI Validation MCP Serveroptimize: How do I write better Python code?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
π AI Validation MCP Server - Automatic Prompt Optimization
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.txtStep 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
Close all Cursor windows
Quit Cursor entirely (Cmd+Q / Ctrl+Q)
Restart Cursor
Step 4: Verify It's Working
Go to Settings β Features β MCP Servers
Look for
ai_validation_autowith a green dot β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-serverActivate its virtual environment:
source venv/bin/activateStart the MCP server manually to confirm it runs without error:
python ai_validation_mcp_auto.pyYou should see the startup message similar to:
π Starting AI Validation MCP Server (Automatic Mode)
Press Ctrl+C to stop the server.No optimization indicators?
Verify the green dot is present in MCP settings
Check absolute path in mcp.json is correct
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.pyCheck 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
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.