get_system_info
Retrieve basic server host information, including operating system, uptime, and hardware details, to monitor system status and performance.
Instructions
Return basic information about the server host.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function for the 'get_system_info' tool. Returns host info including server name, transport, workspace/skills roots, OS details, and Python version.
@mcp.tool() def get_system_info() -> dict: """Return basic information about the server host.""" return { "server_name": config.server_name, "transport": config.transport, "workspace_root": str(config.workspace_root), "skills_root": str(config.skills_root), "os": platform.system(), "os_version": platform.version(), "machine": platform.machine(), "python_version": platform.python_version(), } - src/friday_mcp_server/tools/__init__.py:6-11 (registration)Registration: system.register(mcp, config=config) is called within register_all_tools, which is invoked by build_server().
def register_all_tools(mcp, *, config, skill_store) -> None: system.register(mcp, config=config) utils.register(mcp) web.register(mcp, config=config) workspace.register(mcp, config=config) skills.register(mcp, skill_store=skill_store) - src/friday_mcp_server/tools/__init__.py:6-11 (registration)The system.register() function contains the @mcp.tool() decorator that registers get_system_info as an MCP tool.
def register_all_tools(mcp, *, config, skill_store) -> None: system.register(mcp, config=config) utils.register(mcp) web.register(mcp, config=config) workspace.register(mcp, config=config) skills.register(mcp, skill_store=skill_store)