Skip to main content
Glama

get_system_info

Retrieve basic system information from the mcp-flyin server to monitor hardware and software status for troubleshooting and management.

Instructions

Get basic system information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler for the 'get_system_info' tool. It dynamically imports the Node.js 'os' module, gathers system information (platform, architecture, Node version, uptime, total and free memory), and returns it as a formatted JSON string in a text content block.
    case 'get_system_info':
      const os = await import('os');
      const systemInfo = {
        platform: os.platform(),
        arch: os.arch(),
        nodeVersion: process.version,
        uptime: os.uptime(),
        totalMemory: os.totalmem(),
        freeMemory: os.freemem(),
      };
      
      return {
        content: [
          {
            type: 'text',
            text: `System Information:\n${JSON.stringify(systemInfo, null, 2)}`,
          },
        ],
      };
  • server.js:67-74 (registration)
    Registration of the 'get_system_info' tool in the ListTools handler, providing the tool name, description, and empty input schema (no parameters required).
    {
      name: 'get_system_info',
      description: 'Get basic system information',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
  • The input schema for 'get_system_info' tool, defined as an empty object (no input parameters).
    {
      name: 'get_system_info',
      description: 'Get basic system information',
      inputSchema: {
        type: 'object',
        properties: {},
      },
    },
Install Server

Other Tools

Latest Blog Posts

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/balajidommeti/MCP'

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