Loading connector details…
Loading connector details…
Choose a unique username to continue using AgentHotspot
by day50-dev • Uncategorized
A minimal example MCP server exposing a single tool that returns a user's favorite number.
A simple example of MCP server functionality.
Understand how to expose and call tools in an MCP server.
A base to build more complex MCP servers with additional features.
This repository provides a minimal, working example of an MCP server and client using the stdio method without involving LLMs. It demonstrates how to expose tools via the server, specifically a tool that returns the string "42" as the user's favorite number. The repository includes the core server code, automated tests, and a script to run those tests, making it easy to understand and extend.