simple-MCP-harness
Verified Safeby angusforeman
Overview
A command-line REPL tool for interactively exploring and testing MCP server capabilities.
Installation
uv run python -m src.harness.mainEnvironment 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
inspector
Local development and debugging platform for Model Context Protocol (MCP) clients and servers, including proxying MCP server interactions, simulating UI widgets, and facilitating OAuth flows. It enables building, testing, and developing MCP clients and servers.
mcpm.sh
MCPM is a command-line tool for managing Model Context Protocol (MCP) servers, enabling discovery, installation, execution, sharing, and integration with various MCP clients.
mcp-use-cli
An interactive command-line interface (CLI) tool for connecting to and interacting with Model Context Protocol (MCP) servers using natural language, acting as an AI client that orchestrates LLM responses with external tools.
magic-api-mcp-server
Provides a Model Context Protocol (MCP) server to enhance Magic-API development workflows, enabling advanced interactions for script writing, API management, debugging, and deployment.