Back to Home
angusforeman icon

simple-MCP-harness

Verified Safe

by angusforeman

Overview

A command-line REPL tool for interactively exploring and testing MCP server capabilities.

Installation

Run Command
uv run python -m src.harness.main

Environment Variables

  • MCP_SERVER_COMMAND
  • MCP_SERVER_ARGS
  • MCP_SERVER_ENV_KEY (e.g., MCP_SERVER_ENV_API_KEY)
  • MCP_AUTH_TOKEN
  • MCP_TIMEOUT

Security Notes

The harness is designed to execute arbitrary user-defined commands (MCP_SERVER_COMMAND) to connect to a server. This is its core function and inherently powerful. Users must ensure the commands specified in their '.env' file are trusted, as this could lead to arbitrary code execution if compromised. The code itself does not contain obvious malicious patterns like 'eval' or hardcoded secrets, and it includes checks for executable existence. Security depends heavily on the user's management of the '.env' file.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassLow
Stars0
Forks0
Last Update2025-12-03

Tags

CLIREPLMCP ServerDevelopmentInteractive Testing