Skip to main content
Glama

Local Utilities MCP Server

by arjshiv
import { spawn } from 'child_process'; const mcp = spawn('npx', ['localutils-mcp']); // The request to get time const request = { method: 'tools/call', params: { name: 'get_time_and_date' } }; // Send the request mcp.stdin.write(JSON.stringify(request) + '\n'); // Handle the response mcp.stdout.on('data', (data) => { const response = JSON.parse(data.toString()); console.log('Time Tool Response:'); console.log(response); process.exit(0); }); mcp.stderr.on('data', (data) => { console.error(`Error: ${data}`); }); // Close stdin to signal we're done sending requests mcp.stdin.end();

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/arjshiv/localutils-mcp-server'

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