test-mcp-server

Installation
SKILL.md

Test MCP Server

sunpeak includes a testing framework that works with any MCP server, regardless of language or framework. It provides four testing layers: e2e tests (inspector-based), visual regression, live tests (against real ChatGPT), and evals (multi-model tool calling).

For sunpeak app projects, testing integrates automatically. For non-sunpeak MCP servers (Python, Go, Rust, etc.), sunpeak test init scaffolds a self-contained test directory.

Getting Started

sunpeak test init                        # Interactive setup (detects project type)
sunpeak test init --server http://localhost:8000/mcp  # URL-based server
sunpeak test init --server "python server.py"         # Command-based server

sunpeak test init detects three project types:

  • sunpeak projects -- Adds defineConfig() and eval boilerplate
  • JS/TS projects -- Adds Playwright config, smoke test, and evals at project root
  • Non-JS projects -- Creates a self-contained tests/sunpeak/ directory with its own package.json
Related skills
Installs
5
GitHub Stars
175
First Seen
Apr 15, 2026