PromptVault MCP Server
Click on "Deploy 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., "@PromptVault MCP Server Create a new prompt called 'summarize' with the content 'Summarize this: {input}'"
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.
PromptVault
Open-source prompt versioning, evaluation, and management as an MCP server.
What is PromptVault?
PromptVault is a self-hosted tool for AI engineers and prompt engineers to:
Version prompts like code with immutable versions and rollback support
Evaluate prompts against datasets using LLM providers (OpenAI, Anthropic, Ollama)
Access everything through an MCP server, CLI, or REST API
Related MCP server: Langfuse Prompt Management MCP Server
Quickstart
Install (no clone needed)
pip install pvltOr with uv/pipx:
uvx --from git+https://github.com/KrishBnsl/promptVault.git promptctl --helpOr with Docker:
docker run -p 8000:8000 -e GEMINI_API_KEY=your-key ghcr.io/krishbnsl/pvltFrom Source
git clone https://github.com/KrishBnsl/promptVault.git
cd promptVault
uv sync
cp .env.example .env
# Edit .env with your API keysCreate Your First 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"Create a Dataset
echo '{"input": {"article": "AI is transforming..."}, "expected_output": "AI transforms..."}' > dataset.jsonl
promptctl dataset create article-summaries --file dataset.jsonlRun Evaluation
promptctl eval run summarize --dataset article-summariesUse with MCP (Claude Desktop)
Add to your Claude Desktop config:
{
"mcpServers": {
"pvlt": {
"command": "promptctl",
"args": ["serve"]
}
}
}CLI Reference
promptctl prompt create <name> --content <text> [options]
promptctl prompt update <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 | Description |
| Create a new prompt with initial version |
| Create the next immutable prompt version |
| Retrieve a prompt version |
| List all prompts |
| List all versions of a prompt |
| Diff two prompt versions |
| Rollback to a previous version |
| Create a dataset |
| List datasets |
| Get dataset with items |
| Run evaluation |
| Check evaluation status |
| Get evaluation report |
| Compare two evaluations |
REST API
Base 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/testConfiguration
Copy .env.example to .env and configure:
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:11434Architecture
āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāā
ā MCP Client ā ā CLI ā ā REST Client ā
ā (Claude etc) ā ā (promptctl) ā ā (curl, apps) ā
āāāāāāāā¬āāāāāāā āāāāāāāā¬āāāāāāā āāāāāāāā¬āāāāāāā
ā ā ā
ā¼ ā¼ ā¼
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
ā PromptVault Core ā
ā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāāā āāāāāāāāāāāā ā
ā ā Versioning ā ā Evaluation ā ā Storage ā ā
ā ā Engine ā ā Engine ā ā Layer ā ā
ā āāāāāāāāāāāāāāā āāāāāāāāāāāāāāāā āāāāāāāāāāāā ā
ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā
ā ā SQLite Database (local) ā ā
ā āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāDocumentation
š Full docs: https://krishbnsl.github.io/promptVault/
License
MIT License - see LICENSE for details.
Available Tools
14 toolsdataset_createC
Create a new dataset from items
Inputs: name (required), items (required), description. Returns: result
dataset_getC
Get a dataset with items
Inputs: name (required). Returns: result
dataset_listC
List datasets
Inputs: limit, offset. Returns: result
evaluation_compareC
Compare two evaluation runs
Inputs: evaluation_id_a (required), evaluation_id_b (required). Returns: result
evaluation_reportC
Get full evaluation report with results and metrics
Inputs: evaluation_id (required). Returns: result
evaluation_runC
Run evaluation of a prompt version against a dataset
Inputs: prompt_name (required), dataset_name (required), version, model_config. Returns: result
evaluation_statusC
Check status of an evaluation run
Inputs: evaluation_id (required). Returns: result
prompt_createC
Create a new prompt with initial version
Inputs: name (required), content (required), tags, variables, +3 more. Returns: result
prompt_diffC
Show diff between two prompt versions
Inputs: name (required), version_a (required), version_b (required). Returns: result
prompt_getC
Retrieve a specific version of a prompt
Inputs: name (required), version. Returns: result
prompt_listC
List all prompts
Inputs: tags, limit, offset. Returns: result
prompt_rollbackC
Rollback to a previous prompt version
Inputs: name (required), version (required), commit_message. Returns: result
prompt_updateC
Create the next immutable version of a prompt
Inputs: name (required), content (required), variables, model_config, +1 more. Returns: result
prompt_versionsC
List all versions of a prompt
Inputs: name (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogā¦
TDQS
Scored across 14 tools
Each tool targets a distinct resource+action combination, and the group prefixes (evaluation_/prompt_/dataset_) make boundaries clear. The only mild overlaps are evaluation_status vs evaluation_report (lightweight check vs full payload) and prompt_get vs prompt_versions, but descriptions distinguish them adequately.
All 14 tools follow a strict noun_action snake_case pattern with consistent resource prefixes (evaluation_, prompt_, dataset_). The verbs are predictable (create, get, list, run, compare, diff, rollback), so an agent can guess names reliably.
14 tools is well within the sweet spot and each one maps to a concrete operation in the prompt-versioning lifecycle. Nothing feels padded: the 4 evaluation tools, 7 prompt tools, and 3 dataset tools each earn their place.
Prompt versioning is well covered (create, update, get, list, versions, diff, rollback) and evaluation has run/status/report/compare. However, the dataset surface stops at create/list/get with no update or delete, and there is no prompt delete/archive operation, leaving lifecycle dead ends.
Maintenance
Related MCP Connectors
Team prompt library with version control and reviews. Save, search and reuse prompts via MCP.
Manage, version, and publish LLM prompts with blocks, variables, and evaluations.
Your prompt library in any MCP client: list, fetch, save and version prompt templates.
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.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables storage, versioning, and retrieval of prompts with rich metadata via MCP tools, supporting stdio and SSE transports.33ISC
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to list, retrieve, compile, create, and update prompts, including managing versions, labels, tags, configuration, and production promotion.MIT
- FlicenseNot gradedqualityAmaintenanceEnables users to list and retrieve Langfuse prompts, compile them with supplied variables, and expose prompt management capabilities to MCP clients.-
- FlicenseNot gradedqualityAmaintenanceEnables users to list, retrieve, and compile stored prompt templates with supplied variables through MCP prompts and equivalent tools.-