Skip to content

Conversation

@chelojimenez
Copy link
Contributor

@chelojimenez chelojimenez commented Oct 4, 2025

Note

Adds automated eval test-case generation from selected MCP server tools with a new backend endpoint and UI integration.

  • Frontend (Eval Runner UI):
    • Add automated test generation: new "Generate Tests" action calling POST /api/mcp/evals/generate-tests, populates testCases from response and shows loading state/spinner.
    • State additions: isGenerating; disables button when busy/servers unselected.
    • API key handling tweak: allow meta provider without key; typed getToken usage.
  • Backend (Routes):
    • New endpoint POST /mcp/evals/generate-tests: validates input, filters tools by selected servers via mcpJamClientManager, and returns generated tests.
  • Service:
    • Add server/services/eval-agent.ts: backend LLM agent builds prompts from discovered tools and returns parsed, validated test cases.

Written by Cursor Bugbot for commit 8f34607. This will update automatically on new commits. Configure here.

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Oct 4, 2025
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Oct 4, 2025
@chelojimenez chelojimenez merged commit 5f2e039 into main Oct 4, 2025
1 of 2 checks passed
khandrew1 pushed a commit that referenced this pull request Nov 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants