bestmate-mcp-server
v1.0.2
Published
MCP server for BestMate prompt optimization - integrates with Cursor IDE
Maintainers
Readme
BestMate MCP Server
This MCP (Model Context Protocol) server integrates BestMate's prompt optimization capabilities directly into your IDE through Cursor.
Quick Install (Recommended)
npm install -g bestmate-mcp-serverSetup
Generate your API key:
- Go to https://www.bestmate.io/
- Navigate to the "API Keys" tab
- Click "Generate API Key"
- Copy the generated key
Configure Cursor IDE: Add to your Cursor MCP settings:
{ "mcpServers": { "bestmate": { "command": "bestmate-mcp", "env": { "BESTMATE_API_KEY": "your-api-key-here" } } } }
Alternative: Development Install
If you want to install from source:
git clone [your-repo-url]
cd promptloop/mcp/bestmate
npm install
npm run build
# Configure Cursor with local path:
{
"mcpServers": {
"bestmate": {
"command": "node",
"args": ["./path/to/promptloop/mcp/bestmate/dist/index.js"],
"env": {
"BESTMATE_API_KEY": "your-api-key"
}
}
}
}Available Tools
bestmate_submit_prompt
Submit a prompt to BestMate for optimization analysis.
- Input:
prompt(string, required) - Optional:
context,domain,model,temperature,optimization_type(all preset to sensible defaults; you do not need to provide these unless you want to override) - Output:
sessionIdfor tracking the optimization
Tip: In Cursor, you only need to enter your prompt. All other settings are optimized for you by default.
bestmate_get_results
Retrieve optimization results for a session.
- Input:
sessionId(string) - Output: Optimization suggestions and improvements
bestmate_apply_optimization
Apply a selected optimization to your prompt.
- Input:
suggestionId(string),optimizedPrompt(string) - Output: Confirmation of applied optimization
bestmate_evaluate_prompt
Evaluate a prompt for clarity, effectiveness, and specificity.
- Input:
prompt(string),context(optional),criteria(optional array) - Output: Evaluation scores and feedback
Workflow
- Select prompt text in Cursor
- Use
bestmate_submit_promptto start optimization (just enter your prompt!) - Use
bestmate_get_resultsto get suggestions - Use
bestmate_apply_optimizationto apply chosen improvement - Use
bestmate_evaluate_promptto get performance scores
This replicates the exact BestMate browser workflow but keeps you in your IDE!
