PromptVault MCP Server
PromptVault
オープンソースのプロンプトバージョン管理、評価、管理をMCPサーバーとして提供します。
PromptVaultとは?
PromptVaultは、AIエンジニアやプロンプトエンジニア向けのセルフホスト型ツールで、以下のことが可能です:
プロンプトをコードのようにバージョン管理(不変のバージョンとロールバック対応)
LLMプロバイダー(OpenAI、Anthropic、Ollama)を使用してデータセットに対してプロンプトを評価
MCPサーバー、CLI、REST APIを通じてすべてにアクセス
Related MCP server: PromptingBox MCP Server
クイックスタート
インストール(クローン不要)
pip install pvltまたはuv/pipxを使用:
uvx --from git+https://github.com/KrishBnsl/promptVault.git promptctl --helpまたはDockerを使用:
docker run -p 8000:8000 -e GEMINI_API_KEY=your-key ghcr.io/krishbnsl/pvltソースから
git clone https://github.com/KrishBnsl/promptVault.git
cd promptVault
uv sync
cp .env.example .env
# Edit .env with your API keys最初のプロンプトを作成
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"データセットを作成
echo '{"input": {"article": "AI is transforming..."}, "expected_output": "AI transforms..."}' > dataset.jsonl
promptctl dataset create article-summaries --file dataset.jsonl評価を実行
promptctl eval run summarize --dataset article-summariesMCP(Claude Desktop)で使用
Claude Desktopの設定に追加:
{
"mcpServers": {
"pvlt": {
"command": "promptctl",
"args": ["serve"]
}
}
}CLIリファレンス
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ツール
ツール | 説明 |
| 初期バージョンで新しいプロンプトを作成 |
| プロンプトのバージョンを取得 |
| すべてのプロンプトを一覧表示 |
| プロンプトのすべてのバージョンを一覧表示 |
| 2つのプロンプトバージョンの差分を表示 |
| 以前のバージョンにロールバック |
| データセットを作成 |
| データセットを一覧表示 |
| アイテムを含むデータセットを取得 |
| 評価を実行 |
| 評価ステータスを確認 |
| 評価レポートを取得 |
| 2つの評価を比較 |
REST API
ベース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/test設定
.env.example を .env にコピーして設定:
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:11434アーキテクチャ
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ MCP Client │ │ CLI │ │ REST Client │
│ (Claude etc) │ │ (promptctl) │ │ (curl, apps) │
└──────┬──────┘ └──────┬──────┘ └──────┬──────┘
│ │ │
▼ ▼ ▼
┌─────────────────────────────────────────────────┐
│ PromptVault Core │
│ ┌─────────────┐ ┌──────────────┐ ┌──────────┐ │
│ │ Versioning │ │ Evaluation │ │ Storage │ │
│ │ Engine │ │ Engine │ │ Layer │ │
│ └─────────────┘ └──────────────┘ └──────────┘ │
│ ┌──────────────────────────────────────────┐ │
│ │ SQLite Database (local) │ │
│ └──────────────────────────────────────────┘ │
└─────────────────────────────────────────────────┘ドキュメント
📖 完全なドキュメント: https://krishbnsl.github.io/promptVault/
ライセンス
MITライセンス - 詳細は LICENSE を参照してください。
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