Skip to content

Project Tracker

Pummelchen edited this page Sep 13, 2026 · 113 revisions

Project Tracker

Home · Installation · Compatibility · Tools Reference · Architecture · Providers · Configuration · Reliability · Security · Self-Hosting · Monitor · Testing · Troubleshooting · Project Tracker


Working record for MCPSearch: what is open, what was observed, and why decisions were made. Updated after each push.

Last updated: audit branch audit/2026-09-13 at 3bcfb93 — Phases A–D complete, all S0/S1/S2 closed; 71 of 120 tasks done, 0 in progress, 0 blocked; 49 S3 remain. main is unchanged at f3dd8d9. This round: the DuckDuckGo region hint is region-language rather than the region twice (B60).

How to read this page. Open issues are things to fix, each with evidence and a proposed action. The action plan turns them into a numbered, ordered task list with acceptance criteria. Observations are measurements and findings that are not defects but would otherwise have to be rediscovered. Decisions record choices that are easy to reverse by accident. Recently resolved is the audit trail.


Pre-production audit (in progress)

A 12-section audit brief is being worked on the branch audit/2026-09-13. main is untouched until Phase E passes.

Phase State
A — inventory, baseline, environment ✅ complete (AUDIT/inventory.md, AUDIT/environment.md, AUDIT/baseline/)
B — L0–L7 passes + placeholder sweep ✅ complete: 121 findings, one committed record each in AUDIT/findings/
C — fix → test → audit in progress: every S0/S1/S2 closed; 71 of 120 done; 49 open (S3)
D — fold new findings ✅ folded: B01–B101 in AUDIT/ledger.md / ledger.json
E — verification on an independent host not started

Task tracker. AUDIT/ledger.md is authoritative for the audit (the JSON twin carries every field); this page mirrors it. 120 tasks: A01–A12 from the first enumeration, B01–B101 folded from the five audit passes (17 duplicate reports merged), B102–B107 found while fixing, and B108 found while recording CI (the actions pinned for Node 20). 71 DONE, 0 PROGRESS, 49 START, 0 BLOCKED; no S2 task remains open. either finished or still to do; nothing is parked.

Closed so far, each with before/after evidence in AUDIT/evidence/:

Task What it was Commit
A01 (S0) A deeply nested page killed the server process, reachable from one web_open call 199a962
B01 (S0) deploy/docker-compose.yml documented a SEARXNG_SECRET_KEY variable SearXNG never reads, so a tracked placeholder signed sessions 2f66ff1
B02 (S0) The redirect loop — the whole SSRF boundary for redirects — had no test at all cee651e
B06 (S1) Untrusted seconds were converted Double → Int without a range check: Retry-After: 1e30 or mcps-mon --interval inf trapped the process fe7a4f3
B07 (S1) Response bodies were fully buffered before the byte cap was applied, so one hostile or endless page could exhaust memory ce6e19c
B04 (S1) Caller cancellation was swallowed mid-flight, and a cancelled web_open started a second outbound fetch through Jina Reader 6838385
B08 (S1) web_open's success path through the MCP tool was never executed by a test f47ce1e
A06 (S2) The five secret-scan findings were one synthetic test literal; the working tree is clean and history is waived in writing bc86e08
A02 (S2) No formatter configuration, so the tool's 2-space default was the only style on record: 19 155 diagnostics 68a7104
A03 (S2) No lint configuration: 504 SwiftLint findings, 27 of them in SwiftPM-generated code, hiding 17 real ones b9dfbbd
A11 (S2) Python had no repository-owned tooling config: ruff rules and pyright are now explicit, and pyright runs at strict with 0 errors 3ac18fe, b313531
A09 (S3) The insecure-WebSocket finding was a rejection fixture; waived in writing on that one line bc00d8e
A08 (S3) urlopen on runtime-built URLs in both Python harnesses; both now assert the destination first 1e62c21
A07 (S3) Homebrew was installed by piping a remote script into a shell; now downloaded and checked against a pinned digest f83b50e
A10 (S1) CI had no gates: now warnings-as-errors, a coverage floor, formatter, linter, type checker and every scanner, with a dispatched run green on the branch 3dee92f
B38 (S3) The CI job token kept the repository default scope; it is now contents: read 0bf6a89
B36 (S3) .gitignore missed the profile/coverage/byte-code output the documented runs produce 26c0d71
B03 (S1) The HTTP transport served exactly one MCP session per process, and it could never be released 89f923a
A04 (S1) The executables' coverage was unmeasurable: the MCP server reported 0 % while being thoroughly exercised 1131f73
B12 (S2) A provider that already failed was charged a second, synthetic deadline failure 6d965a3
B15 (S2) The Jina Reader target was percent-encoded into the path, so URLs with a query fetched the wrong resource 25e8739
B13 (S2) The session resource timeout silently capped every per-request override, including the 45 s synthesis budget 6b7e161
B14 (S2) web_open had no total deadline, so a slow-drip server could hold a tool call open indefinitely a1ed6f5
B16 (S2) PDFs were on the content-type allow-list and returned as Latin-1 mojibake labelled raw_text 33f755d
B17 (S2) The secret-key substitution in provisioning was unchecked: a failed sed left a publicly known placeholder signing a live instance 4807c93
B26 (S2) Only [n] markers were validated, so the answer prose could carry fabricated URLs fcaedef
B27 (S2) Retrieved text and provider answers entered the prompt and the output undelimited (indirect prompt injection) 55cd6d7
B09 (S2) Nothing validated configuration at startup: a typo or a missing config file was silently discarded 7fe161f
B11 (S2) A half-open circuit breaker authorised every concurrent caller, because authorize discarded the breaker's refusal outside its .open branch e4468c2
B25 (S2) Engine names, unresponsive_engines reasons and error text from a probed instance reached the operator's terminal unfiltered, so an OSC 52 payload or ESC[2J in an engine name was executed by the tty 22dfdab
B21 (S2) The HTTP Host allow-list was hard-coded to 127.0.0.1/localhost/[::1], so the documented --host + TLS-proxy deployment was answered with 421 Misdirected Request 1da6cee, 434a441
B18 (S2) The web_open rejection test accepted any message containing "Refused" for every row, so its expectation column was unenforceable 0b9a17d
B19 (S2) The budget test never read the request it was given, so handing providers maxResults instead of the surplus budget kept it green 7ce4ebf
B22 (S2) The CI Swift-version gate skipped its own error branch and exited 0 when swift -version could not be parsed 1b8baf0
B24 (S2) The cancellation test accepted "CancellationError or any HTTPError", which is every failure the client can produce 659d4bf
B29 (S2) maxRetryAfter — the cap that stops a hostile Retry-After stalling a search for an hour — had no test f930809
B10 (S2) Ctrl-C arrived as a signal instead of the byte the dashboard's quit branch handled, and nothing restored the terminal 952a86d, aaab746
B107 (S2) An external SIGINT/SIGTERM killed the process with the shell still in raw mode (found while fixing B10) aaab746
B28 (S2) Nested content containers made preferredContentRoot re-walk every subtree: 7.19 s for a 1.8 MB crafted page a3fff01
A05 (S2) swift-nio was the last direct dependency pinned by range rather than exactly 09c5122
B32 (S2) Tool-argument guards and clamps were untested beyond three malformed shapes 6afd1bb
B35 (S2) Orchestrator tests slept for a detached task that no longer exists and bounded the call by the CI scheduler a9430ff
A12 (S2) Nothing linked AppConfiguration.Key to the strings in example.env, the scripts, deploy/ and CI b886277
B30 (S2) DirectHTTPFetcher's content-type gate, raw-text path, byte cap and timeout mapping had no test 699373d
B23 (S2) soak.py --providers was not authoritative: an ambient SEARCH_DISABLED_PROVIDERS kept a requested provider disabled ddc3708
B31 (S2) AppConfiguration.load and its file-vs-environment precedence had no test 7382892
B34 (S2) ResultNormalizer's URL repair and text cleaning were untested; testing found a mailto: link repaired into a credential URL 40379b8
B33 (S2) WebFetcher's reader-failure arm was untested in both shapes (native fallback with a warning, and the direct error surfacing) 79eea24
B20 (S2) The HTTP-transport harness closed its probe socket before the child bound, and its comment claimed collision-freedom ad00aec
B55 (S3) The uncalled ProviderHealth.setNote was dead public API cf50be4
B53 (S3) Terminal.truncate counted escape bytes as columns, cutting styled text short and slicing sequences fab9797
B42 (S3) The hand-rolled Origin check accepted any host starting with 127., a registrable name 258dcc7
B52 (S3) A cancelled request leaked the half-open probe it had claimed, stranding the breaker for good dc281ed
B51 (S3) Log.escape kept a diagnostic on one line but let ESC/C1/Cf bytes reach the terminal 8c4ea47
B45 (S3) The smoke harnesses' "prove the scrub" loops popped keys that were never there 50795f7
B47 (S3) example.env told the operator to fix a SearXNG setting the shipped file already sets cf7bb75
B44 (S3) The soak's "provider never contributed" failure existed only in a comment 790bb52
B43 (S3) The baseline table cited the raw gitleaks report, which is deliberately not committed fe99ce1
B40 (S3) Nothing detected that Package.resolved had drifted from the manifests 2e1e01f
B37 (S3) Committed baseline evidence embedded the auditor's absolute home path and 2.5 MB of raw dumps 168be07
B39 (S3) CI did not pin the Swift toolchain and did not record which one ran b62731c
B63 (S3) Entity decoding replaced sequentially over its own output, so &amp;lt; decoded to a live < 2ffb23e
B77 (S3) ToolArguments.bool(_:) had no caller dce7118
B74 (S3) --no-nodes was silently ignored when a --node was also present d78d414
B59 (S3) PARALLEL_MCP_URL= could not clear the built-in endpoint; the branch was unreachable ca465f0
B61 (S3) Hyphenated boilerplate markers (side-bar, site-header, …) could never match 4112d77
B62 (S3) isReserved refused 192.0.0.0/16 while documenting /24 e2fb687
B60 (S3) The DuckDuckGo kl hint sent the region twice (us-us) instead of region-language 3bcfb93
B05 The temporary audit diagnostics file, deleted as part of A01 199a962

