Skip to main content
Glama

sc_status

Check SuperCollider server status including running state and CPU usage to monitor audio synthesis performance.

Instructions

Get the current status of the SuperCollider server (running, CPU usage, etc.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler for the 'sc_status' tool. Calls scServer.getServerStatus() and returns the status as formatted JSON text response.
    case 'sc_status': { const status = await scServer.getServerStatus(); return { content: [ { type: 'text', text: JSON.stringify(status, null, 2), }, ], }; }
  • Tool schema definition for 'sc_status', including name, description, and empty input schema (no parameters required).
    { name: 'sc_status', description: 'Get the current status of the SuperCollider server (running, CPU usage, etc.)', inputSchema: { type: 'object', properties: {}, }, },
  • src/index.ts:200-202 (registration)
    Registration of all tools (including 'sc_status') via the ListToolsRequestHandler, exposing the tools array.
    server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools, }));
  • Helper method getServerStatus() on SuperColliderServer class, queried by the tool handler to get server status (simplified implementation).
    async getServerStatus(): Promise<{ running: boolean; avgCPU?: number; peakCPU?: number; numUGens?: number; numSynths?: number; numGroups?: number; numSynthDefs?: number; }> { if (!this.isBooted) { return { running: false }; } try { await this.executeCode('Server.default.queryAllNodes;'); return { running: true, // Note: Getting real-time stats requires OSC monitoring // This is a simplified version }; } catch (error) { return { running: false }; } }

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/BradA1878/mcp-wave'

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