How Codex CLI should handle a run queued in an osFoundry session
osFoundry's MCP server exposes a tool, request_session_run, that starts work without any human clicking anything, and it is listed to any client whether authenticated or not. Its description says the call only queues a bounded goal, with the runtime executing it later when available, so the client has to come back to fetch the result. Access is gated in three places: an OAuth token carrying the osfoundry:run scope, a session grant that includes run permissions, and an owner-assigned runner role for that specific session. The author measured response latencies from Japan on an Apple M1, finding roughly 300 to 750 ms medians for the unauthenticated endpoints. The post also explains how the assistant's mailbox is used afterward to communicate with the session, and includes a Python reconstruction of the client side.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in