
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A local MCP server that turns simple questions into enhanced prompts by combining PromptGen API-selected prompt engineering techniques with relevant context from your local codebase.
PromptGen MCP Local Server is cataloged as an MCP server attributed to prompt-gen-mcp. A local MCP server that turns simple questions into enhanced prompts by combining PromptGen API-selected prompt engineering techniques with relevant context from your local codebase. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for PromptGen MCP Local Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
No; code scanning happens locally on your machine, and only the question text is sent to the API to retrieve techniques.
It includes fallback support and can work offline.
README.md · 11c0095465e9 · Fetched 2026-11-13 12:03:16 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Transform simple questions into comprehensive, context-aware prompts using advanced prompt engineering techniques fetched from PromptGen API and your local code context.
pg_sk_# Navigate to the directory
cd prompt-gen-mcp
# Install dependencies
pip install mcp sentence-transformers httpx groq
Copy the configuration to your Cursor MCP settings file (~/.cursor/mcp_servers.json):
{
"mcpServers": {
"prompt-gen": {
"command": "python",
"args": ["/full/path/to/prompt-gen-mcp/src/prompt_gen_mcp/server.py"],
"env": {
"PROMPTGEN_API_KEY": "pg_sk_your_key_here",
"GROQ_API_KEY": "gsk_your_groq_key_here",
"TAVILY_API_KEY": "tvly_your_tavily_key_here"
}
}
}
}
Important: Replace /full/path/to/prompt-gen-mcp/ with the actual full path to this directory.
Completely restart Cursor (not just reload) for the MCP server to be recognized.
Cmd+Shift+P (Mac) or Ctrl+Shift+P (Windows/Linux)| Before | After |
|---|---|
"How do I optimize this React component?" | Comprehensive Enhanced Prompt |
Enhanced Output:
# 🚀 Enhanced Prompt for: How do I optimize this React component?
## 🔍 Question Analysis
- **Types**: optimization, implementation
- **Complexity**: medium
- **Domain**: frontend
- **Intent**: optimize performance
## 🎯 Selected Prompt Engineering Techniques
### 1. 📋 Plan and Solve (Score: 0.847)
**Description**: Break down complex problems into structured planning and systematic solving phases
**Application**: Plan: Identify optimization targets. Solve: Apply specific React patterns.
### 2. 📚 Few-Shot Learning (Score: 0.823)
**Description**: Provide examples to guide the response
**Application**: Here are optimization examples: useMemo, React.memo, useCallback...
## 📁 Relevant Code Context
### File 1: `src/components/UserProfile.tsx` (Relevance: 0.892)
```typescript
const UserProfile = ({ userId }) => {
const [user, setUser] = useState(null);
useEffect(() => {
fetchUser(userId).then(setUser);
}, [userId]);
return <div>{user?.name}</div>;
};
[Structured instructions for comprehensive response with context-aware suggestions...]
| Feature | Basic Prompt | Enhanced Prompt |
|---|---|---|
| Context Awareness | ❌ None | ✅ Full codebase context |
| Technique Selection | ❌ Manual | ✅ AI-powered optimal selection |
| Privacy | ⚠️ Varies | ✅ Code stays local |
| Structured Output | ❌ Basic | ✅ Comprehensive analysis |
| Code Examples | ❌ Generic | ✅ From your actual project |
| Relevance Scoring | ❌ None | ✅ Semantic similarity matching |
flowchart TD
A[User Question] --> B[Local MCP Server]
B --> C[Code Context Scanner]
B --> D[PromptGen API]
C --> E[Local Code Analysis]
D --> F[Technique Selection]
E --> G[Enhanced Prompt]
F --> G
G --> H[User Receives Enhanced Prompt]
style A fill:#e1f5fe
style B fill:#f3e5f5
style C fill:#e8f5e8
style D fill:#fff3e0
style G fill:#fce4ec
style H fill:#e0f2f1
sequenceDiagram
participant U as User
participant M as MCP Server
participant C as Code Scanner
participant P as PromptGen API
participant Q as Qdrant DB
U->>M: Ask question
M->>C: Scan local workspace
M->>P: Request techniques for question
P->>Q: Query vectorized techniques
Q-->>P: Return relevant techniques
C-->>M: Local code context
P-->>M: Optimal techniques
M->>M: Combine context + techniques
M->>U: Enhanced prompt with context
Note over C,M: Code never leaves your machine
Note over P,Q: Only question text sent to API
Privacy-First Flow:
MCP Server Not Working:
# Test the server directly
python src/prompt_gen_mcp/server.py
# Check dependencies
pip install mcp sentence-transformers httpx groq
API Key Issues:
PROMPTGEN_API_KEY starts with pg_sk_Cursor Not Finding MCP:
~/.cursor/mcp_servers.json syntaxNo Code Context:
Proper MCP Design:
API Integration:
MIT License - see LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for PromptGen MCP Local Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/prompt-gen-mcp)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.