ynu/mcp-ynu
If you are the rightful owner of mcp-ynu 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.
A dynamic MCP server implementation using FastMCP that automatically loads tools, resources, and prompts from respective directories.
MCP-YNU - FastMCP Server is a robust and dynamic implementation of a Model Context Protocol (MCP) server using FastMCP. It is designed to automatically load tools, resources, and prompts from designated directories, making it highly modular and extensible. The server supports automatic discovery and registration of modules, simplifying the configuration process. It includes type hints for improved code clarity and static analysis, and comprehensive logging to monitor server activity. Recent updates have enhanced the codebase with type hints, improved MCP instance handling, added logging functionality, and updated documentation. The server is structured to facilitate easy integration and extension, making it suitable for various applications requiring dynamic module loading and execution.
Features
- Dynamic loading of modules from `tools/`, `resources/`, and `prompts/` directories
- Automatic discovery and registration of modules
- Simple configuration and extensibility
- Type hints for better code clarity and static analysis
- Comprehensive logging for monitoring server activity
Tools
calculate_bmi
Calculate the BMI index
fetch_weather
Get city weather information
get_config
Get static configuration data
get_user_profile
Obtain user dynamic data
review_code
Code review tips
debug_error
Error debugging prompts