Skip to content

system-monitor-server example UI does not work due to missing tool #200

@connor4312

Description

@connor4312

Describe the bug

The system-monitor-server example attempts to call a refresh-stats tool

const result = await app.callServerTool({
name: "refresh-stats", // Use app-only tool for polling

However, no such tool exists on the system monitor server

function createServer(): McpServer {

To Reproduce
Steps to reproduce the behavior:

  1. Attempt to run the system-monitor-server example

Expected behavior

It should work, but it does not

Image

Logs

2026-01-03 22:38:05.794 [debug] [editor -> server] {"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}
2026-01-03 22:38:05.798 [debug] [server -> editor] {"result":{"tools":[{"name":"get-system-stats","title":"Get System Stats","description":"Returns current system statistics including per-core CPU usage, memory, and system info.","inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{}},"execution":{"taskSupport":"forbidden"},"_meta":{"ui/resourceUri":"ui://system-monitor/mcp-app.html","ui":{"resourceUri":"ui://system-monitor/mcp-app.html"}}}]},"jsonrpc":"2.0","id":2}
2026-01-03 22:38:05.798 [info] Discovered 1 tools

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions