Skip to main content
Glama

Command Executor MCP Server

app.js824 B
// シンプルなHTTPサーバーの例 const http = require('http'); const PORT = 3000; // サーバーの作成 const server = http.createServer((req, res) => { // レスポンスヘッダーの設定 res.writeHead(200, {'Content-Type': 'text/plain'}); // 現在時刻を含むメッセージを送信 const message = `Hello Node.js! Current time: ${new Date().toLocaleString()}`; res.end(message); }); // サーバーの起動 server.listen(PORT, () => { console.log(`サーバーが起動しました: http://localhost:${PORT}`); }); // 基本的な非同期処理の例 setTimeout(() => { console.log('3秒経過しました'); }, 3000); // 配列操作の例 const numbers = [1, 2, 3, 4, 5]; const doubled = numbers.map(num => num * 2); console.log('倍にした数:', doubled);

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/Sunwood-ai-labs/command-executor-mcp-server'

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