mcp-prompt-optimizer
MCP server for professional prompt engineering and agentic scaffolding, with cloud and local optimization.
README
Prompt Optimizer: The Universal AI Architect & Scaffolding Platform
š Enterprise-grade, MCP-native platform designed to transform AI development workflows through professional prompt engineering, agentic scaffolding, and cloud-powered optimization.
š The Three-Tier Ecosystem
Prompt Optimizer is more than just a server; it's a complete ecosystem for high-performance AI interaction.
1. āļø Cloud Pro (v3.1.1)
The flagship MCP server. Routes complex prompts through a sophisticated LLM rewriting pipeline with Bayesian tuning and AG-UI real-time streaming. Includes team collaboration and shared quotas.
2. š Local Core (v4.0.2)
A privacy-first, 100% offline version. Uses a library of 120+ domain-specific rules and platform-specific binaries for zero-latency, secure optimization on your own machine.
3. š„ļø Web Dashboard
The command center at promptoptimizer.xyz. Manage API keys, configure Personal Model Choice (via OpenRouter), track analytics, and run A/B evaluations.
š Quick Start
Step 1: Install the MCP Package
# Install the cloud-connected version (recommended)
npm install -g mcp-prompt-optimizer
Step 2: Get Your API Key
- Visit promptoptimizer.xyz/pricing
- Choose your tier (Free trial includes 5 optimizations).
- API keys follow the format:
sk-opt-*,sk-team-*, orsk-local-*.
Step 3: Configure Your MCP Client
Add to ~/.claude/claude_desktop_config.json (Claude Desktop):
{
"mcpServers": {
"prompt-optimizer": {
"command": "npx",
"args": ["mcp-prompt-optimizer"],
"env": {
"OPTIMIZER_API_KEY": "sk-opt-your-key-here"
}
}
}
}
š§ Intelligent Optimization Pipeline
Prompts are routed through a tiered system to ensure the highest quality based on your subscription and connectivity.
- Tier 1 ā LLM Optimization (70ā95% Confidence): Genuine rewriting and enrichment using advanced models (Gemini Flash/Claude 3.5).
- Tier 2 ā Backend Rules ( < 25% Confidence): Rapid rules-based pass for simple prompts or when personal models aren't configured.
- Tier 3 ā Local Fallback (35ā55% Confidence): Structured optimization applied locally if the backend is unreachable.
š¤ Context Engineer (CE) Suite
Available in Creator and Innovator tiers.
Transform vague goals into production-ready agentic scaffolding directly in your IDE.
generate_agent_sop: Generate structured Standard Operating Procedures for AI agents.generate_skill_package: Create a complete skill package (SOP + SKILL.md + reference + examples).transform_for_framework: Convert SOPs into native code for LangChain, AutoGen, or Claude Code.
š ļø Available MCP Tools
| Tool | Description |
|---|---|
optimize_prompt |
Transform prompts with professional techniques & Bayesian tuning. |
detect_ai_context |
Automatically detect intent (Code, Image, Research, etc.). |
search_templates |
Browse your history and reusable optimization patterns. |
get_quota_status |
Monitor your real-time usage and subscription limits. |
get_ce_quota_status |
Check Context Engineer credits and workflow availability. |
šØ AI Context Detection
Automatically applies specialized goals for:
- š» Code Generation: Technical accuracy, parameter preservation, precision.
- šØ Image Generation: Midjourney/DALL-E syntax, style boosters, camera settings.
- š Structured Output: JSON/Schema integrity, YAML, CSV transformations.
- š¬ Human Communication: Tone adjustment, clarity, formal/informal shifts.
- š Research & Analysis: Context specificity, token efficiency, actionability.
šļø Personal Model Choice
Don't be locked into one model. Configure your own OpenRouter keys in the WebUI to use:
- Claude 3.5 Sonnet for complex technical tasks.
- GPT-4o for rapid creative iterations.
- Gemini 1.5 Pro for deep research.
š° Subscription Plans
| Plan | Price | Optimizations/mo | CE Credits | Features |
|---|---|---|---|---|
| Explorer | $2.99/mo | 5,000 | 5 | Personal use, Analytics |
| Creator | $29/mo | 18,000 | 30 | Team features, Advanced goals |
| Innovator | $99/mo | 75,000 | Unlimited | Enterprise analytics, Full CE Suite |
š Security & Privacy
- Encrypted Transmission: All data is sent over TLS.
- Zero-Retention: Prompts are processed and discarded; we never train on your data.
- Local Option: Use
mcp-prompt-optimizer-localfor 100% on-device processing.
š Support & Resources
- Documentation: promptoptimizer.xyz/docs
- Dashboard: promptoptimizer.xyz/dashboard
- Email: support@promptoptimizer.xyz
Transforming AI interactions through professional prompt engineering.
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.