Get the FREE Ultimate OpenClaw Setup Guide →

mcp-client

An MCP Server that's also an MCP Client. Useful for letting Claude develop and test MCPs without needing to reset the application.

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio willccbb-mcp-client-server node dist/server.js \
  --env NODE_ENV="production"

How to use

The MCP Test Client acts as both an MCP server registered with Claude and as a client that connects to and tests other MCP servers. It provides tools to deploy and manage test servers, invoke individual tools with custom arguments, run automated test suites, and view live server logs. This enables you to validate MCP server behavior in a controlled environment before formal registration with Claude. You can interact with the CLI interface or use the JavaScript/TypeScript utility functions exposed by the client to deploy, test, and monitor servers.

Key capabilities include deploying a server to the test environment, calling specific tools on a deployed server with tailored arguments, executing end-to-end test suites, and retrieving server logs for debugging. You can also list currently deployed test servers and stop them when you’re finished. The CLI provides an interactive menu for workflows, while the programmatic tools allow you to script repetitive validation tasks.

How to install

Prerequisites:

  • Node.js and npm installed on your machine
  • Access to the project repository and its dependencies

Installation steps:

  1. Install dependencies npm install

  2. Build the TypeScript project (if applicable) npm run build

  3. Run the test CLI or start the server (example)

    Start the MCP Test Client server

    node dist/server.js

  4. Verify installation by listing or starting a deployment via the CLI inside the running application

Notes:

  • The exact entry point may differ depending on the build output; if dist/server.js is not present, check the build configuration or package.json for the correct startup script.

Additional notes

Tips and common issues:

  • Ensure Node.js version compatibility with the MCP Test Client build.
  • If environment variables are required (e.g., API keys for testing), set them in the env section of the mcp_config or in your shell before starting the client.
  • Use the CLI to deploy and manage test servers before attempting to register them with Claude.
  • Review logs regularly to diagnose failures in tool invocations or test runs.
  • When migrating servers from the playground to mcp-servers/, ensure the server bundle and dependencies are portable and do not rely on ephemeral local paths.

Related MCP Servers

Sponsor this space

Reach thousands of developers