loaditout.ai
SkillsPacksTrendingLeaderboardAPI DocsBlogSubmitRequestsCompareAgentsXPrivacyDisclaimer
{}loaditout.ai
Skills & MCPPacksBlog

mcptest

MCP Tool

JSLEEKR/mcptest

CLI testing framework for MCP (Model Context Protocol) servers — validate protocol compliance, test tools/resources/prompts, benchmark performance

Install

$ npx loaditout add JSLEEKR/mcptest

Platform-specific configuration:

.claude/settings.json
{
  "mcpServers": {
    "mcptest": {
      "command": "npx",
      "args": [
        "-y",
        "mcptest"
      ]
    }
  }
}

Add the config above to .claude/settings.json under the mcpServers key.

About

<div align="center">

mcptest

[](https://golang.org/) [](LICENSE) [](.) [](https://modelcontextprotocol.io/)

CLI testing framework for MCP (Model Context Protocol) servers.

Validate protocol compliance, test tools/resources/prompts, benchmark performance, and ensure spec conformance for CI/CD pipelines.

</div>

---

Why This Exists

MCP is the dominant protocol for AI agent tool integration. Thousands of MCP servers exist, but there is no dedicated testing framework. Server authors write ad-hoc tests or test manually with mcp-inspector. This means:

  • Incomplete protocol compliance -- missing error codes, malformed responses silently pass
  • No regression testing across MCP spec versions
  • No CI/CD integration for MCP server validation
  • No performance benchmarking for tool call latency

mcptest fills this gap. It is the pytest for MCP servers.

Quick Start
Install
go install github.com/JSLEEKR/mcptest/cmd/mcptest@latest
Run All Tests
# Test a stdio MCP server
mcptest run --cmd "node server.js"

# Test a Python MCP server
mcptest run --cmd "python server.py"

# Test a Go MCP server
mcptest run --cmd "go run ./server"

# Test an SSE MCP server
mcptest run --url http://localhost:3000/sse
Output
mcptest - MCP Server Testing Framework
==================================================
Server: node server.js
Transport: stdio

Suite: compliance (9 passed, 0 failed, 0 skipped, 0 errors)
--------------------------------------------------
  [PASS] initialize handshake - server: my-server v1.0.0 (0.012s)
  [PASS] initialize response has protocolVersion - protocol ver

Tags

ai-toolsbenchmarkingclicompliancedeveloper-toolsgolangjson-rpcmcpmodel-context-protocoltesting

Reviews

Loading reviews...

Quality Signals

0
Installs
Last updated23 days ago
Security: AREADME

Safety

Risk Levelmedium
Data Access
read
Network Accessnone

Details

Sourcegithub-crawl
Last commit3/28/2026
View on GitHub→

Embed Badge

[![Loaditout](https://loaditout.ai/api/badge/JSLEEKR/mcptest)](https://loaditout.ai/skills/JSLEEKR/mcptest)