{
  "id": 7354666,
  "title": "Context Over MCP, Part IV: No Working Directory At All",
  "url": "https://urgent.news/2026/09/14/context-over-mcp-part-iv-no-working-directory-at-all",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-14T16:26:34.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/wolfejam/context-over-mcp-part-iv-no-working-directory-at-all-g0f"
  },
  "original_language": "en",
  "account": "A WebMCP client operates within a web browser tab, which inherently lacks a concept of a working directory. This absence eliminates the need for an MCP process, transport, or working directory within the client. To register tools and expose context in this environment, WebMCP relies on Chrome's experimental API and a fallback polyfill package, @mcp-b/webmcp-polyfill.\n\nThree tools are demonstrated: fill_6ws, score_faf, and emit_agents_md. fill_6ws is a simple HTML form that registers itself as a tool in the browser. score_faf, a client-side scoring kernel written in WASM, evaluates the provided YAML data and returns a score ranging from 0 to 100. emit_agents_md generates a minimal AGENTS.md file from the scored facts and presents it to the user.\n\nThe registration process involves setting the appropriate attributes on the HTML form, such as toolname, tooldescription, and toolautosubmit. If the browser fails to automatically detect the form, the script registers it manually. The scoring kernel runs entirely in the browser, eliminating the need for an external server or MCP process. The tool also refuses to inflate its score to appear better, maintaining honesty about its limitations. The emitted AGENTS.md file is a simplified version, explicitly stating it is not the complete output produced by the CLI process.",
  "summary": "Part I: an MCP client has no working directory, so it never sees your AGENTS.md . Part II: publish the server so a client can find it. Part III: keep facts as data and instructions as prose, so what it finds is worth seeing. Now take the working directory away completely. WebMCP's client is a browser tab, and a tab doesn't fail to find a working directory. It doesn't have the concept. So what…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}