Skip to main content
Glama
ebowwa
by ebowwa

web_monitor_status

Check and retrieve the current status of the web monitor to ensure proper functionality and uptime for iOS/macOS projects managed via the Xcode MCP Server.

Instructions

Get the current status of the web monitor

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • MCP CallTool handler for 'web_monitor_status': fetches status from WebMonitorManager and formats text response.
    if (name === 'web_monitor_status') { const status = this.webMonitorManager.getStatus(); let text = status.running ? `Web monitor is running at ${status.url} (port ${status.port})` : 'Web monitor is not running'; return { content: [ { type: 'text', text: text } ] }; }
  • Tool schema definition including name, description, and empty input schema.
    { name: 'web_monitor_status', description: 'Get the current status of the web monitor', inputSchema: { type: 'object', properties: {}, required: [] } }
  • src/index.ts:87-89 (registration)
    Registers web monitor tools (incl. web_monitor_status) in MCP ListTools response.
    this.server.setRequestHandler(ListToolsRequestSchema, async () => ({ tools: [...tools, ...webMonitorTools], }));
  • WebMonitorManager.getStatus() method providing the core status information used by the tool.
    getStatus(): { running: boolean; port?: number; url?: string } { if (this.isRunning && this.webServerProcess) { return { running: true, port: this.port, url: `http://localhost:${this.port}` }; } 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/ebowwa/xcode-mcp'

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