TestMcpServer

TestMcpServer

3.2

If you are the rightful owner of TestMcpServer and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

TestMcpServer is an example implementation of Anthropic's open source Model Context Protocol, designed to be more readable and manageable than existing examples.

TestMcpServer is a Model Context Protocol (MCP) server implementation that leverages Anthropic's open source protocol. It aims to provide a more user-friendly and comprehensible example for developers looking to build their own MCP servers. The server is built using Node.js, npm, and TypeScript, and includes a variety of tools across different categories such as mathematical operations, image processing, filesystem navigation, and browser interaction. The server is designed with robust error handling and input validation to ensure reliable operation. Additionally, it includes a comprehensive testing framework using Jest to verify the functionality and reliability of the tools provided. The server is structured to allow easy addition of new tools, with clear guidelines on how to define, implement, and register new functionalities.

Features

  • Mathematical Tools: Perform operations like addition, subtraction, multiplication, division, and more.
  • Image Processing Tools: Convert and resize images with format conversion and compression.
  • Filesystem Tools: Retrieve directory tree structures.
  • Browser Tools: Capture browser console logs from specified URLs.
  • Comprehensive Error Handling: Ensures robust operation with input validation.