{"at":"2026-11-23T06:11:58.507Z","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-23T06:11:59.151Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-23T06:11:59.252Z","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-23T06:11:59.915Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"instructions":"Tools for IFC/BIM models. validate_ifc, check_ids and read_dxf read files on this machine (local path or URL). open_in_3d_viewer, open_drawings, open_3d_sketch and list_digital_twins return links to the free browser viewer at www.ifcvieweronline.eu: give the link to the user. The viewer can only open files at a public URL.","protocolVersion":"2025-11-25","serverInfo":{"name":"ifc-viewer-mcp","title":"IFC Viewer Online","version":"1.0.0"}}}}
{"at":"2026-11-23T06:11:59.915Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T06:11:59.915Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T06:11:59.919Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Check an IFC (BIM) model against the IFC Viewer Online rule set — schema, spatial structure, names, GlobalIds, ISO 19650, classification, MEP and more — and return its Health Score (0–100, higher is better), issue counts, the rules that cost the most points and the first issues with links to fix guides. Runs locally on this machine; the file is not uploaded anywhere. Use it when the user asks whether a model is OK, what is wrong with it, or how good it is.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"maxIssues":{"default":30,"description":"How many issues to list (the counts always cover all of them).","maximum":500,"minimum":0,"type":"integer"},"rules":{"description":"Run only these rule ids (see list_validation_rules). Default: the viewer's default rules.","items":{"type":"string"},"type":"array"},"source":{"description":"Path to a local file (absolute, or relative to where the server runs) or a public http(s) URL.","minLength":1,"type":"string"}},"required":["source"],"type":"object"},"name":"validate_ifc","title":"Validate an IFC file and get its Health Score"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"List every rule validate_ifc can run: its id, category, severity and whether it is on by default. Use it to pick rules for validate_ifc or to explain what a rule checks.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"list_validation_rules","title":"List the IFC validation rules"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Check an IFC model against an IDS file (buildingSMART Information Delivery Specification 1.0) and return, per specification, pass/fail, how many elements applied, passed and failed, and the first failures with the element and the reason. Runs locally; nothing is uploaded. Use it when the user has an .ids file, or exchange requirements to verify a delivery against.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"ids":{"description":"The IDS: local path, public URL, or the IDS XML text itself.","minLength":1,"type":"string"},"ifc":{"description":"The IFC model: local path or public http(s) URL.","minLength":1,"type":"string"},"maxFailures":{"default":10,"description":"Failures to list per specification.","maximum":200,"minimum":0,"type":"integer"}},"required":["ifc","ids"],"type":"object"},"name":"check_ids","title":"Check an IFC file against IDS requirements"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Build a link that opens one or more public IFC files in the free IFC Viewer Online 3D viewer (runs in the browser: orbit, section, measure, properties, validation with Health Score badge). Optional: drop them on the city map, isolate a class, pick a camera view, open a floor plan in the drawings pane, add point clouds. Also returns an <iframe> to embed the same view in a web page, wiki or dashboard. Use it whenever the user wants to see, show, share or embed a model in 3D. Give the link to the user to click; this tool does not open a window by itself.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"isolate":{"description":"Show only this IFC class, e.g. IfcWall, IfcDoor, IfcSpace.","type":"string"},"lang":{"description":"Interface language: en, es, ca, fr, de, it, pt, ja, zh or th.","type":"string"},"map":{"description":"Place the models on the 3D city map at their own georeference.","type":"boolean"},"models":{"description":"Public http(s) URLs of IFC files. Several URLs load together as one federated scene. Local paths do not work here: the browser has to download the file.","items":{"format":"uri","type":"string"},"minItems":1,"type":"array"},"scans":{"description":"Public point-cloud URLs (LAS/LAZ/E57/PLY…) to load with the models.","items":{"format":"uri","type":"string"},"type":"array"},"ui":{"description":"Interface preset: full (all panels), minimal, kiosk (no chrome), client (read-only for clients), article (for embedding in pages).","enum":["full","minimal","kiosk","client","article"],"type":"string"},"validate":{"description":"Run validation after loading (default true).","type":"boolean"},"view":{"description":"Camera view once the models load.","enum":["iso","top","front","back","left","right","bottom"],"type":"string"}},"required":["models"],"type":"object"},"name":"open_in_3d_viewer","title":"Open IFC models in the 3D viewer"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Build a link that opens IFC models with the drawings pane beside the 3D view and a floor plan already cut from the model. In that pane the user can also drop DXF or PDF drawings, place them over the model, calibrate the scale, compare plan against model, add dimensions and text, and export to DXF, SVG or PDF. Use it when the user wants a 2D plan, to check a drawing against the model, or to mark up a sheet.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"lang":{"description":"Interface language: en, es, ca, fr, de, it, pt, ja, zh or th.","type":"string"},"models":{"description":"Public http(s) URLs of IFC files. Several URLs load together as one federated scene. Local paths do not work here: the browser has to download the file.","items":{"format":"uri","type":"string"},"minItems":1,"type":"array"}},"required":["models"],"type":"object"},"name":"open_drawings","title":"Open technical drawings next to a model"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Read a DXF drawing (ASCII, R12 to current) and summarise it: DXF version, units, layers with how many entities each, entity types, drawing extents and the text found on it (room names, labels, title block). Runs locally. Use it to tell what a drawing contains before placing it next to a model with open_drawings. DWG is detected but not read: ask the user to save it as DXF.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"maxTexts":{"default":50,"description":"How many text strings to return.","maximum":1000,"minimum":0,"type":"integer"},"source":{"description":"Path to a local file (absolute, or relative to where the server runs) or a public http(s) URL.","minLength":1,"type":"string"}},"required":["source"],"type":"object"},"name":"read_dxf","title":"Summarise a DXF drawing"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Link to the 3D sketch studio: draw strokes in 3D space with a pen, finger or mouse — over a blank canvas or around a model — on a phone, tablet, foldable or desktop, and export to SVG, PSD, ORA or Blender. Free, in the browser, no account. Use it when the user wants to sketch an idea, mark up a design in 3D or make a concept drawing.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"open_3d_sketch","title":"Open the 3D sketch studio"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"List the ready-made city digital twins (Barcelona, Helsinki, Tokyo): georeferenced IFC models on terrain and the OpenStreetMap city, painted with live open data (bikes, EV chargers, traffic, air quality, trains). Each has a link and an embed link. Also returns the link to the twin builder, where the user builds their own twin (AGV warehouse, import tracking) from a CSV or live feed. Use it when the user asks for a digital twin demo or wants to start one.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"list_digital_twins","title":"List live digital twin scenes"},{"annotations":{"openWorldHint":true,"readOnlyHint":true},"description":"Read entities from a FIWARE context broker (Orion, Orion-LD, Scorpio, Stellio) over NGSI-LD or NGSIv2 and return them as flat records (id, type, each attribute value with its unit, lat/lon, observedAt) — the same shape the viewer's twin panel binds to IFC elements. The request goes from this machine straight to the broker. Use it to see what live data a broker offers before linking it to a model.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"api":{"default":"ld","description":"ld = NGSI-LD, v2 = NGSIv2.","enum":["ld","v2"],"type":"string"},"broker":{"description":"Broker root, e.g. https://orion.example.com:1026","format":"uri","type":"string"},"context":{"default":"","description":"JSON-LD @context URL (NGSI-LD), for short attribute names.","type":"string"},"limit":{"default":20,"description":"How many entities to return.","maximum":1000,"minimum":1,"type":"integer"},"servicePath":{"default":"","description":"Fiware-ServicePath (NGSIv2 only).","type":"string"},"tenant":{"default":"","description":"NGSILD-Tenant / Fiware-Service, if the broker uses one.","type":"string"},"type":{"default":"","description":"Entity type, e.g. AirQualityObserved, ParkingSpot. NGSI-LD needs one.","type":"string"}},"required":["broker"],"type":"object"},"name":"read_fiware_entities","title":"Read entities from a FIWARE context broker"},{"annotations":{"openWorldHint":false,"readOnlyHint":true},"description":"Search the Port de Barcelona BIM object library (cranes, bollards, fenders, signs, buildings… IFC, CC BY 4.0) by words and category. Each hit has its IFC download URL and a link that opens it in the 3D viewer. Use it when the user needs port or maritime infrastructure objects for a model or twin.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"category":{"description":"Only this category (the answer lists them).","type":"string"},"limit":{"default":20,"maximum":100,"minimum":1,"type":"integer"},"query":{"default":"","description":"Words to look for in the object name, e.g. \"grua\", \"bolardo\", \"crane\". Empty lists everything.","type":"string"}},"type":"object"},"name":"search_port_library","title":"Search the Port de Barcelona IFC library"}]}}}
