Overview
what is MCP Test Server?
MCP Test Server is a streamable HTTP Model Context Protocol (MCP) server built using Node.js, designed for testing and demonstration purposes with various tools.
how to use MCP Test Server?
To use the MCP Test Server, clone the repository, install the dependencies, configure the environment, and run the server. You can access the server at http://localhost:3000/mcp.
key features of MCP Test Server?
- BMI Calculator for calculating Body Mass Index
- Weather Service to get current weather information for any city
- Echo Tool for simple message testing
- Built with TypeScript and Express.js
- Hot reload development support
use cases of MCP Test Server?
- Testing BMI calculations for health applications.
- Fetching weather data for a city in web applications.
- Using the echo tool for debugging and testing API requests.
FAQ from MCP Test Server?
- What is the purpose of the MCP Test Server?
It serves as a testing platform for various tools and functionalities using the Model Context Protocol.
- How do I install the MCP Test Server?
Clone the repository, install dependencies with npm, and configure the environment variables as needed.
- Can I add new tools to the MCP Test Server?
Yes! You can create new tool files and register them in the server's main file.