{"at":"2026-11-23T02:28:09.188Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T02:28:09.508Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found: server/discover"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T02:28:09.558Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T02:28:09.832Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{}},"instructions":"OSCAR is an editor and a server for control interfaces: pages of buttons, sliders and other widgets that phones and tablets open in a browser, and that send OSC, MIDI and DMX to show software, instruments and lights. Use the app's words with the person: a project is what they edit in OSCAR (File > Open project or template lists them); a published interface is the copy of a project that phones open, made by pressing Publish; a draft is an interface you wrote for them to review. Start with status. To find why something does not respond: installation_map for everything the published interfaces send to and listen for and what this computer has plugged in, read_published for one interface's controls (or read_project for a project that is not published), then recent_activity for what was actually sent and received. To build: installation_map to see the gear that is here, describe_widgets, then validate_draft until it is clean, then create_draft, and tell the person to open the draft from File > Open project or template, where it carries a Draft badge, check it, and publish it themselves. No tool here sends anything to the rig, publishes, or changes a project: if asked to operate the show, say that OSCAR does not let an assistant do that.","protocolVersion":"2025-11-25","serverInfo":{"name":"oscar","title":"OSCAR","version":"1.0.2"}}}}
{"at":"2026-11-23T02:28:09.832Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T02:28:09.832Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T02:28:09.833Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"OSCAR's version, its ports (HTTP, the fixed OSC listening port, the socket bridge), whether editing is locked, the MIDI driver's condition, and how many projects and published interfaces there are. Start here.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"status","title":"What this OSCAR is"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Every project OSCAR holds, with its id and its title, as File > Open project or template lists them. A project is what a person edits; it reaches phones only once it is published (list_published).","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"list_projects","title":"The projects in OSCAR"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Every widget in one project, published or not, with its full settings as the editor holds them: addresses, ports, channels, MIDI mappings, DMX targets. Also says where the project is published, if it is. A setting nobody touched reads as its default. What phones see is the published copy, which may be older: read_published reads that one.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"project":{"description":"The project's id, or its title, as list_projects gives them","minLength":1,"type":"string"}},"required":["project"],"type":"object"},"name":"read_project","title":"A project's widgets"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Every published interface: its name, the project it was published from, the path it is served at, who can open it (access: \"network\", or \"off\" for one no device can open, whose schedules and bridges still run), and how many widgets it holds. Published interfaces are running -- phones and tablets may be on them, and the rig hears them.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"list_published","title":"The published interfaces"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Every widget on one published interface, with its full settings as phones have them: addresses, ports, channels, MIDI mappings, DMX targets. For answering why something does or does not respond.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"id":{"description":"The published interface's id, as list_published names it","minLength":1,"type":"string"}},"required":["id"],"type":"object"},"name":"read_published","title":"A published interface's widgets"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"One picture of the whole installation: this computer's network addresses and ports, its MIDI ports and USB interfaces (a USB DMX interface among them), and everything the published interfaces talk to and listen for -- each OSC destination with the addresses sent to it, each MIDI port with its channels and controllers, each DMX output with its universe and channels -- with the control and interface behind every one. notices lists what does not add up: a MIDI port or USB interface that is not there, OSC followed while OSCAR cannot listen, two controls on the same DMX channels. It is worked out from settings and sends nothing onto the network: it says where OSCAR sends, not whether anything is there to hear it.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"installation_map","title":"The installation, as OSCAR knows it"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"The MIDI inputs and outputs this machine has right now, and the driver's condition.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"midi_ports","title":"The MIDI ports"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"The network log's recent rows: what OSCAR's server actually received and sent, oldest first, repeats within a moment gathered into one row with a count n. Each row has what (OSC address, MIDI control, DMX universe and channels) and value (what the latest carried). Incoming rows: device (the sender's address, or the MIDI port), surfaces (published interfaces that follow it), canvas (the editor's canvas followed it); with neither, nothing follows it. Outgoing rows: to (where it went), origin (whose move: canvas, local, internet, schedule, bridge), surface (the published interface) and widget. dropped, on either, says why it was refused. The first place to look when something moves that should not, or does not move when it should.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"limit":{"description":"How many of the newest rows (default 50)","maximum":200,"minimum":1,"type":"integer"}},"type":"object"},"name":"recent_activity","title":"What the server has lately done"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Every widget OSCAR has -- tag, attributes, defaults, and each setting with its type, options and meaning -- plus how an interface is written as HTML. Read this before building one.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"describe_widgets","title":"The widgets and how to write them"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Run an interface written as HTML through the widgets' own validators: unknown settings, values their panels would refuse, missing or repeated ids. Returns the complaints to correct. Nothing is saved.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"html":{"description":"The whole HTML document","maxLength":2097152,"type":"string"}},"required":["html"],"type":"object"},"name":"validate_draft","title":"Judge a draft"},{"annotations":{"destructiveHint":false,"idempotentHint":false,"openWorldHint":false,"readOnlyHint":false},"description":"Validate an interface and, if it is clean, save it as a draft: it appears in OSCAR under File > Open project or template, with a Draft badge. It is a file for a person to review: nothing is published, nothing is sent, and no project is changed. An existing draft of the same name is only replaced when overwrite is true.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{"html":{"description":"The whole HTML document","maxLength":2097152,"type":"string"},"name":{"description":"The draft's name, shown in File > Open project or template (up to 80 characters; longer is cut)","type":"string"},"overwrite":{"description":"Replace an existing draft of the same name","type":["boolean","string"]}},"required":["name","html"],"type":"object"},"name":"create_draft","title":"Save a draft for the person to review"}]}}}
