Skip to main content
Glama
jmars

web-archive-mcp

by jmars

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
web_fetchA

Fetch a URL and archive the result.

Fetches the URL, converts HTML to markdown, and persists the result as a timestamped JSONL entry in the web-archive. Only http and https URLs are allowed; private/internal IPs are blocked.

Args: url: The URL to fetch (http/https only) timeout: Request timeout in seconds (default 30, max 120) token: Optional Bearer token for authenticated requests

web_searchA

Search the web and archive the results.

Performs a web search via DuckDuckGo, persists the results, and returns them formatted. The results are archived for later search.

Args: query: The search query (max 500 chars)

playwright_recordA

Drive a headless Playwright browser against the given URL(s) and record every HTTP request/response into the web-archive store.

Binary/streaming response bodies are skipped, auth headers are redacted by default, and each URL gets a fresh browser context so cookies don't leak between sites. Like web_fetch, this rejects private/loopback addresses (SSRF protection). Recorded entries become searchable once rebuild runs.

Args: urls: URL(s) to visit (http/https; scheme auto-prepended) wait: Extra seconds to wait after page load for async requests timeout: Navigation timeout in seconds (max 120) max_entries: Stop recording after this many request/response entries redact_auth: Redact Authorization/Cookie/Set-Cookie/X-API-Key headers

playwright_startA

Start a persistent interactive Playwright session with always-on traffic recording. Every response observed on the session is archived to the web-archive store in real time. Returns a confirmation.

playwright_navigateA

Navigate the interactive session to a URL (http/https; scheme is auto-prepended). Returns the page title. Every request/response on the session is recorded automatically. Like web_fetch, private/loopback addresses are rejected (SSRF protection); use the standalone CLI if you need to reach an internal/local host.

playwright_clickA

Click an element (CSS selector) in the interactive session.

playwright_fillA

Fill a form field (CSS selector) with a value in the interactive session.

playwright_textB

Return the visible text of the current page in the interactive session.

playwright_htmlA

Return the HTML of the current page in the interactive session.

playwright_screenshotA

Save a screenshot of the current page to ~/Downloads and return the path.

The filename is sanitized (directory components stripped, .png enforced) so it cannot escape ~/Downloads.

playwright_backA

Go back in the interactive session's history.

playwright_forwardB

Go forward in the interactive session's history.

playwright_statsA

Report the interactive session's status and recorded-entry counts.

playwright_closeA

Close the interactive Playwright session and its browser.

archive_listA

List archived web fetch/search entries with metadata.

Args: date_from: Optional start of date range (YYYY-MM-DD) date_to: Optional end of date range (YYYY-MM-DD, inclusive) max_results: Maximum entries to show (default 50)

archive_readA

Read entries from an archive file.

Args: file_id: Archive file name (e.g., '2026-07-30-fetch-example.jsonl') max_entries: Maximum entries to return, newest first (default 50)

rebuildA

Rebuild the FST index for the web-archive domain.

Calls fst-indexer to rebuild the full-text index so archived content is searchable via unified-history-mcp.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jmars/web-archive-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server