header-replay
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENROUTER_API_KEY | No | API key for OpenRouter, used when requesting AI review through the OpenRouter provider. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Rehearse HTTP security headers in a real headless browser. Use simulate_headers to compare a candidate policy with the live page. Private and local URLs are blocked unless allow_private is explicitly true. AI review is optional and uses Ollama first, then OpenRouter.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| scanC | Fetch a URL and return its current response headers. Read-only. |
| simulate_headersA | Load a URL in Chromium with candidate headers and report browser breakage. |
| reviewA | Ask a real LLM to review a simulation report. The report is sent to the selected provider. Use provider=ollama to keep it on this machine. |
| security_headersA | List supported security headers and recommended starting values. |
| modelsC | List local Ollama models and live OpenRouter models with prices. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
scan and simulate_headers both take a URL and involve headers, so an agent could briefly hesitate between them, but the descriptions clearly separate read-only inspection from browser-based candidate testing. review, security_headers, and models each target distinct resources with no real overlap.
The set mixes bare verbs (scan, review) with verb_noun compounds (simulate_headers) and noun phrases (security_headers, models). It is still readable, but there is no single predictable pattern an agent can rely on to infer a tool's role from its name alone.
Five tools is well within the healthy range and each maps to a concrete step or lookup in the header-testing workflow. Nothing appears redundant or padded.
The set covers the full core loop: fetch current headers, simulate candidates in a browser, and get an LLM review, plus reference lookups for supported headers and available models. Minor gaps exist (no diff/compare or saved-report retrieval), but the primary workflow has no dead ends.