A basic MCP server using the SSE transport that can be used to test dynamic tool creation/management
Overview
What is Dynamic Tool MCP Server?
Dynamic Tool MCP Server is a basic Model Control Protocol (MCP) server designed for testing dynamic tool creation and management. It allows developers to test MCP clients by demonstrating dynamic tool management capabilities.
How to use Dynamic Tool MCP Server?
To use the server, install the necessary dependencies with npm install, then start the server using npm start. The server will run on http://localhost:4100 by default.
Key features of Dynamic Tool MCP Server?
- Implements dynamic tool management, allowing tools to be added at runtime.
- Comes with built-in tools like the Hello Tool for greeting and the Add Tool Tool for adding new tools.
- Notifies connected clients about tool list changes and supports runtime tool registration.
Use cases of Dynamic Tool MCP Server?
- Testing MCP client implementations for dynamic tool management.
- Verifying that clients can handle tool list change notifications.
- Ensuring clients can use newly added tools immediately after registration.
FAQ from Dynamic Tool MCP Server?
- What is the purpose of the Dynamic Tool MCP Server?
It is designed to test MCP clients and their ability to manage tools dynamically.
- How do I start the server?
You can start the server by running
npm startafter installing the dependencies.
- Can I add my own tools?
Yes! You can use the
add_toolcommand to dynamically add new tools to the server.