@promptlab/mcp
v1.1.1
Published
Model Context Protocol server for PromptLab experiments
Downloads
19
Maintainers
Readme
PromptLab MCP Server
A Model Context Protocol (MCP) server for PromptLab experiments, providing programmatic access to experiment management, model configuration, and prompt engineering tools.
Installation
npx @promptlab/mcp --secret your_promptlab_tokenUsage
The MCP server requires a PromptLab authentication token. You can obtain this from your PromptLab account settings.
npx @promptlab/mcp --secret pl_your_token_hereFeatures
- Experiment Management: Create, update, delete, and retrieve experiments
- Model Configuration: Manage available models and experiment-specific model assignments
- Message & Block Management: Full CRUD operations for experiment messages and blocks
- Variant Management: Create and manage prompt variants for A/B testing
- Judge Configuration: Set up LLM, code, or human judges for experiment evaluation
- Provider Key Management: Manage API keys for different AI providers
MCP Tools
Experiments
listExperiments- Get all experimentscreateExperiment- Create new experimentgetExperimentDetails- Get experiment detailsupdateExperiment- Update experiment propertiesdeleteExperiment- Delete experiment
Models
getUserModels- Get available modelsgetExperimentModels- Get models for experimentupdateExperimentModels- Update experiment models
Messages & Blocks
getMessage- Get message with blocks and variantsaddBlock- Add block to messagegetBlock- Get block detailsupdateBlock- Update block propertiesdeleteBlock- Delete block
Variants
addVariant- Add variant to blockupdateVariant- Update variantdeleteVariant- Delete variant
Judges
updateExperimentJudgeType- Set judge typeupdateExperimentLLMJudge- Configure LLM judgeupdateExperimentCodeJudge- Configure code judge
Provider Keys
addProviderKey- Add API keyremoveProviderKey- Remove API keyvalidateProviderKey- Validate API key
Requirements
- Node.js 18.0.0 or higher
- Valid PromptLab authentication token
License
This software is proprietary and confidential. Unauthorized copying, distribution, or use is strictly prohibited.
Support
For support and documentation, visit promptlab.ai
