Back to Home
StacklokLabs icon

yardstick

Verified Safe

by StacklokLabs

Overview

A Model Context Protocol (MCP) server designed for performance testing and validating MCP implementations across various transport types.

Installation

Run Command
docker run -p 8080:8080 -e MCP_TRANSPORT=sse -e PORT=8080 ghcr.io/stackloklabs/yardstick/server

Environment Variables

  • MCP_TRANSPORT
  • PORT
  • AUTH_HEADER
  • AUTH_VALUE

Security Notes

The server implements basic header-based authentication, configurable via `AUTH_HEADER` and `AUTH_VALUE` environment variables. Authentication is disabled by default. Input to the 'echo' tool is strictly validated using a regex (`^[a-zA-Z0-9]+$`) to prevent injection. HTTP transports (SSE, Streamable HTTP) are configured with `ReadTimeout`, `WriteTimeout`, and `IdleTimeout` to mitigate certain common network-based attack vectors. The client component's use of `exec.Command` for stdio transport is noted as intentional for testing subprocess communication and does not represent a server-side vulnerability.

Similar Servers

Stats

Interest Score32
Security Score7
Cost ClassLow
Avg Tokens15
Stars2
Forks2
Last Update2026-01-13

Tags

MCP ServerPerformance TestingGoJSON-RPCTransport Agnostic