Skip to main content
Glama

MCP System Info Server

sysinfo.py759 B
from typing import Any from mcp.server.fastmcp import FastMCP from fetch_info import get_system_info # Initialize FastMCP server mcp = FastMCP("sysinfo") @mcp.tool() async def get_sysinfo() -> str: """Get the current system information. Gives system information such as System, Node name, Release, Version, Machine, Processor CPU Information such as Processor, Physical Cores, Logical Cores Memory Information such as Total Memory, Available Memory, Used Memory, Memory Utilization Disk Information such as Total Disk Space, Used Disk Space, Free Disk Space, Disk Space Utilization """ data = await get_system_info() return data if __name__ == "__main__": # Initialize and run the server mcp.run(transport='stdio')

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/allenbijo/mcp-sysinfo'

If you have feedback or need assistance with the MCP directory API, please join our Discord server