Numbers right now. Suite 477 tests, 6 skipped, 0 failures (baseline 371 — the added tests are A01's regressions plus the new redirect and conversion tests); debug and release builds warning-free; AddressSanitizer clean, where it aborted the process before A01's fix; ThreadSanitizer clean; swift-format lint --recursive --strict is at 0 after A02, and the full-history secret scan is clean or waived in writing (A06); SwiftLint --strict and ruff are at zero too, pyright runs at strict with 0 errors, and semgrep reports 0 findings with no exclusion anywhere. Coverage, linters and scanner output live in AUDIT/plan.md and AUDIT/baseline/.

Coverage, and the executables. The percentages below are from the A10 baseline run; the CI coverage floor (80 %) is re-checked on every branch run, including the ones that added the tests above. The suite reports coverage for the library and both executables: WebSearchCore 91.3 %, SwiftWebSearchMCP 86.1 % (it was 0 % — the MCP surface is driven as a subprocess, and its profile never reached the report), MCPSMonitor 30.1 %, Sources/ overall 87.1 % against the CI floor of 80 %.

A01, the one S0 fixed so far. A page nested a few thousand elements deep killed the server process — reachable from one web_open call against a hostile URL — because SwiftSoup parses recursively on a Swift concurrency cooperative task. Fixed with a 512-level nesting bound (MarkupDepth), a rejection of bodies that are not markup at all on the scraper path, and by parsing on a dedicated 8 MiB-stack thread (LargeStackParse). Measured before: SIGBUS at 5 000 levels on the scraper path and 20 000 through web_open; after: ASan and the full suite green. Full record: AUDIT/ledger.md, section A01.

Status at a glance

Area State
MCP server (stdio) Working; 371 hermetic tests plus live verification against Tavily and DeepSeek
HTTP transport Working; loopback by default, no auth and no TLS by design (ISSUE-7). One session per client since the audit: each initialize gets its own server and transport, and DELETE releases it (B03)
Client compatibility Schemas satisfy the documented strict-mode rules for OpenAI, Anthropic and Open Responses, and are linted; verified by rules, local protocol tests and a real socket — no vendor round trip, by decision
Self-hosted search 5 SearXNG instances (this Mac + node1–4), all healthy; image pinned by digest
Answer synthesis web_answer working; opt-in, grounded in fetched results only
Monitor mcps-mon working; B104's "debug crash" was a stale incremental build, not a defect. Ctrl-C quits cleanly and an external SIGINT/SIGTERM now restores the terminal too (B10, B107), asserted on a real pseudo-terminal in CI
SSRF boundary Embedded-IPv4 literals are unwrapped and classified; the DNS-rebinding window is accepted and documented
CI Green on main (run 34732076012) and green on the audit branch (run 34735662690, both jobs, all new gates). The branch run had to be dispatched by hand: the workflow listens on main pushes, PRs to main and workflow_dispatch. Runner capacity still queues runs before they start (ISSUE-13)

Open issues

Ordered by how likely each is to bite. ID is stable for reference in commits. Resolved IDs (1–5, 8, 11, 12, 14–17) are no longer listed; the action plan below retains them so a task and its commit message stay traceable.

ISSUE-7 — HTTP transport has no authentication or TLS

Severity: high if exposed · Area: security

Decided, and kept open as an accepted limitation: there is no built-in authentication and no TLS. Loopback (127.0.0.1) is the default bind, a non-loopback bind logs a warning and is unauthenticated by design, not by oversight, and the only supported exposed deployment is behind a TLS-terminating reverse proxy, which can also do authentication. Bearer-token auth in the server is deliberately out of scope. Both vendors require an https:// connector URL, so a proxy is needed for them in any case.

Action: none until the deployment shape changes; the reverse-proxy requirement is the supported answer.

ISSUE-9 — The cluster cannot supply independent public IPs, and the block is DNS-based anyway

Severity: informational (architectural, not fixable locally) · Area: self-hosting

Measured per node, with each account matching its hostname (node1@node1, …):

Machine Public egress v4 Public egress v6 Exit node
this Mac 91.99.176.243 2a01:4f8:c17:ecab::1 deltasona (Germany)
node1 182.253.9.73 2404:8000:1060:3a62:396e:cf18:6055:8576 none
node2 182.253.9.73 2404:8000:1060:3a62:5c1d:ccbb:f747:bad7 none
node3 182.253.9.73 2404:8000:1060:3a62:1d40:4136:97c9:2dcd none
node4 182.253.9.73 2404:8000:1060:3a62:50d6:2095:2b0b:2f36 none

The Tailscale overlay addresses (100.x, fd7a:…) are a separate thing again and are how the instances are reached, not what an engine sees.

The nodes hold distinct public IPv6, and IPv6 egress works — but it is useless as an independence lever, because DuckDuckGo publishes no AAAA record (html.duckduckgo.com is a CNAME to duckduckgo.com, A 40.114.177.156 only). Every node therefore reaches it over IPv4 from the same 182.253.9.73.

The earlier write-up called this IP reputation. That was wrong, and the correction matters because it changes what is fixable. Pinning the real address bypasses the problem entirely, from the node, without leaving the LAN:

dig html.duckduckgo.com            -> rpz.biznet. / 202.169.44.80   (serves nothing)
dig @8.8.8.8 html.duckduckgo.com   -> 202.169.44.80                 (hijacked too)
dig @1.1.1.1 html.duckduckgo.com   -> 202.169.44.80                 (hijacked too)
curl --resolve html.duckduckgo.com:443:40.114.177.156 ... -> HTTP 200, "swift at DuckDuckGo"

So the Indonesian ISP blocks DuckDuckGo by poisoning the name for every resolver, not by refusing the address. www.bing.com and search.brave.com resolve normally and both answer HTTP 200 from the node.

The second, independent fault is SearXNG's own engine: even from the Mac's clean German egress, where a plain GET returns results, SearXNG logs SearxEngineCaptchaException: CAPTCHA (wt-wt) and curl_cffi ... SSLError, because its DuckDuckGo engine uses scripted form POSTs. That is request shape, not IP.

Action: no action needed for correctness — the Mac's egress serves DuckDuckGo 10/10 through our own adapter, which does not share SearXNG's fault. If a node ever needs DuckDuckGo, pin the verified address in the container with an extra_hosts entry (node-local, no /etc/resolv.conf change), and accept that the pinned address needs maintenance. Giving the nodes genuinely independent public IPv4 remains impossible while they stay on this LAN; distinct IPv6 does not help because the engines do not publish AAAA.

Note: deploy/provision-node.sh and the monitor use the Tailscale addresses as reachability, not as egress. The distinction above does not change that.

ISSUE-10 — node5 is unprovisioned

Severity: low · Area: deployment

node5@100.99.92.66 rejects authentication with Permission denied (publickey,password,keyboard-interactive).

This was assumed to be explained by the shared-login mistake on node1–4, where the account matches the hostname (node1@node1, …). That hypothesis is now disproved: node5, andreborchert and admin, each with the node1–4 password, are all rejected. node5 is therefore a genuinely different machine state, not a naming mistake.

Action: needs a fact only an operator has — the correct account, or a password reset, or the public key installed. Until then node5 stays out of the cluster; the other four and the Mac do not depend on it.

ISSUE-13 — CI depends on macOS runner availability

Severity: low · Area: process

Runs have queued for 15+ minutes and been superseded by the cancel-in-progress concurrency group. This is capacity, not code: every run that obtained a runner passed until 41d5693. It is recorded because "the check did not run" must not be mistaken for "the check failed".

Action: none; note it when reporting CI status. The one failure at 41d5693 was ISSUE-14 (a stale smoke-test assertion), not capacity, and it is now fixed. The current run is again queued rather than failed.


Action plan

Numbered so a task can be named in a commit message. Ordered by risk: restore the build first, then the security hole, then what callers actually see, then quality, tests, documentation, and finally decisions only an operator can make. Each task ships on main — no branches — and follows the same loop: code, test, audit, document, update this page. A task is finished only when its "done when" condition is met and CI is green.

Dependencies, merges and deliberate exclusions are recorded in the audit note.

P0 — Restore green (blocking)

  1. Make a local build possible at all — do this before anything else. .build is inside Dropbox and Dropbox has evicted its state: build.db and debug.yaml are compressed,dataless and cannot be read (a 5s read times out; a 60s cat of build.db never returned), so swift build --build-tests sits at 0% CPU with no compiler children, blocked in llbuild's mmap() of the build file. Measured 2026-09-13: 15 dataless files under .build while Sources/ and Package.swift read normally. Every remaining task needs this loop. Done when: swift build --build-tests and the hermetic swift test complete on this machine, with the build directory either outside Dropbox (--scratch-path) or held offline. Done: the verified loop is --scratch-path ~/Library/Caches/MCPSearch/scratch, and .build is now marked com.dropbox.ignored with zero dataless files under it. A plain in-tree build still stalls in swift-frontend/fileproviderd here, so the scratch path is the documented local workaround. See Testing.
  2. Fix the stale smoke-test tool list. scripts/mcp_smoke.py must require the four documented tools. Done when: both smoke modes pass locally against a fresh release build and CI is green at the new HEAD, including the previously unreachable steps. Done (de63b81): both modes pass locally, and run 34726601585 confirms them green in CI, including the HTTP phase that had never run since web_answer landed.
  3. Stop duplicating the tool list. Keep the authoritative assertion in StdioServerTests/SchemaCompatibilityTests; have the Python script require the four documented tools and their schemas rather than owning an exhaustive set. Done when: adding a throwaway tool to the server breaks exactly one layer, not two. Done (de63b81): REQUIRED_TOOLS is a presence check and extra tools are printed, not failed.
  4. Refresh the local build artifacts. The local executables predate web_answer, so a local smoke run can falsely pass. Done when: local binaries postdate the sources and mcp_smoke.py and soak.py --queries 1 both run against them. Done (de63b81): both smoke modes were run against a fresh scratch-path release build.

P1 — Security

  1. Fix the embedded-IPv4 SSRF bypass (ISSUE-15): normalise v4-mapped, NAT64, 6to4 and Teredo forms before classification. Done when: http://[::ffff:127.0.0.1]/ is denied by a test, and no embedded form reaches allow. Done (eb4c52a).
  2. Decide the DNS-rebinding TOCTOU: either pin the validated address for the connection or record it as an accepted limitation with measured evidence in Security and here. Done when: the behaviour is deliberate and documented, not incidental. Done: recorded as an accepted limitation — URLSession cannot bind the validated address without breaking TLS hostname validation, the window is one DNS TTL, and every redirect hop is re-validated. See Security and Known limitations.
  3. Extend URLPolicyTests with the embedded-IPv4 negative matrix and the SEARCH_ALLOW_PRIVATE_NETWORK boundary. Done when: the matrix covers every form the fix normalises. Done (eb4c52a).
  4. Fix web_open error attribution (ISSUE-17.1): report fetchFailed, never a Tavily network failure. Done when: a test asserts a non-2xx page fetch names no provider. Done (73a5ac0): FetchBehaviorTests covers it against a real socket.
  5. Separate local skips from upstream errors (ISSUE-17.2). Done when: all-providers-429 yields providersFailed with the real categories, and all-locally-skipped still yields temporarilyUnavailable. Done (d41becd): the decision now counts authorised requests rather than inferring from failure categories, and providers still in flight at the deadline count as attempted.
  6. Stop mcps-mon probing without --probe (ISSUE-16). Done when: a non-probe refresh performs zero provider searches, asserted by a test, and the docs match. Done (3187ea0): the unconditional cycle % 6 term is gone; providers are probed once on the first frame and thereafter only on --probe/p, asserted by a test. Free mode is free after the first frame, which costs one credit per configured keyed provider.
  7. Curate provider failure messages (ISSUE-12): replace urlError.localizedDescription so a key in a query string can never reach web_search_status. Done when: a Mojeek-shaped failure carries no URL. Done (0edc66b).

P2 — Service behaviour

  1. Make health registration deterministic: no fire-and-forget Task for health.register, so an early request cannot bypass breaker and limiter. Done when: a test proves the limiter applies to the first request after construction. Done (2c9be10): registrations are applied in ProviderHealth's initializer before the pipeline is returned.
  2. Serialise breaker transitions so concurrent searches cannot apply a failure before an earlier success. Done when: ordering is asserted under concurrent load. Done (2c9be10): breaker updates are awaited so their order matches the searches.
  3. Stop the mode deadline from opening breakers: deadline cancellation is not a provider failure. Done when: three budget-expired searches leave every breaker closed. Done (2c9be10): the deadline is still counted and shown by web_search_status but no longer reaches the breaker; a genuinely slow provider still fails its own request timeout, which does count.
  4. SEARCH_CONNECT_TIMEOUT_MS: make it real or remove it from the code, example.env and the wiki. Done when: the variable either has an observable effect or no longer exists. Done (4ef1888): removed. The transport has no connect-only deadline, so SEARCH_REQUEST_TIMEOUT_MS is what bounds a stalled connection.
  5. Transport flags must not silently switch transports. --port/--host/--http-path currently force HTTP order-dependently. Done when: conflicting flags fail loudly or the override is documented and tested. Done (4ef1888): HTTP settings are collected and applied after parsing, so argument order cannot decide the transport, and combining one with an explicit --transport stdio is rejected as a conflict.
  6. Rate limiting that does not turn into a hard error (ISSUE-1): back off inside the search budget, or return a clear "throttled, retry in Ns". Done when: the measured single-provider failure mode is gone. Done (569e6d3): one last-resort pass waits out an affordable throttle (max 6 s and half the remaining budget) when the alternative is an empty result; the first pass still denies rather than waits.
  7. Refill a wasted fan-out slot (ISSUE-2) when a selected provider is skipped. Done when: a balanced soak shows the free provider participating. Done (f393947): refills come from the same preference order; an upstream failure is never replaced.
  8. Per-result upstream-engine attribution (ISSUE-3) so the aggregator discount is exact. Done when: SearchResult carries the engines and clustering folds same-family votes. Done (e1359c0, b3b66fc): SearchResult.upstreamEngines is populated by the SearXNG adapter, and a resold page is attributed to the index it came from so it does not look independently corroborated across two families.
  9. Stop web_open duplicating the page title (ISSUE-4). Done when: a titled page renders its title once. Done (f393947): the synthesised heading is omitted when the body already opens with the title, asserted on FetchResult.

P3 — Code quality

  1. Decide JinaSearchProvider: make it selectable or delete it with its key plumbing and hints. It is currently unreachable. Done when: no registered adapter is unselectable. Done (e60203e): the adapter and the ProviderID.jina case are deleted. Jina is extraction-only, and its reader failures are fetch-scoped.
  2. Honour or delete ProviderCapabilities — pagination is advertised by three adapters and sent by none. Done when: no advertised capability is a fiction. Done (e60203e): deleted rather than left as a promise the code does not keep.
  3. Exa content: request contents.text or drop the dead content: item.text mapping. Done (e60203e): the dead mapping and its snippet fallback are gone; requesting full text stays a deliberate, priced decision.
  4. Remove the remaining unreachable surface and no-ops: RankFusion.ClusterDiagnostics, HTMLDocument.canonicalURL, allProvidersFailed, notFoundIsEmpty, fusionWeight(_:), ProviderHealth.reset, SearchCache.clear, Log.withLevel, isConfiguration, Data.truncatedPreview, and the empty if in SearchOrchestrator.swift:87. Done when: the library has no dead public surface, or it is documented as API. Partly done (a375ddd): each listed symbol was re-verified to have no caller and removed. RankFusion.ClusterDiagnostics and SearchError.allProvidersFailed remain as documented API rather than defects.
  5. Port convention: document or remove the SearXNG-8080 versus MCP-HTTP-8080 collision. Done (e60203e): the compose file records why SearXNG is published on 8888 while the MCP HTTP transport defaults to 8080.
  6. Move the hardcoded Tailscale node addresses out of production source into a documented default, and cover them with an assertion stronger than contains(":8888"). Partly done (e60203e): the monitor's default node list is now asserted exactly, but the addresses still live in Sources/MCPSMonitor/main.swift.

P4 — Tests

  1. Adapter contract tests (ISSUE-5): Startpage happy path, Open Web Search, Parallel MCP, Jina Reader, and call the shared assertFailureTaxonomy for every adapter instead of Tavily alone. Done when: dropping a 401 case from any adapter fails a test. Done (c02c969): every adapter now runs the shared taxonomy. The only remaining gap is live coverage — Tavily is the only key — recorded under Known limitations.

  2. Cover the untested surfaces: HTTPMCPHost/HTTP transport in Swift, a successful web_open, the direct-to-Jina fallback, ProviderRegistry, ProviderHealth, NodeProbe, ProviderProbe, SearchPipelineFactory. Done (c02c969): HTTPTransportTests drives the built executable over an ephemeral loopback port, FetchFallbackTests covers the reader chain, and ProbeTests covers both probes plus registry/factory wiring.

  3. Make the 28 silent skips loud: fail in CI when the executable is missing instead of skipping, and single-source the three environment scrub lists. Done (c02c969): the scrub list lives in TestSupport and is mirrored by scripts/mcp_smoke.py; the three harnesses now fail rather than skip when the binary is absent.

  4. Remove or use the dead test helpers (assertNoCredentialLeak, ImmediateClock). Done (c02c969): ImmediateClock is gone and assertNoCredentialLeak is used by the Mojeek contract tests.

  5. soak.py: make --providers actually restrict the run, and broaden the credential-leak scan beyond two hardcoded substrings. Done (c02c969): --providers is enforced through the environment, and the scan checks every secret load_secret_values() finds.

  6. Small test repairs: the malformed declaration at StdioServerTests.swift:659, and an assertion on the negotiated protocol revision rather than none. Done (c02c969): StdioServerTests asserts the negotiated revision is one the server actually knows.

  7. Make live tests an explicit opt-in instead of a key-shape heuristic, so a plain swift test cannot spend credits by accident. Done (c02c969): SEARCH_LIVE_TESTS is required in addition to a usable key.

  8. CI hygiene: SwiftPM cache against the 30-minute budget, SHA-pinned actions, and a scheduled live smoke once credentials exist. Done for the first two (c02c969): the dependency graph is cached and the actions are pinned by commit SHA. The scheduled live smoke still needs CI secrets that do not exist (see the audit note).

  9. Cover the interactive display without a desktop. The dashboard's keys, colour and cursor control only run when stdin and stdout are a terminal; a pipe is not one, and pressing keys by hand needs a window on somebody's desktop. A pseudo-terminal is a kernel object with no GUI involved, so scripts/monitor_tty_smoke.py attaches a live mcps-mon to one, types p/r/e/c/q in a 120x40 window, and asserts on the frames and escape sequences that come back, against a loopback SearXNG stub with every provider variable scrubbed. Done when: the harness passes locally and in CI. Done (4eaf7e9): CI runs it beside the other smoke tests and it passes there (run 34731005495, step 10) with every key exercised. It found that e hid the engine data but left the engines column header behind (62b9e88), and its own first CI run failed while passing locally: PTY reads are chunked, so the assertions were inspecting a half-written frame. A frame now counts only once it is complete, and MONITOR_SMOKE_READ_CHUNK=8 dribbles the reads so the partial-frame path is exercised locally rather than only on a loaded runner.

P5 — Documentation sync

  1. Home and Security: delete the false claim that scrapers are discounted or down-weighted during fusion — scraperWeight is 1.0 by deliberate design. Done (this pass).
  2. Installation: three dependencies, not two, and add mcps-mon to the product table. Done (this pass).
  3. Monitor and README: document --allow-expensive-probing, the --watch alias and the 60s probe auto-raise. Done (this pass): also corrected the Monitor page's claim that free mode issues no provider searches at all.
  4. Resolve the config.env contradiction: implement the executable-relative fallback or correct AppConfiguration.load's doc comment and example.env. The Configuration page is already accurate; the promise of a fallback is not kept anywhere. Still open; the wiki was deliberately left correct and the fallback claim was not added.
  5. Fix stale code comments: ToolHandlers.swift:5 ("three tools"), main.swift:11, DuckDuckGoProvider.swift:10 (scraper down-weighting), deploy/docker-compose.yml:7-9. Still open (Sources/ was out of scope for this documentation pass).
  6. README and docs drift: the no-key route count, the Parallel and DuckDuckGo figures (upstream tiers, not our limiters), and the OpenAI report's requirement for a JSON copy of structuredContent against the deliberate human-readable rendering. Partly done (this pass): the no-key route count is corrected to four, and the OpenAI report now specifies a human-readable text block instead of a JSON mirror. The Parallel and DuckDuckGo figures in the README are unchanged.

P6 — Operator decisions

  1. ISSUE-7: decide bearer-token auth versus reverse-proxy-only for the HTTP transport. Done: decision recorded — no built-in authentication; loopback is the default; a non-loopback bind warns; a TLS-terminating reverse proxy is the only supported exposed deployment, and bearer-token auth is deliberately out of scope. ISSUE-7 stays open as an accepted limitation. See Security.
  2. ISSUE-11: pin the SearXNG image digest. Done (7e0a3eb): pinned in both deploy/docker-compose.yml and deploy/provision-node.sh.
  3. ISSUE-8: register the container daemon for login on this Mac. Done: Docker Desktop's own auto-start cannot be used here (AutoStart: false, app-service registration refused by macOS), so a user LaunchAgent com.mcpsearch.docker-autostart runs /usr/bin/open -a /Applications/Docker.app at login. Installed and loaded; not yet tested through a reboot. Removal steps are in Self-Hosting.
  4. SearXNG posture: replace the placeholder secret_key, decide limiter: false, and decide the node bind address (all interfaces versus Tailscale only). Done (7e0a3eb, this pass): provision-node.sh generates a per-node secret key and documents limiter: false plus the LAN bind; the Mac's compose instance is loopback-only.
  5. provision-node.sh: verify the replacement before removing the running container, check for python3 and curl, and stop advertising a fallback address when Tailscale is absent. Done (7e0a3eb): a canary container must answer JSON before the running one is replaced, required tools are checked, and the script reports Tailscale, a LAN fallback, or neither.
  6. ISSUE-10 (blocked): node5 needs the correct account, a password reset or the public key.
  7. ISSUE-6 — refused, not planned. A real OpenAI or Anthropic MCP handshake through a tunnel would need a vendor account, and providing one was declined. The compatibility claim is therefore bounded to documented rules, SchemaCompatibilityTests, the HTTP session tests and stdio end-to-end coverage, and is stated that way everywhere rather than left as pending work.

Action plan audit

Reviewed as a whole after it was written.

  • Dependencies. 47 blocks everything (no local build, no verification loop); 1 → 2, 3 (nothing can be verified until the smoke test passes); 4 → 5, 6; 9 and 26 need task 3's fresh build; 27 needs task 1 so the HTTP smoke actually runs; 34-39 must follow the behaviour changes in 11-19 or they will be written twice.
  • Numbering exception. 47 was appended rather than inserted as 1, and 48 was appended to the end of the test phase, so that no identifier referenced from a commit message moves — the same reason the issue IDs are stable. Task 47 still belongs to the first group and is done first; task 48 belongs with the tests.
  • Merges made during the audit. The unrelated no-op statement became part of task 23 rather than its own item. ISSUE-17 stayed one issue with two tasks because the caller-visible symptom is identical. The port convention moved out of the security phase, where it did not belong.
  • Deliberately not tasks (they are Ideas or Known limitations, not defects): a disk-backed result cache, fanning out across several SearXNG instances, a genuinely independent index, Google CSE and Bing support, JavaScript execution in web_open.
  • Blocked, not neglected: task 45 (node5) needs a fact only the operator has — the correct account, a password reset or the installed public key. Task 33's scheduled live job needs CI secrets, and there are none configured; live coverage for adapters without keys cannot be written until keys exist.
  • Refused, not blocked: task 46 / ISSUE-6. Providing an OpenAI or Anthropic account was declined, so no vendor round trip will be run and the compatibility claim is stated as bounded instead of pending.
  • Corrections made when the plan was written. The status table said CI was green and it is not; ISSUE-13 said every run that obtained a runner passed, which stopped being true at 41d5693; the self-referential wiki SHA was removed because no page can name its own commit.
  • Completed in the 17-commit pass after web_answer. Tasks 1–22, 24, 27 (partly), 34–36, 39 (partly), 40–44 and 47 are code-complete, each naming the commit that finished it. Tasks 23, 25, 27 and 39 are partly done and the remainder is stated on the task. **Done** here means verified by a local scratch-path build, the 309-test hermetic suite and both smoke modes; the run that proves them on CI was still queued when this was written, so it is code-complete rather than CI-confirmed.
  • Completed in the test-coverage pass (c02c969, 5afa7a7, bc56236). Tasks 26–33 are done except the scheduled live smoke inside 33. The committed HEAD bc56236 was verified locally at 368 tests, 6 skipped, 0 failures; the CI run for it was still in progress when this page was written, so the done markers are local-verified rather than CI-confirmed.
  • Corrected in this documentation pass. ISSUE-4 had already been fixed by the code but was still listed open, so it moved to the audit trail; ISSUE-5, ISSUE-14–17 were resolved and removed from the open list; ISSUE-13's blanket "every run passed" was narrowed to the one real failure at 41d5693, now fixed; the test count, implementation pointer and CI status were brought up to date.
  • Evidence standard. Every new issue cites a file and line or a measured run. ISSUE-15 was additionally reproduced end to end on this machine rather than inferred from reading.

Observations

Measured behaviour worth keeping. None of it is a defect.

Answer synthesis (web_answer)

Measured against deepseek-flash (DeepSeek-V4.1-Flash), which is the model the account exposes alongside deepseek-v4-pro. The API lists exactly those two.

Property Measurement
Latency ~2 s to synthesise; ~7 s for a whole balanced call including search
Cost ~$0.0003 per answer (1063 in / 229 out at off-peak rates) — ~3 000 answers per dollar
Fabricated URLs none in any run; citations are range-checked and renumbered
Grounding failure mode Abstention, not invention
Concurrency limit 2500 (Flash) versus 500 (Pro)

It has no web access. That is the finding everything else follows from:

  • Asked for the newest macOS it answered "macOS Tahoe 26, version 26.4.1"; the machine actually runs 26.6.2. Confident, specific, wrong.
  • Asked for the current Bitcoin price unaided it correctly refused, saying it cannot access live data.
  • Grounded in real results for "why unix failed the top 500 list" it replied INSUFFICIENT — the results established Linux dominates but never explained why Unix declined. Free-running, it invented a plausible explanation instead.
  • Grounded in real results for the Bitcoin price it produced live figures from six exchanges and noted they disagreed, quoting each with its source.

So the useful configuration is not "send search requests to the LLM", which would return uncited training-data text. It is "search for real documents, then answer only from them". The model's one weakness becomes the safety property: it cannot cite a document the search never fetched.

Two traps worth remembering, both of which shaped the implementation:

  1. Thinking mode can return an empty answer with HTTP 200. The API default is enabled, and the reasoning pass shares the output-token budget. Measured: completion=4000, reasoning=4000, content="", finish_reason: length. Three of the first five calls returned nothing. Fix: disable thinking explicitly, and retry once with it disabled if content still comes back empty. reasoning_effort maps minimal→low, medium→high; low worked, thinking.disabled was faster still.
  2. A JSON fixture in a Swift multiline string can silently be invalid. \\ inside """ emits a literal backslash, so a line-continued JSON body becomes unparseable and the test failure points at the server rather than the fixture. Worth recognising before debugging the wrong layer.

Also confirmed: DeepSeek's API is OpenAI-compatible and natively supports the Responses API and the Anthropic Messages format (https://api.deepseek.com/anthropic) — the same three surfaces this project targets.

Provider behaviour

Provider Observation
Tavily 50/50 in a soak, 1 credit each, ~1.2–3.2s. Weak on interpretive queries: for "why unix failed the top 500 list" it returned six off-topic technical-support pages while free providers found the actual story.
Parallel (anonymous) Exactly 20 successes, then HTTP 429. Reproduced deliberately.
DuckDuckGo Good results when it works, but throttles to about one query per 10s; a bot challenge arrives as HTTP 202, not 403.
Startpage Blocked by an Anubis proof-of-work challenge. Effectively unusable through plain HTTP.
SearXNG (self-hosted) Aggregates Google CSE and Brave. Served 25/25 queries alongside Tavily with 0 failures — a strictly better no-key fallback than Parallel, though slower.

Address types (easy to conflate)

Tailscale assigns every device a private overlay IPv4/v6 plus a MagicDNS name. It does not change the public egress, which is whatever NAT or exit node the traffic leaves through. Both matter, for different things: the overlay is how the instances are reached, the egress is what an engine sees and blocks on. Four machines on one router share one public IPv4 no matter how many overlay addresses they hold.

Engine availability by egress

Requesting each engine directly with a browser user agent, which separates "the engine refused us" from "our client is wrong":

Engine this Mac (Germany) node1 (Indonesia)
DuckDuckGo HTTP 200, real results HTTP 000 — name poisoned (rpz.biznet.)
Bing HTTP 200 HTTP 200
Brave HTTP 200 HTTP 200
Mojeek — HTTP 200, CAPTCHA page
Startpage HTTP 200 HTTP 200, challenge page

Through SearXNG the picture differs from the direct one, which is the single most useful thing learned here: SearXNG's DuckDuckGo engine is CAPTCHA-challenged even from the clean German egress, its Bing engine returns "HTTP connection error" from the Indonesian egress while a plain curl to Bing succeeds there, and Brave answers from both. A SearXNG engine failing therefore does not mean the network is at fault.

  • Google CSE and Brave contribute everywhere, about 20 results each.
  • Brave rate limits per IP: rapid successive queries returned "too many requests", and it is measurably less reliable from the nodes than from the Mac.
  • DuckDuckGo is the one engine that works from the Mac's egress and nowhere else: our own adapter returned 10/10 there, against SearXNG's persistent CAPTCHA.
  • Instances report unresponsive_engines per request, which is why the monitor surfaces it — but the same query can succeed on a retry, so a single entry is not a verdict.

Fusion

  • Provider registry weights are all 1.0. The score is weight / (k + rank), so a weight ratio wider than the reachable rank ratio (k + maxRank) / (k + 1) — about 1.07 for five results at k = 60 — lets one provider's entire list outrank another's regardless of relevance. The previous weights spanned 0.8 to 1.1, a ratio of 1.375, and Tavily's sixth result beat Parallel's first by 1.82×.
  • Quality is carried by corroboration and the per-domain cap, which cannot override rank.

Cluster and monitor

  • Nodes are faster as providers than the Mac's local instance: node1 0.48s, node3 0.98s, this Mac 1.32s per query, because their VMs are otherwise idle.
  • The server accepts one SEARXNG_BASE_URL at a time, so the extra instances are a choice of endpoint, not parallel fan-out.
  • Instance configuration is genuinely identical — all five report the same 15 enabled engines out of 267 known. Earlier per-instance engine differences were per-request flakiness, not drifted config, so a "which instance is better configured" hunt is wasted effort. What differs is reach, and that follows the egress.
  • mcps-mon --probe costs one credit per keyed provider per refresh. A 10s interval would spend ~360 credits/hour and exhaust a 1000-credit month in under three hours, which is why a 60s floor now applies.
  • Without --probe, the dashboard still probes providers once on its first frame — one credit per configured keyed provider — and then never again; the recurring loop is free. It used to probe every sixth refresh unconditionally, roughly one credit per minute per keyed provider, while the docs called free mode free (ISSUE-16).
  • The Mac's local instance is now created from deploy/docker-compose.yml and is loopback-only on 127.0.0.1:8888, running the pinned digest. It had been published on 0.0.0.0:8888 and was reachable from the LAN despite being unauthenticated; recreating it from compose fixed that. Verified: HTTP 200 from loopback, HTTP 000 from the LAN address.

Tooling traps worth remembering

Each of these presented as something else during the node rollout:

Symptom Real cause
brew: command not found on a machine that has Homebrew An ssh command runs a non-login shell, so brew shellenv never applies
brew install docker exits non-zero yet installs fine It cannot symlink Docker Desktop completions into an absent /Applications/Docker.app
docker: command not found after a successful install lima's docker.lima already occupies the name, so linking is skipped
Every pull fails: docker-credential-desktop: executable file not found A leftover ~/.docker/config.json points at the Desktop credential helper
ssh -n host 'bash -s' < script runs nothing, exit 0 -n redirects stdin from /dev/null, so the script is never fed in
SSH to a node refuses a password that works elsewhere Each node's account matches its hostname (node1@node1); there is no shared login
dig returns rpz.biznet. for a public hostname The ISP blocks that name by DNS policy, and it answers the same for 8.8.8.8 and 1.1.1.1, so changing the resolver does not help
A domain resolves and answers curl from the host, but not from inside a container Check whether the failure is the resolver or the request shape before blaming the container network
swift build sits at 0% CPU forever with no compiler child processes .build lives inside Dropbox, which evicted its state files: build.db and debug.yaml carry the compressed,dataless flag, and llbuild blocks in mmap() waiting for a file the provider never materialises. 15 files under .build were dataless when measured, while Sources/ was fine. Build to a scratch path outside Dropbox, or make the folder available offline
A plain in-tree swift build still stalls after .build is cleaned and marked com.dropbox.ignored, with zero dataless files swift-frontend blocks in pread at 0% CPU while fileproviderd saturates a core. The verified local workaround is --scratch-path ~/Library/Caches/MCPSearch/scratch; it is an environment workaround, not a repository requirement — CI builds in-tree on a clean runner
open -a /Applications/Docker.app does not start at login even though Docker Desktop's own auto-start is on Docker's settings carry AutoStart: false with AutoStartError: "option disabled because operation is not permitted when registering app service", so macOS refuses to register the app service. A user LaunchAgent (com.mcpsearch.docker-autostart) is installed instead; it is loaded but has not been tested through a reboot

Decisions

Choices that would look arbitrary later without the reasoning.

Decision Why
No blanket aggregator discount in fusion It degenerates into provider preference; see the weights note above
Schemas closed with additionalProperties: false and fully required OpenAI strict mode requires it; the common failure is a missing one, not a present one
Optional arguments are nullable types, not omitted from required The documented strict-mode idiom; default is not a supported keyword
try! removed from the server An encoding failure should become a tool error, not a crash. The MCP SDK's generic Codable initializer outranks its non-throwing one, so one documented helper handles it
Scrapers are opt-in and disabled by default Their markup is not a contract, and both targets actively defend against automation
Testable monitor code lives in the library, not the executable An executable's symbols cannot be imported by a test target
A locally skipped provider raises a retryable error, not invalidRequest A transient local rate limit was blaming the caller's query
The LLM is not a SearchProvider It has no web access, so as a provider it would emit plausible text with invented URLs. It runs only after real results exist and may cite only those
web_answer is a separate tool, not a web_search mode Answering changes the shape of the response (prose + citations, not a result list) and needs a different timeout; overloading web_search would break callers that want documents
Synthesis has its own timeout Generative traffic legitimately takes tens of seconds; the shared 10 s search timeout would turn slow successes into failures
Thinking mode disabled by default With it on the reasoning pass can consume the entire output budget and return empty content under HTTP 200
A synthesis failure still returns the search results Losing prose is not a reason to lose documents the caller can still use
SEARCH_SYNTHESIS_REASONING is opt-in rather than auto Enabling it silently would reintroduce the empty-answer failure mode by configuration
60s floor on probe intervals Protects a metered free tier from an accidental 360-credit/hour loop
SEARCH_CONNECT_TIMEOUT_MS removed rather than implemented The transport exposes no connect-only deadline; SEARCH_REQUEST_TIMEOUT_MS already bounds connection establishment, and a knob nothing reads is worse than no knob. A test pins the removal so it cannot return inert
Jina is not a search provider JinaSearchProvider could never be selected, and Jina is the web_open extraction fallback. The adapter and ProviderID.jina case were deleted; JINA_API_KEY only raises the reader's rate limit and does not affect provider selection or fusion
The connection is not pinned to the validated DNS address URLSession exposes no way to bind the validated address without breaking TLS certificate validation for the original hostname. The DNS-rebinding window is accepted: it is one DNS TTL, and every redirect hop is re-validated (ISSUE-15 follow-up)
The HTTP transport has no built-in authentication Loopback is the default and a non-loopback bind logs a warning, so an exposed deployment is unauthenticated by design, not by oversight. A TLS-terminating reverse proxy is the only supported exposure and can also authenticate; bearer-token auth is deliberately out of scope (ISSUE-7)
mcps-mon probes providers once on the first frame, then only on demand Populating the dashboard immediately is worth one credit per configured keyed provider, but an unattended dashboard must never spend recurring credits. Free mode was previously making periodic probes while documented as free (ISSUE-16)

Recently resolved

Newest first. Each entry names the commit so the change can be found.

Item Commit
Closed ISSUE-6 as refused: no vendor account will be provided, so the compatibility claim is now explicitly bounded rather than pending — wiki Compatibility gained a scope note and the README's compatibility bullet states the same bound decision, f3dd8d9
The interactive dashboard is now tested: a pseudo-terminal harness types p/r/e/c/q into a live mcps-mon in CI, with no window and no credentials; it found a stale engines column header and then a chunked-read race in its own assertions 692d475, 62b9e88, 4eaf7e9
A redirected mcps-mon frame was padded to an assumed 120x40 screen, so piped output carried a block of blank lines and the provider and node sections were capped to that height (a provider could be hidden behind "… N more"); the piped path now emits its content in full 5d655dd
The monitor's name columns ran into the next one when a provider or node name was truncated (Open Web Se…aggregator); seen only by running the dashboard against the live cluster, now separated and covered by a test 170fd6f
Reconciled the README and the compatibility research note: test count, no-key route count, and the human-readable text block instead of a prescribed JSON mirror of structuredContent bc56236
Fixed two defects the new tests found, and extended resold-provenance folding to Open Web Search: the monitor's node probe read unresponsiveEngines while SearXNG emits unresponsive_engines, so its unavailable-engine column was always empty; OpenWebSearchProvider documented a bare top-level JSON array it could not decode 5afa7a7
Contract tests for every adapter, the HTTP transport, the fetch-fallback chain and both probes; live tests require SEARCH_LIVE_TESTS; silent skips now fail in CI; soak.py --providers enforced; CI cache and SHA-pinned actions (suite 309 → 368) c02c969
Folded a resold page into the index it came from, so search-family corroboration is not double-counted b3b66fc
Jina Reader's advertised budget now fits inside the shared request timeout 02c22b3
One HTTP response per request (HTTPMCPHost could write two for an oversized body); the last shellcheck warning removed ff7ffbb
Deleted JinaSearchProvider, ProviderID.jina, ProviderCapabilities, and Exa's dead content/snippet mapping e60203e
Pinned the SearXNG image by digest; provisioning validates a canary before replacing a node and generates a per-node secret key 7e0a3eb
Deleted the dead public surface and no-ops, each re-verified to have no caller a375ddd
Per-result upstream-engine attribution on SearchResult, so only the resold page loses the aggregator vote e1359c0
Last-resort wait for an affordable local throttle instead of returning nothing 569e6d3
Fan-out refill for locally skipped providers; fixed web_open printing the page title twice f393947
Removed the inert SEARCH_CONNECT_TIMEOUT_MS; transport flags can no longer decide the transport by argument order 4ef1888
Provider limits installed before the pipeline returns; breaker updates awaited; the whole-search deadline kept off the breaker 2c9be10
Curated transport error text so a failing URL (and Mojeek's key) cannot reach a diagnostic 0edc66b
mcps-mon no longer probes providers periodically without --probe 3187ea0
Upstream throttles reported as provider failures rather than "nothing was attempted" d41becd
web_open fetch failures report fetchFailed, never a search provider's network failure 73a5ac0
Closed the SSRF hole in IPv6 literals that embed an IPv4 address (IPv4-mapped, NAT64, 6to4, Teredo) eb4c52a
Fixed the stale smoke-test tool list; the script now requires the documented tools instead of owning the list de63b81
Suite grew from 287 to 309 tests (6 opt-in live tests) across the pass de63b81 … b3b66fc
Wiki reconciled with the code: test count, scraper weighting, three dependencies, mcps-mon product and flags, connect-timeout removal, Jina, SSRF, auth decision, DNS-rebinding limitation, OpenAI report this pass
Recreated the local SearXNG from deploy/docker-compose.yml (loopback-only, pinned digest) local
Installed the com.mcpsearch.docker-autostart LaunchAgent for Docker Desktop on this Mac local
Added web_answer: grounded synthesis over fetched results (256 → 287 tests) 41d5693
Corrected the DuckDuckGo diagnosis to DNS poisoning and documented the egress tables 81aae9f, edd8c90
Cleared 24 build warnings, including an unsafe ChannelHandlerContext capture b2a6b82
Organised the README and indexed docs/ cb10bd2
Monitor r key did nothing; probe interval could drain a free tier fbe27f9
Provider-kind column cramped; provider header and footer overflowed an 80-column terminal edac578, 738411c
Added the mcps-mon dashboard (216 → 256 tests) edac578
Provisioned SearXNG on node1–4, with Colima and start-at-login 39ba7db
Added self-hosted SearXNG on this machine as a no-key provider e150388
Fusion degenerated into provider preference (found by live comparison) 2f20cbd
Placeholder credentials were activating the live test suite 5204fda
Added the Streamable HTTP transport eebab38
Hardened schemas for OpenAI, Anthropic and Open Responses c7dca46
Fixed Tavily published_date never decoding 34e01bb
Fixed error misattribution, silent provider fallback and double discount 15eeac5
Reconciled histories and pushed the implementation 7bd7a5c, ae65097

Known limitations

Accepted, not scheduled.

  • web_open does not execute JavaScript; JS-heavy pages depend on the Jina Reader fallback.
  • Startpage cannot work through a plain HTTP client.
  • Parallel Search MCP's upstream contract is third-party and unverified.
  • "Open Web Search" has no authoritative published specification; it is a configurable, defensively parsed aggregator.
  • Resold-provenance folding needs per-result engines. SearXNG and Open Web Search report the engines behind each result, so a resold page is folded into the index it came from and counts once. An adapter that reports only a response-level engine list cannot be folded: its whole response receives the aggregator discount without the family being merged.
  • Client compatibility is documentation-based; a vendor round trip will not be run. Refused, not pending: providing an OpenAI or Anthropic account was declined, so ISSUE-6 is closed as not planned. The claim is therefore bounded and deliberately stated as such: the schemas satisfy the documented strict-mode rules and are linted by SchemaCompatibilityTests, the HTTP transport's session, SSE, origin, session-id and body limits are verified against a real socket, and stdio is verified through the real executable — but no vendor client has completed a handshake against this server.
  • Live provider coverage is Tavily-only. LiveProviderTests exercises Tavily alone because it is the only key available; every other adapter is verified against stubs and the published API notes rather than live.
  • SearXNG needs json in search.formats; the stock image enables only html.
  • The HTTP transport has no built-in auth and no TLS by design, and no server-initiated streaming. A TLS-terminating reverse proxy is the only supported exposed deployment and can also authenticate; bearer-token auth is deliberately out of scope (ISSUE-7).
  • The DNS-rebinding window is accepted. web_open validates the hostname and then connects without pinning the validated address: URLSession resolves the host again, so a name whose answer changes between validation and connect can still land on a private address. The window is one DNS TTL, and every redirect hop is re-validated. Closing it would require binding the validated address to the connection, which URLSession does not expose and which would break TLS certificate validation for the original hostname.
  • web_answer inherits the search layer's coverage limits: if the providers find nothing usable, there is nothing to ground an answer in, so it returns results_only or fails at the search phase like any other search.
  • Google Custom Search JSON and Bing Search are deliberately unsupported: Google's is closed to new customers and retires in 2027, Bing's was retired in August 2025.

Ideas

Not scheduled, possibly useful.

  • A disk-backed result cache. The in-process cache holds 256 entries; this machine has 24 GB of RAM and ~69 GB free disk. Would cut upstream calls for repeated developer queries.
  • Query several SearXNG instances in one search. They are faster than the local instance; the limitation is that provider selection takes one URL.

(Removed from this list: a launch agent for the container daemon on this Mac — now installed; see Recently resolved.)

Clone this wiki locally