MCP Directory
ServersClientsBlog

xASO - App Store Optimization

AI-powered App Store Optimization platform for mobile apps

Go to xASO
MCP Directory

Model Context Protocol Directory

MKSF LTD
Suite 8805 5 Brayford Square
London, E1 0SG

MCP Directory

  • About
  • Blog
  • Documentation
  • Contact

Menu

  • Servers
  • Clients

© 2025 model-context-protocol.com

The Model Context Protocol (MCP) is an open standard for AI model communication.
Powered by Mert KoseogluSoftware Forge
  1. Home
  2. Servers
  3. mcp-test-client

mcp-test-client

GitHub

The MCP Test Client is a testing utility for Model Context Protocol servers, offering an easy interface to test server implementations by making tool calls and validating responses with type-safe assertions.

11
0

MCP Test Client

This is a testing utility for Model Context Protocol (MCP) servers. It assists in testing MCP server implementations by providing a straightforward interface for making tool calls and validating responses.

Features

  • User-friendly testing interface for MCP servers.
  • Built-in support for listing tools and making tool calls.
  • Type-safe implementation using TypeScript.
  • Assertion utilities for validating server responses.
  • Mock calculator server implementation for examples.

Installation

bun install mcp-test-client

Usage

The client can be used to list available tools and assert tool calls. The package includes a mock calculator server for testing and learning purposes.

API Reference

The MCPTestClient class provides methods to interact with the MCP server, including init(), listTools(), callTool(), assertToolCall(), and cleanup().

Development

Prerequisites

  • Bun (v1.0.0 or higher)

License

MIT

Contributing

Contributions are welcome through pull requests.

Repository

CR
crazyrabbitLTC

crazyrabbitLTC/mcp-test-client

Created

January 2, 2025

Updated

March 11, 2025

Language

TypeScript

Category

Developer Tools