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.
README
š 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.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
- 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-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?
- 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.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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.