[{"data":1,"prerenderedAt":400},["ShallowReactive",2],{"navigation_docs":3,"-guide-webmcp":92,"-guide-webmcp-surround":395},[4,44],{"title":5,"path":6,"stem":7,"children":8,"icon":43},"Guide","\u002Fguide","1.guide\u002F1.index",[9,11,15,19,23,27,31,35,39],{"title":10,"path":6,"stem":7},"Getting Started",{"title":12,"path":13,"stem":14},"Listing Captures","\u002Fguide\u002Fsnapshots","1.guide\u002F2.snapshots",{"title":16,"path":17,"stem":18},"Reading Captures","\u002Fguide\u002Fcontent","1.guide\u002F3.content",{"title":20,"path":21,"stem":22},"Comparing Versions","\u002Fguide\u002Fdiff","1.guide\u002F4.diff",{"title":24,"path":25,"stem":26},"Configuration","\u002Fguide\u002Fconfiguration","1.guide\u002F5.configuration",{"title":28,"path":29,"stem":30},"Agents","\u002Fguide\u002Fagents","1.guide\u002F6.agents",{"title":32,"path":33,"stem":34},"Custom Providers","\u002Fguide\u002Fcustom","1.guide\u002F7.custom",{"title":36,"path":37,"stem":38},"Explorer","\u002Fguide\u002Fexplorer","1.guide\u002F8.explorer",{"title":40,"path":41,"stem":42},"WebMCP Evidence Room","\u002Fguide\u002Fwebmcp","1.guide\u002F9.webmcp","i-lucide-book-open",{"title":45,"path":46,"stem":47,"children":48,"icon":91},"Providers","\u002Fproviders","2.providers\u002F0.index",[49,51,55,59,63,67,71,75,79,83,87],{"title":50,"path":46,"stem":47},"Overview",{"title":52,"path":53,"stem":54},"Wayback Machine","\u002Fproviders\u002Fwayback","2.providers\u002F01.wayback",{"title":56,"path":57,"stem":58},"Arquivo.pt","\u002Fproviders\u002Farquivo","2.providers\u002F02.arquivo",{"title":60,"path":61,"stem":62},"Webarchiv Österreich","\u002Fproviders\u002Fwebarchiv","2.providers\u002F03.webarchiv",{"title":64,"path":65,"stem":66},"Archive.today","\u002Fproviders\u002Farchive-today","2.providers\u002F04.archive-today",{"title":68,"path":69,"stem":70},"Common Crawl","\u002Fproviders\u002Fcommoncrawl","2.providers\u002F05.commoncrawl",{"title":72,"path":73,"stem":74},"WebCite","\u002Fproviders\u002Fwebcite","2.providers\u002F06.webcite",{"title":76,"path":77,"stem":78},"Memento","\u002Fproviders\u002Fmemento","2.providers\u002F07.memento",{"title":80,"path":81,"stem":82},"Archive-It","\u002Fproviders\u002Farchive-it","2.providers\u002F08.archive-it",{"title":84,"path":85,"stem":86},"Conifer","\u002Fproviders\u002Fconifer","2.providers\u002F09.conifer",{"title":88,"path":89,"stem":90},"Perma.cc","\u002Fproviders\u002Fpermacc","2.providers\u002F10.permacc","i-lucide-library",{"id":93,"title":40,"body":94,"description":387,"extension":388,"links":389,"meta":390,"navigation":392,"path":41,"seo":393,"stem":42,"__hash__":394},"docs\u002F1.guide\u002F9.webmcp.md",{"type":95,"value":96,"toc":380},"minimark",[97,102,122,125,128,132,204,215,218,228,232,235,238,254,258,261,289,296,300,324,327,357,376],[98,99,101],"h2",{"id":100},"the-page-becomes-the-archive-client","The page becomes the archive client",[103,104,105,106,111,112,121],"p",{},"The ",[107,108,110],"a",{"href":109},"\u002Fevidence","Archive Evidence Room"," is an investigation workflow that uses WebMCP directly in this documentation site. A compatible browser agent does not have to infer controls, scrape the rendered page, or connect to a separate MCP server. The page registers four typed tools through the experimental ",[107,113,117],{"href":114,"rel":115},"https:\u002F\u002Fgithub.com\u002Fwebmachinelearning\u002Fwebmcp",[116],"nofollow",[118,119,120],"code",{},"document.modelContext"," API.",[103,123,124],{},"Every call updates the same caseboard the person sees. The tools are available throughout this documentation app, so the first call can open the Evidence Room from any docs route. The agent does the bounded archive work. The person can inspect its source, correct its interpretation, and export the evidence brief.",[103,126,127],{},"WebMCP only enhances the page. Without the experimental API, every investigation step still works by hand.",[98,129,131],{"id":130},"a-protocol-with-four-steps","A protocol with four steps",[133,134,135,151],"table",{},[136,137,138],"thead",{},[139,140,141,145,148],"tr",{},[142,143,144],"th",{},"Tool",[142,146,147],{},"Purpose",[142,149,150],{},"Changes the caseboard",[152,153,154,168,180,192],"tbody",{},[139,155,156,162,165],{},[157,158,159],"td",{},[118,160,161],{},"scope_archive_case",[157,163,164],{},"Define a falsifiable historical question and check coverage across archives",[157,166,167],{},"Yes",[139,169,170,175,178],{},[157,171,172],{},[118,173,174],{},"find_change_windows",[157,176,177],{},"Pair 3 to 12 capture records by exact original URL without downloading bodies",[157,179,167],{},[139,181,182,187,190],{},[157,183,184],{},[118,185,186],{},"inspect_archive_change",[157,188,189],{},"Read one pair with pinned provenance and return a short diff excerpt",[157,191,167],{},[139,193,194,199,202],{},[157,195,196],{},[118,197,198],{},"pin_archive_finding",[157,200,201],{},"Record whether the excerpt supports, contradicts, or contextualizes the question",[157,203,167],{},[103,205,206,207,210,211,214],{},"These are investigation operations, not aliases for buttons. A ",[118,208,209],{},"caseId"," identifies the case. The scan returns a limited set of ",[118,212,213],{},"changeId"," values, and one inspected change can become a finding. A stale or invented identifier fails with a recovery step instead of silently starting another case. Each case holds at most 20 pinned findings. Coverage is a broad index sample. Date bounds apply to the change scan. In manual mode, the archive selector lets a person recover when the recommended provider has no captures inside that window.",[103,216,217],{},"Try this prompt from a browser agent while the Evidence Room is open:",[219,220,221],"blockquote",{},[103,222,223,224,227],{},"Investigate how ",[118,225,226],{},"sive.rs"," changed between 2020 and 2022. Scope the case, find candidate capture windows, inspect one, and pin only a finding supported by the excerpt.",[98,229,231],{"id":230},"why-this-is-different-from-the-mcp-server","Why this is different from the MCP server",[103,233,234],{},"The package's MCP server exposes direct archive operations to any MCP client: list, read, diff, and report providers. The Evidence Room composes the same docs APIs into a research protocol for this page and shares its state with the human in the browser.",[103,236,237],{},"That distinction is deliberate:",[239,240,241,245,248,251],"ul",{},[242,243,244],"li",{},"MCP answers an external client. WebMCP and the person work on one visible case.",[242,246,247],{},"MCP supports broad archive work. The page keeps each run small enough for public archive infrastructure.",[242,249,250],{},"The WebMCP output is concise, while the fuller visual context stays in the caseboard.",[242,252,253],{},"A pinned finding stores the agent's interpretation beside the evidence, never inside it.",[98,255,257],{"id":256},"safety-boundaries","Safety boundaries",[103,259,260],{},"Archived pages are input from the open web and may be controlled by an attacker. The Evidence Room therefore:",[262,263,264,271,274,277,280,283,286],"ol",{},[242,265,266,267,270],{},"Registers every tool with ",[118,268,269],{},"untrustedContentHint: true",".",[242,272,273],{},"Exposes at most one short diff excerpt per inspection.",[242,275,276],{},"Wraps that excerpt in explicit markers for untrusted data.",[242,278,279],{},"Renders archive text as escaped text, not executable markup.",[242,281,282],{},"Keeps exact before\u002Fafter snapshot URLs and capture dates beside every finding.",[242,284,285],{},"Passes the browser's abort signal through to each archive request.",[242,287,288],{},"Makes no tools available cross-origin.",[103,290,291,292,295],{},"A diff marked ",[118,293,294],{},"partial"," cannot prove that text was absent outside the compared prefix. The UI preserves that warning through inspection and export.",[98,297,299],{"id":298},"enable-and-test","Enable and test",[103,301,302,303,308,309,311,312,314,315,319,320,323],{},"WebMCP is experimental. Follow the current ",[107,304,307],{"href":305,"rel":306},"https:\u002F\u002Fdeveloper.chrome.com\u002Fdocs\u002Fai\u002Fwebmcp",[116],"Chrome WebMCP setup instructions"," for a browser build that implements ",[118,310,120],{},", then open ",[118,313,109],{},". The status card says ",[316,317,318],"strong",{},"Agent connected"," only after all four tools register. Otherwise it says ",[316,321,322],{},"Manual mode"," and leaves the workflow usable.",[103,325,326],{},"For local development:",[328,329,334],"pre",{"className":330,"code":331,"language":332,"meta":333,"style":333},"language-bash shiki shiki-themes vitesse-light vitesse-light vesper","pnpm build\npnpm docs\n","bash","",[118,335,336,349],{"__ignoreMap":333},[337,338,341,345],"span",{"class":339,"line":340},"line",1,[337,342,344],{"class":343},"shFES","pnpm",[337,346,348],{"class":347},"sHyde"," build\n",[337,350,352,354],{"class":339,"line":351},2,[337,353,344],{"class":343},[337,355,356],{"class":347}," docs\n",[103,358,359,360,363,364,367,368,371,372,375],{},"Open ",[118,361,362],{},"http:\u002F\u002Flocalhost:3000\u002Fevidence",". The page uses the cached Nitro endpoints under ",[118,365,366],{},"\u002Fapi\u002Fcoverage",", ",[118,369,370],{},"\u002Fapi\u002Fsnapshots",", and ",[118,373,374],{},"\u002Fapi\u002Fdiff",". It does not introduce another archive implementation. Window discovery reads only the capture index. When the archive supplies digests, pairs with identical bytes are omitted and known changes rank first. Archived bodies are fetched only for the one window chosen for inspection.",[377,378,379],"style",{},"html pre.shiki code .shFES, html code.shiki .shFES{--shiki-light:#59873A;--shiki-default:#59873A;--shiki-dark:#FFC799}html pre.shiki code .sHyde, html code.shiki .sHyde{--shiki-light:#B56959;--shiki-default:#B56959;--shiki-dark:#99FFE4}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":333,"searchDepth":351,"depth":351,"links":381},[382,383,384,385,386],{"id":100,"depth":351,"text":101},{"id":130,"depth":351,"text":131},{"id":230,"depth":351,"text":231},{"id":256,"depth":351,"text":257},{"id":298,"depth":351,"text":299},"Four tools native to the browser that let a person and an agent investigate historical web evidence on the same visible caseboard.","md",null,{"icon":391},"i-lucide-scan-search",true,{"title":40,"description":387},"GzJCrHhC5QVhJlZKi0po2HWeJOO6tYRghZ2_z3XSRqI",[396,398],{"title":36,"path":37,"stem":38,"description":397,"children":-1},"The pages behind archives.agntn.dev that run the library live, and what each one is for.",{"title":50,"path":46,"stem":47,"description":399,"children":-1},"Ten sources, one class shape. Pick an archive to see its endpoint, its options and the traps.",1788472163768]