MCP Client for Testing
@piebro
About MCP Client for Testing
A simple MCP (Model Context Protocol) client for testing MCP Server
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-client-for-testing": {
"command": "uvx",
"args": [
"mcp-client-for-testing",
"\\"
]
}
}
}Tools
No tools detected
Fetch the live tool list by running this server in a temporary sandbox using the button above.
Overview
What is MCP Client for Testing?
MCP Client for Testing is a minimalistic client for testing tool calls in MCP (Model Context Protocol) servers. It is intended for developers who need to verify tool calls during MCP server development.
How to use MCP Client for Testing?
Install uv, then invoke from the command line using uvx mcp-client-for-testing with a JSON configuration and tool call definition. Alternatively, install the Python package and use the execute_tool function from mcp_client_for_testing.client in your own code. Command line flags allow setting client and server log levels.
Key features of MCP Client for Testing
- Minimalistic design focused on testing tool calls
- CLI invocation via
uvxwith JSON configuration - Python API for integration into test suites
- Configurable client and server log levels
- Works with any MCP server that can be launched as a subprocess
- Supports passing environment variables to the server process
Use cases of MCP Client for Testing
- Testing tool calls in a custom MCP server during development
- Verifying tool call parameters, execution, and return values
- Quick smoke tests using an echo MCP server
- Debugging server configuration and environment settings
- Automating tool call verification in CI pipelines
FAQ from MCP Client for Testing
What are the runtime requirements?
The client requires uv to be installed on the system. The server specified in the configuration must also be runnable from the command line.
How do I test a tool call?
Provide a JSON configuration with the server name, command, arguments, and environment, plus a --tool_call JSON specifying the tool name and its arguments.
Can I use it in my own Python code?
Yes. Install the package with uv pip install mcp-client-for-testing and import execute_tool from mcp_client_for_testing.client for async usage.
Is there an example server to test with?
Yes, the echo-mcp-server-for-testing server can be used with uvx to quickly verify the client works.
How do I configure logging?
Use the --client_log_level and --server_log_level flags with standard logging levels such as WARNING and INFO.
Frequently asked questions
What are the runtime requirements?
The client requires uv to be installed on the system. The server specified in the configuration must also be runnable from the command line.
How do I test a tool call?
Provide a JSON configuration with the server name, command, arguments, and environment, plus a `--tool_call` JSON specifying the tool name and its arguments.
Can I use it in my own Python code?
Yes. Install the package with `uv pip install mcp-client-for-testing` and import `execute_tool` from `mcp_client_for_testing.client` for async usage.
Is there an example server to test with?
Yes, the echo-mcp-server-for-testing server can be used with `uvx` to quickly verify the client works.
How do I configure logging?
Use the `--client_log_level` and `--server_log_level` flags with standard logging levels such as WARNING and INFO.
Basic information
More Other MCP servers
Website
FunnyWolfAdversary simulation and Red teaming platform with AI
MCP Registry
modelcontextprotocolA community driven registry service for Model Context Protocol (MCP) servers.

DeepMark
DeepMark helps teachers deliver rapid, consistent marking with meaningful feedback for every student — in a fraction of the time. What once took a week, now takes one free period.

Sequential Thinking
modelcontextprotocolModel Context Protocol Servers
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
Comments