Skip to main content

Posts

Showing posts with the label MCP

Attaching SandCastle to the CesiumJS MCP

 I've been playing wit ionosphere maps and Cesium's MCP controller this week. I wanted to try some quick experiments, but quickly realized I hadn't learned how to hooik connect the Cesium Sandcastle to the their MCP as a client . The method Codex Sol 5.6 and I finally devised and successfully used  is documented below the video. Using that method, I was able to set up the following ionosphere fly-through as seen by a Starlink satellite. More on that soon. Videos Attach the Cesium MCP Camera Bridge to a Sandcastle Map 1. Confirm the camera MCP is running The camera MCP browser bridge listens at: ws://localhost:3002/mcp/ws Check its health from PowerShell: Invoke-RestMethod http://localhost:3002/mcp/health Before attachment, the response should be healthy but may show "connected": false . 2. Open the map in the Sandcastle editor If the map URL uses standalone.html , replace that portion with index.html while preserving the complet...

Controlling other Geo-Apps with CesiumJS MCP

 Moving the camera to see the sky in CesiumJS maps has always been a little bit difficult for me. So, when CesiumJS announced their baseline MCP for controlling the camera on CesiumJS maps, I leaped at the chance to try out an MCP and to grab hold of better control of my map camera.  This week, the subject of eclipses came up in my Gladych Files research. ( Ferry Barrows Colton , famed National Geographic Science writer of the 1940s was part of the 1947 Brazil eclipse expedtiion, and was also on board the Normandie with Tom Slick in 1937.) That reminded me of the following picture I took of the 2017 eclipse from Wyoming.  I've wanted to identify the stars on that picture for years, so I was curious if CesiumJS had accurate constellation maps for a given date and time. Turns out, they do. But, how to look at the stars? I revived my version of the  MCP camera control server for CesiumJS in a few minutes by starting Codex in the repo directory on my local machine, a...