PromptVault MCP Server
PromptVault
Open-Source-Prompt-Versionierung, -Evaluierung und -Verwaltung als MCP-Server.
Was ist PromptVault?
PromptVault ist ein selbst gehostetes Tool für KI-Ingenieure und Prompt-Ingenieure:
Prompts versionieren wie Code mit unveränderlichen Versionen und Rollback-Unterstützung
Prompts evaluieren gegen Datensätze mithilfe von LLM-Anbietern (OpenAI, Anthropic, Ollama)
Auf alles zugreifen über einen MCP-Server, die CLI oder eine REST-API
Related MCP server: PromptingBox MCP Server
Schnellstart
Installation (kein Klonen erforderlich)
pip install pvltOder mit uv/pipx:
uvx --from git+https://github.com/KrishBnsl/promptVault.git promptctl --helpOder mit Docker:
docker run -p 8000:8000 -e GEMINI_API_KEY=your-key ghcr.io/krishbnsl/pvltAus dem Quellcode
git clone https://github.com/KrishBnsl/promptVault.git
cd promptVault
uv sync
cp .env.example .env
# Edit .env with your API keysErstellen Sie Ihren ersten Prompt
promptctl prompt create summarize \
--content "Summarize the following article in {tone} style:\n\n{article}" \
--description "Summarizes an article" \
--variables '{"tone": "concise", "article": "string"}' \
--model-config '{"provider": "openai", "model": "gpt-4o-mini", "temperature": 0.2}' \
--tags "summarization,content"Erstellen Sie einen Datensatz
echo '{"input": {"article": "AI is transforming..."}, "expected_output": "AI transforms..."}' > dataset.jsonl
promptctl dataset create article-summaries --file dataset.jsonlEvaluierung ausführen
promptctl eval run summarize --dataset article-summariesVerwendung mit MCP (Claude Desktop)
Fügen Sie Ihrer Claude Desktop-Konfiguration Folgendes hinzu:
{
"mcpServers": {
"pvlt": {
"command": "promptctl",
"args": ["serve"]
}
}
}CLI-Referenz
promptctl prompt create <name> --content <text> [options]
promptctl prompt list [--tags TAGS] [--limit N]
promptctl prompt show <name> [--version N]
promptctl prompt versions <name>
promptctl prompt diff <name> <version-a> <version-b>
promptctl prompt rollback <name> --version N
promptctl dataset create <name> --file <jsonl-or-json>
promptctl dataset list
promptctl eval run <prompt-name> --dataset <dataset-name>
promptctl eval report <evaluation-id>
promptctl serve [--stdio|--http] [--port 8000]
promptctl web [--port 8080]MCP-Tools
Tool | Beschreibung |
| Erstellt einen neuen Prompt mit einer Anfangsversion |
| Ruft eine Prompt-Version ab |
| Listet alle Prompts auf |
| Listet alle Versionen eines Prompts auf |
| Vergleicht zwei Prompt-Versionen |
| Führt ein Rollback auf eine frühere Version durch |
| Erstellt einen Datensatz |
| Listet Datensätze auf |
| Ruft einen Datensatz mit Elementen ab |
| Führt eine Evaluierung aus |
| Prüft den Evaluierungsstatus |
| Ruft den Evaluierungsbericht ab |
| Vergleicht zwei Evaluierungen |
REST-API
Basis-URL: http://localhost:8000/api
# Create a prompt
curl -X POST http://localhost:8000/api/prompts \
-H "Content-Type: application/json" \
-d '{"name": "test", "content": "Hello {name}"}'
# List prompts
curl http://localhost:8000/api/prompts
# Get a prompt
curl http://localhost:8000/api/prompts/testKonfiguration
Kopieren Sie .env.example in .env und konfigurieren Sie:
PROMPTVAULT_DB_PATH=./promptvault.db
PROMPTVAULT_DEFAULT_PROVIDER=openai
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GEMINI_API_KEY=...
OLLAMA_BASE_URL=http://localhost:11434Architektur
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ MCP Client │ │ CLI │ │ REST Client │
│ (Claude etc) │ │ (promptctl) │ │ (curl, apps) │
└──────┬──────┘ └──────┬──────┘ └──────┬──────┘
│ │ │
▼ ▼ ▼
┌─────────────────────────────────────────────────┐
│ PromptVault Core │
│ ┌─────────────┐ ┌──────────────┐ ┌──────────┐ │
│ │ Versioning │ │ Evaluation │ │ Storage │ │
│ │ Engine │ │ Engine │ │ Layer │ │
│ └─────────────┘ └──────────────┘ └──────────┘ │
│ ┌──────────────────────────────────────────┐ │
│ │ SQLite Database (local) │ │
│ └──────────────────────────────────────────┘ │
└─────────────────────────────────────────────────┘Dokumentation
📖 Vollständige Dokumentation: https://krishbnsl.github.io/promptVault/
Lizenz
MIT-Lizenz - siehe LICENSE für Details.
This server cannot be deployed
Maintenance
Related MCP Connectors
- PromptOTOAuthcom.promptot
Manage, version, and publish LLM prompts with blocks, variables, and evaluations.
Generate contextual prompts and reusable agent skills, evaluate prompts with the 16-dimension Prompt Score, and manage saved work in PromptDrive. Twelve MCP tools also provide authorized access to private Memory for source-grounded answers. Connect over Streamable HTTP using OAuth 2.1 and PKCE. Generation consumes account quota and automatically saves successful results; Memory access follows account permissions and plan limits.
Self-hosted AI prompt library: prompts, collections, tags, teams, chains. 29 MCP tools for agents.
Professional prompt library over remote MCP: 13 verticals, free discovery scope.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables management and invocation of AWS Bedrock managed prompts with support for variable substitution, streaming responses, batch processing, and multiple AI models including Claude, Titan, Llama, and Mistral.MIT
- AlicenseAqualityDmaintenanceAllows users to save, organize, and manage AI prompts, folders, and tags directly within MCP-compatible tools like Claude and Cursor. It supports version history tracking, prompt searching, and the ability to save public templates to a personal collection.2011 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides prompt management, resource management, and tool call capabilities (content analysis, article analysis) based on the MCP protocol.3MIT
- AlicenseAqualityDmaintenanceEnables storage, versioning, and retrieval of prompts with rich metadata via MCP tools, supporting stdio and SSE transports.38 npm3ISC