Skip to content

Releases

MCPSearch 1.3.1

Choose a tag to compare

@Pummelchen Pummelchen released this 18 Sep 16:23

MCPSearch 1.3.1 — release notes

Released 2026-09-18. A cleanup release. There is no behavioural change: the executables do exactly
what 1.3.0's do. It exists so the restructuring is tagged and reproducible rather than living only on
main.

Every source and test file is now under 500 lines

Twenty files were over that, one of them 1421 lines. They were not over it because they were doing one
large thing; they were over it because they had accumulated unrelated ones.

  • One type per file where the types were unrelated. ToolSchemas.swift held the schema definitions,
    an argument parser and an output formatter; CoreUnitTests.swift held five unrelated test classes.
  • An extension file where a single class had outgrown a screen, since a class has no type seam.
    ProviderContractTests became a base file plus +Adapters, +Scrapers and +Retry — named by what
    they hold, because a file called +2 is the same defect as a file called CoreUnitTests that no longer
    holds the core unit tests.

Nothing in the public API changed, and no test changed meaning: the suite reports the same count and
the same result before and after each split. That number is the check that matters — a test moved into an
extension the runner ignores still compiles and still passes.

The one honest cost: four of the splits needed members widened from private to internal so a sibling
file could reach them. That cannot escape the module, and SwiftWebSearchMCP is an executable, so no
public surface changed. It is still a real reduction in encapsulation inside those modules, and it is
recorded rather than glossed.

The audit material is gone, and so is everything that pointed at it

The pre-production audit's findings were processed into 1.3.0. Its ledger, baseline, environment
record, inventory, coverage proofs and Phase E record are now removed, along with the branch they lived
on — so the next audit starts from the code rather than from a previous audit's conclusions.

Deleting the folder was the easy part. 108 comments across 38 files cited that ledger by finding
number
— (ledger A0011), (ledger A0017, tracker T4). Left behind, those are citations to a document
that does not exist, which is precisely the confusion the removal was meant to prevent. The engineering
rationale around them is untouched; only the pointers are gone.

Documentation re-checked against the tree

RELEASE.md said "2 releases" and listed three, with v1.3.0 missing; it described issue #16 as still
open, and it now records that the local clones' remotes carry no embedded credential while noting that
whether the old token was rotated is not something this repository can check. AGENTS.md's scripts/
inventory omitted searxng_health.py.

The wiki gained a worked walkthrough — one question through all four tools, with per-engine attribution,
the fetch cap, and web_answer's refusal to answer from nothing — and lost seven passages that narrated
the project's own development rather than describing what it does.

Checksums

  • mcps-1.3.1-macos-arm64.tar.gz — SHA256 0a9c4e5030eb3630d2afe8c04594bf945f273f82f08c34c0ef0f106a65cbfc7c, 7755269 bytes.
  • Published beside the archive: mcps-1.3.1-macos-arm64.tar.gz.sha256 and SHA256SUMS, both carrying
    that same digest.

Checks that did not run

Release gates (RELEASE.md §1.5): none skipped — every one ran.

Two things are true of this release regardless of the gates above, and are named rather than implied:

  • No live provider traffic. SEARCH_LIVE_TESTS is unset and no usable credential is present, so
    LiveProviderTests was skipped. Every provider is covered against stubs.
  • The real-page depth corpus run is opt-in (MARKUP_DEPTH_CORPUS=<dir>) and is not part of the
    default suite, so no gate here fetches pages.

MCPSearch 1.3.0

Choose a tag to compare

@Pummelchen Pummelchen released this 18 Sep 09:23

MCPSearch 1.3.0 — release notes

Released 2026-09-18. A hardening release. Almost nothing here is new capability: it is behaviour that
was documented but not implemented, checks that could not fail, and one bypass in a guard that existed
specifically to stop a crash. The full set of findings, including the ones with no user-visible effect,
is in AUDIT/ledger.md.

The nesting guard could be walked past

MarkupDepth measures how deeply a fetched document nests and refuses anything past 512, because a
deeply nested document can exhaust the stack in the parser. Its model of HTML was wrong in a way that
made the guard decorative.

It decremented a counter on every closing tag, under a comment claiming "a closing tag always returns
to the parent, even if it never matched one"
. That is false. </p> with no open p closes nothing, so

<div></p><div></p><div></p>…   <!-- repeated -->

nests 100 000 elements deep while the counter reads 0 or 1. Measured through the parser, that document
did not finish within ten minutes, in under a megabyte, inside the fetch size cap.

The guard now keeps a stack of open element names, ignores a closing tag that matches nothing, and
models HTML's implied end tags — the block set closes a paragraph, li closes li, a table row closes
within its own table, and a <tr> with no section gets the parser's implicit <tbody>. It is now
measured against real pages as well as fixtures: 37 pages fetched from the web, of which 34 are exact,
3 over-count (the safe direction), and none under-count.

Check: swift test --filter MarkupDepthTests. The real-page run is opt-in:
MARKUP_DEPTH_CORPUS=<dir> swift test --filter testTheModelAgainstARealPageCorpus.

web_open now checks where it connected

The SSRF policy validates the addresses a hostname resolves to and then hands the hostname to
URLSession, which resolves it again when it connects. A name whose answer changes in between — DNS
rebinding — could still land on a private address, and URLSession offers no way to pin it.

The fetch now reads the address the connection actually used from URLSessionTaskMetrics and refuses
the body unless it was one the policy resolved for that host. Two cases fail closed: a peer outside the
validated set, and a connection that reported no address at all.

This is detection, not prevention. The connection is still made; because web_open issues GET
only, the side effects a blind request can cause are limited, and the attacker does not receive the
response.

Check: swift test --filter PeerAddressGuardTests — a validated peer returns its body, an
unvalidated one is refused, and an empty validated set skips the check. With the refusal disabled on
purpose the second test fails, so the test is known to be able to fail.

SearXNG answers were being discarded

The SearXNG JSON API answers with results as an array of objects, and this build decoded it as
[String]. An instance that answered a query correctly produced no results at all.

/health was wired to nothing

GET /health returned a hardcoded ok, so the production health surface reported success regardless.
It reports real readiness now, and readiness reflects reachability rather than configuration alone. The
check that consumes it reads the body, not just the status code — reading the code was the reason a
hardcoded body went unnoticed.

Credentials that travelled further than they should

  • A credential in a target URL's query or fragment was forwarded to the third-party reader on the
    fallback path. It is stripped before the fallback.
  • The generated SearXNG secret was passed as a command-line argument, where ps could read it. It
    travels through a file with restrictive permissions.
  • The credential-leak scan ran only on the fully successful path, and only over stderr, so a failure
    that echoed a credential was never scanned.
  • A rejected URL-valued setting was echoed verbatim into a diagnostic that is logged.
  • The documented installer invocation put the sudo password on a command line and into the child's
    environment.

Gates that could not fail

Each of these was "passing" for a reason unrelated to what it claimed to check:

  • The mandatory-SearXNG proof accepted an instance that returned zero results.
  • The end-to-end gate accepted a JSON-RPC error reply as success.
  • The test-suite count was reported as PASS without checking that it parsed.
  • The release-notes gate named NOT CHECKED in its failure message but never checked for it.
  • The secret scan was blind to the credential pattern this repository actually uses, and one gitleaks
    config cannot carry both the defaults and custom rules in this version — it is two passes now.
  • -warnings-as-errors was not in the build config, SwiftLint could not reject a force-unwrap, and Ruff
    did not select S101, so the language-standard proof the release process claimed was not in force.

Also fixed

Cancellation was mapped to a provider failure, so a caller who cancelled was charged to that provider's
circuit breaker. The response charset was discarded, so a page declaring anything but UTF-8 was decoded
as Latin-1. A + in a query was dropped while building the URL. An empty extraction was returned as a
success, discarding the real error. Bot-challenge markers were substring-matched against the whole page,
discarding ordinary results. Mojeek's domain filters were space-joined where it documents commas. The
installer could drop every API key when a || true swallowed a grep error. Installing overwrote the
previous binary with no rollback. A half-open circuit-breaker probe was never released when the rate
limiter denied.

Checksums

  • mcps-1.3.0-macos-arm64.tar.gz — SHA256 bd99e91fb48c37b03d69f174d781e6e52a2f43eab677e5efed6e8ede5542dcd8, 7752652 bytes.
  • Published beside the archive: mcps-1.3.0-macos-arm64.tar.gz.sha256 and SHA256SUMS, both carrying
    that same digest.

Checks that did not run

Release gates (RELEASE.md §1.5): none skipped — every one ran.

Two things beyond the release gates are also not covered by this release:

  • Live provider tests. SEARCH_LIVE_TESTS was not set and no usable key was available, so
    LiveProviderTests was skipped, as it is in CI. Every provider is covered against stubs.
  • The real-page depth corpus is opt-in and is not part of the default suite, so CI does not fetch
    pages. The measurement quoted above was run by hand against 37 pages.

MCPSearch 1.2.0

Choose a tag to compare

@Pummelchen Pummelchen released this 16 Sep 20:48
e1e33c2

MCPSearch 1.2.0 — release notes

Released 2026-09-17. Upgrading from 1.0.1 needs no configuration change, but the defaults
changed
— the first section below is the one to read before upgrading.

Every provider is on by default

The routes that need no credential — DuckDuckGo, Startpage and Parallel — were opt-in behind
SEARCH_ENABLE_SCRAPERS and SEARCH_ENABLE_PARALLEL, so an installation with no API keys could not
search at all. All nine providers are now enabled by default. A provider without a credential reports
not_configured and the others still serve the query, so a search on a host with no keys returns
results instead of the "no provider configured" error. The flags remain, as off switches.

Check: CoreUnitTests.testDefaultsStartWithNoCredentials asserts both flags are on in a default
configuration. Observed live: web_search_status with an empty environment lists all nine providers,
with duckduckgo, startpage and parallel ready, and a web_search returns results sourced from
the credential-free routes.

This change broke a check that had encoded the old assumption, and it is fixed below.

Installing is one command, and SearXNG is mandatory

deploy/install.sh installs the server and refuses to report success without a working local
SearXNG
. It adopts a running instance; installs one when there is none — the digest-pinned container
when a Docker daemon answers, otherwise native under launchd; proves it answers a real query on the
JSON API; installs the binary; writes config.env; and verifies a real web_search end to end. Any
failed gate exits non-zero.

The gate is the JSON API, not /healthz: an instance whose settings omit json answers health
checks with 200 and returns 403 to the API the server actually uses, which is the most common way a
self-hosted SearXNG "does not work".

Check: the installer was watched failing three ways before it was trusted — nothing listening, and
a mock answering /healthz 200 while refusing the JSON API, both exit 1; a mock returning real results
passes. It was then run end to end: node1 adopted its running instance, and a machine with no SearXNG
at all was installed from nothing and verified.

Cluster nodes are provisioned natively

deploy/provision-node.sh used to build a Colima container with a digest-pinned image and a canary
swap, while every node ran SearXNG natively — so the scripted way to provision a node produced
something other than what was running. It is now thin and delegates to the installer, so the install
has one implementation. 538 lines to 290, and the removed ones were the copy that had drifted.

Check: run against a live node. It fetched the repository, invoked the installer, adopted the
running instance, verified a real query and reported the tailnet address. The sudo handshake is the
one part not exercised with a real password, because no machine in this deployment has passwordless
sudo; it is unchanged code from the previous script.

The monitor no longer counts this machine twice

The default node list carried a loopback entry and the local machine's own Tailscale entry. They are
the same machine, so a four-machine fleet reported five nodes — and because the engine warning
threshold is a fraction of the node count, one machine's failing engine was doubled into
engine 'duckduckgo' unavailable on 2 node(s), a fleet-level warning. The list is now derived from the
host, and the local instance is named after it.

NodeProbe.Target.isLocal existed for exactly this distinction and was write-only: set in five places,
never carried into NodeStatus, read nowhere. It is now carried through and used to give a down
local instance its own warning, because that means the server on this host has lost its local
provider — a different problem from a remote node being unreachable.

Check: MonitorOptionsTests.testDefaultNodesCollapseTheLocalMachineOntoItsLoopbackEntry asserts
the rule for an injected hostname; MonitorActorTests.testALocalNodeDownIsCalledOutOnItsOwn asserts
the separate warning. Observed live after the change: SEARXNG NODES 4 up · 0 down, one row per
machine.

A match is no longer reported as a failure

grep -q exits at the first match, which SIGPIPEs the producer, and set -o pipefail turns that into
exit 141 — so the pipeline reports failure precisely when it matched. Measured: 141 with pipefail,
0 without. Four sites had it, in three scripts: the provisioner's "is the launchd job loaded", the
installer's "does this container exist", and two assertions in the release script that the published
notes contain the real digest and no leftover placeholder. A gate that fails when it matched is a gate
that gets distrusted and then worked around.

Check: no automated test covers shell control flow. Found by running the new provisioner, which
announced a loaded launchd job was missing; fixed at all four sites and re-run.

The release gate lints what CI lints, and can fail

tools/release.sh's shellcheck gate named one file where CI names three, so deploy/install.sh — the
installer users run — was linted by CI and by nothing in the release gate. Widening it exposed a
second defect: without set -e a for loop reports the status of its last iteration, so a defect in
an earlier file was masked by a later one passing. The gate passed while install.sh was deliberately
broken.

Check: the gate was made to fail on purpose, twice — a shellcheck defect in deploy/install.sh,
and a syntax error in the last file in the loop — and confirmed to pass on clean input. CI's own step
was already safe: it runs under set -euo pipefail.

Both smoke harnesses asserted a state that no longer existed

scripts/mcp_smoke.py required web_search to fail with "no provider configured" when started with a
scrubbed environment. With every provider on by default, that environment still has a working search
path, so the check observed a successful search and failed — this is why CI was red on 3257b0b.
The credential-free providers are now switched off explicitly for that check.

scripts/monitor_tty_smoke.py carried the same assumption with a different symptom, and the release
gate found it: the dashboard probes the configured providers on its first frame, so with a bare
environment that frame waited on a live DuckDuckGo request. Measured against one binary, first frame:

credential-free providers time to first frame
off 0.03 s
on (the new default) 2.02 s

The harness polls at 0.4 s, saw no frame, and failed. It also made a smoke test depend on the network
and on a search engine's mood, which is what its own scrub list exists to prevent. Those providers are
now switched off explicitly there too.

The wait loop was fragile in its own right: a predicate that reads a frame raises when no frame has
completed yet, and letting that escape defeated the point of waiting. It now treats that as "not yet"
and keeps polling, so a slow start is waited out while a monitor that never paints still fails on the
timeout, with the reason attached.

Check: the mcp_smoke failure was reproduced locally before the fix, byte-for-byte the message CI
reported, and both halves — stdio and Streamable HTTP — pass after it. The monitor failure was
reproduced against the release binary, attributed by timing the same binary with the flags on and off,
and fixed; it then passes, the pre-existing v1.0.1 binary still passes, and the harness still fails
against a binary that is not the monitor.

Security: key material in a public test fixture

Tests/WebSearchCoreTests/LiveProviderTests.swift held the first 47 characters of a live Tavily API
key. It is replaced with synthetic material, and the live-test guard now rejects placeholder keys.

Check: LiveProviderTests refuses to run against a key containing not-a-real-key, placeholder,
fake, dummy, example, invalid or ci-, or shorter than 20 characters.

The value remains in this repository's history, and history was not rewritten. Rotate that key.

Checksums

  • mcps-1.2.0-macos-arm64.tar.gz — SHA256 f83358ad6b15312db72956c549b4c59ec43c23766388a3aba45d6d6d43d2353d, 7694716 bytes.
  • Published beside the archive: mcps-1.2.0-macos-arm64.tar.gz.sha256 and SHA256SUMS, both carrying
    that same digest. RELEASE.md Part 2 names SHA256SUMS; its Part 1 §1.7 names <archive>.sha256.
    Both are shipped so either documented command works.

Apple silicon only (arm64, M1–M6), macOS 13 or newer. Not code-signed and not notarized — see
README-binaries.txt inside the archive. The archive contains SwiftWebSearchMCP, mcps-mon,
LICENSE, THIRD-PARTY-NOTICES.md and that README.

Checks that did not run

No CI result is claimed for the commit this release is built from. The instruction was not to wait
for GitHub checks, so none was awaited. The most recent completed CI run on main — on 3257b0b —
was red, and its cause is fixed here: build-and-test failed in the end-to-end smoke test with
expected isError=true with no provider configured, which is the regression described above. That
failure was reproduced locally against the same binary behaviour, the fix applied, and both the stdio
and Streamable HTTP halves then passed locally. static-analysis passed on that run, and CodeQL
passed.

That is a local reproduction and a local pass, not a CI run. A green CI run on the tagged commit
remains outstanding and should be obtained before this release is treated as verified by CI.

Since publication, that run has happened. CI passed on 210a51d — build-and-test and
static-analysis both green, and CodeQL green — and that commit differs from v1.2.0 only in
documentation and tools/release.sh: nothing under Sources/, Tests/, scripts/ or
Package.swift changed between the tag and it. The release code is therefore covered by a green
run...

Read more

MCPSearch 1.0.1

Choose a tag to compare

@Pummelchen Pummelchen released this 16 Sep 01:25
1d346b1

MCPSearch 1.0.1 — release notes

Released 2026-09-16. Upgrading from 1.0.0 needs no configuration change; nothing in the tool
surface, the provider set or the environment variables changed.

This is a maintenance release. The server, fetch and answer code is byte-identical to 1.0.0 —
the only tracked changes since that tag are the documentation and release machinery below. The
binaries are rebuilt, so the version they report is the one they were built from, and the default
user agent tracks it. If you do not need the tooling, 1.0.0 remains correct behaviourally.

The version now has one source of truth

VERSION at the repository root is authoritative. Sources/WebSearchCore/Support/BuildVersion.swift
is generated from it by tools/sync-version.sh, and nothing else in Sources/ may hold a
version literal. Before this, the version lived in three unconnected places — MCPServer.swift, the
Parallel provider's clientInfo, and the changelog — with no check tying them together, so a
half-finished bump shipped a server that misreported its own version over MCP.

Check: tools/check-version.sh, run in CI's static-analysis job and again by the release
script. It fails when VERSION is not a bare X.Y.Z, when the generated mirror does not reproduce
byte-for-byte, when CHANGELOG.md has no heading for the version, or when a version literal appears
anywhere else in Sources/.

The default user agent carries the real version

SEARCH_USER_AGENT defaulted to the literal SwiftWebSearchMCP/1.0, and so already disagreed with
the version the server reported. It is now built from BuildVersion, so it reads
SwiftWebSearchMCP/1.0.1.

Check: CoreUnitTests.testDefaultUserAgentTracksTheBuildVersion, which compares the whole default
string against BuildVersion.value, so re-hardcoding either side fails a test.

The artifact states its own version

initialize now returns serverInfo.version from the single source, so 1.0.1 on the archive and
1.0.1 over the wire cannot disagree.

Check: scripts/mcp_smoke.py drives a real initialize handshake against the built binary and
requires serverInfo.version to equal the repository's VERSION. It previously printed the
reported version without asserting it, so any version at all would have passed. The assertion now
runs in CI on every pull request as well as at release time.

The release is reproducible from one command

tools/release.sh walks RELEASE.md: preconditions (§1.4), gates (§1.5), a clean scratch
arm64-only build with the log scanned for compiler warnings, the lipo -archs assertion (§1.2.2),
packaging (§1.6), checksums (§1.2.5), notes with the real digest substituted at publish time (§1.8)
and a gh release create with the repository pinned (§1.7). It is a dry run by default and
publishes only with an explicit --publish (§1.2.6). Before this, 1.0.0 was packaged by hand and
the sequence was not reproducible.

Check: the script's own dry run, in which every step above reports PASS, FAIL or
NOT CHECKED.

Documentation

AGENTS.md (with the committed CLAUDE.md bridge), RELEASE.md, and this notes file are new. No
gate covers prose; they are reviewed by reading them.

Checksums

  • mcps-1.0.1-macos-arm64.tar.gz — SHA256 681b17de6798c4cec3c77a1e080ab551a8723813ea0ef5811d757f0ab2074f36, 7691167 bytes.
  • Published beside the archive: mcps-1.0.1-macos-arm64.tar.gz.sha256 and SHA256SUMS, both
    carrying that same digest. RELEASE.md Part 2 names SHA256SUMS; its Part 1 §1.7 names
    <archive>.sha256. Both are shipped so either documented command works.

Apple silicon only (arm64, M1–M6), macOS 13 or newer. Not code-signed and not notarized — see
README-binaries.txt inside the archive. The archive contains SwiftWebSearchMCP, mcps-mon,
LICENSE, THIRD-PARTY-NOTICES.md and that README.

Checks that did not run

none — every check in RELEASE.md §1.5 ran.

No CI job ran on the commits this release is built from. On the pull requests that landed it,
build-and-test and Analyze (swift) (CodeQL) never obtained a runner: GitHub left the runs
queued with no runner assigned, and a re-queued run after the final commit did not start either.
This is the macOS runner-capacity problem the audit tracks as ISSUE-13. Both are reported here as
not checked, not as passing.

One CI result does exist: static-analysis — the job that carries the new version-agreement gate —
completed successfully on the first of those pull requests (03019416), so that gate has been
exercised in CI. The release gates themselves were run locally on the tagged commit and are recorded
above.

MCPSearch 1.0.0

Choose a tag to compare

@Pummelchen Pummelchen released this 15 Sep 21:45
4fdfd2f

A Swift-native MCP server that gives an AI client real public-web search and page fetching, with
no mandatory paid infrastructure: every credential is optional, and the server starts and explains
what is missing.

Install

V=1.0.0
BASE=https://github.com/Pummelchen/MCPSearch/releases/download/v$V
curl -LO "$BASE/mcps-$V-macos-arm64.tar.gz"
curl -LO "$BASE/SHA256SUMS"
shasum -a 256 -c SHA256SUMS --ignore-missing
tar -xzf "mcps-$V-macos-arm64.tar.gz"
cd "mcps-$V-macos-arm64"
./SwiftWebSearchMCP --help

Then point your MCP client at the absolute path of SwiftWebSearchMCP. The archive contains the
server, the mcps-mon dashboard, LICENSE, and THIRD-PARTY-NOTICES.md — the attribution the
distributed binary is required to carry.

  • Apple silicon only (arm64, M1 and later). There is no Intel slice and none is planned: the
    project is built and verified on the xcode-27 runner image, which is arm64-only.
  • These binaries are not code-signed or notarised. A curl download carries no quarantine flag
    and runs directly; a browser download does, and macOS will offer to allow it under
    System Settings → Privacy & Security (xattr -d com.apple.quarantine SwiftWebSearchMCP also works).
  • shasum -a 256 -c is worth running: SHA256SUMS is published next to the archive.

What is in this release

First release. A Swift-native MCP server that gives an AI client real public-web search and page
fetching, with no mandatory paid infrastructure: every credential is optional and the server starts
and explains what is missing.

Verified before release: 590 tests, 6 skipped, 0 failures, Sources/ line coverage 91.6 %
against an 80 % floor, zero compiler warnings in debug and release under -warnings-as-errors on
Swift 6.4 / Xcode 27, and the full gate set (formatter, linter, type checker, SAST, secret scan over
full history, dependency CVE scan) clean. Prebuilt binaries are smoke-tested over a real stdio
handshake before publication. See AUDIT/ for the pre-production audit this release comes from.

Architecture: Apple silicon only (arm64, M1 and later). There is no Intel slice — the project
is built and verified on the xcode-27 runner image, which is arm64-only.

Added

  • Four MCP tools — web_search (ranked, deduplicated, source-attributed results), web_open
    (one public URL as readable text), web_answer (prose answered only from results the search
    actually fetched, with citations) and web_search_status (per-provider diagnostics).
  • Nine search adapters, all optional — Tavily, Brave, Mojeek, Exa, self-hosted SearXNG, Open Web
    Search, DuckDuckGo and Startpage (opt-in HTML scrapers) and Parallel Search MCP. Jina Reader is
    used for page extraction only, never as a search provider.
  • Both MCP transports — stdio (default) and Streamable HTTP, for the remote connectors that
    cannot launch a subprocess.
  • mcps-mon, a live terminal dashboard for provider health, node health and latency.
  • Rank fusion instead of score comparison — weighted Reciprocal Rank Fusion over canonical URLs,
    with per-domain diversity and corroboration, because vendor relevance scores are not comparable.
  • Grounded answer synthesis, opt-in via DEEPSEEK_API_KEY: the answering model has no web access
    of its own, so it cannot cite a document the search did not retrieve. If synthesis fails, the
    search results are still returned.
  • Self-hosting — a digest-pinned SearXNG compose file and a provisioning script for a headless
    Apple-silicon node, with a per-node generated secret key and a canary check before replacing a
    running instance.
  • Prebuilt macOS binaries for Apple silicon (M1 and later) attached to each release, with
    SHA256SUMS.
  • Documentation — a wiki covering installation, compatibility, tools, architecture, providers,
    configuration, reliability, security, self-hosting, the monitor and troubleshooting, plus docs/
    research notes in which every claim is labelled verified or unverified.

Security

  • SSRF boundary for web_open in three layers — lexical validation, DNS resolution validation
    of every returned address, and re-validation on every redirect hop. IP literals are parsed
    strictly, and IPv6 forms that embed an IPv4 address (IPv4-mapped, IPv4-compatible, NAT64, 6to4 and
    Teredo) are unwrapped and classified rather than trusted.
  • A URL, and therefore a credential in a query string, can no longer reach a diagnostic. Provider
    failure text is curated rather than taken from platform descriptions.
  • Retrieved text and provider answers are delimited before they enter the synthesis prompt, so
    fetched content cannot be read as an instruction.
  • The redirect loop — the whole SSRF boundary for redirects — now has tests, including the
    cross-scheme refusals.
  • Accepted and documented, not silently ignored: the DNS-rebinding window is one TTL wide, the HTTP
    transport has no built-in authentication or TLS by design (loopback is the default bind and a
    TLS-terminating reverse proxy is the supported exposed deployment), and JavaScript is not executed.

Fixed

  • A deeply nested page could kill the server process from a single web_open call. HTML parsing
    now refuses a body with no markup at all on the scraper path, bounds element nesting at 512 levels
    counted iteratively on the raw bytes, and parses on a dedicated 8 MiB-stack thread.
  • Response bodies were fully buffered before the byte cap applied, so one hostile or endless page
    could exhaust memory; the cap is now enforced during the transfer.
  • A caller's cancellation was swallowed on the search, fetch and synthesis paths. It now
    propagates, so a cancelled tool call says so instead of blaming a provider or reporting a
    synthesis failure.
  • Untrusted seconds were converted Double → Int without a range check, so Retry-After: 1e30
    or mcps-mon --interval inf could trap the process.
  • A half-open circuit breaker authorised an unbounded number of requests, because the probe
    refusal was discarded outside the open branch.
  • Ctrl-C, SIGINT and SIGTERM left the dashboard's terminal in raw mode with the cursor hidden.
  • web_open blamed a search provider for a fetch failure, and the Jina Reader fallback hid the
    third-party disclosure.
  • A locally throttled provider was reported to the caller as a bad request rather than as a
    retryable local condition, and upstream throttles were reported as "nothing was attempted".
  • The compose file's SEARXNG_SECRET_KEY override named a variable SearXNG never reads, so a
    publicly tracked placeholder signed sessions.
  • The HTTP transport served exactly one MCP session per process and could never release it; each
    initialize now gets its own session and DELETE releases it.
  • Removing a running SearXNG instance before its replacement was proven, which could leave a node
    serving nothing; the swap is now reversible with rollback at every fallible step.
  • A request head declaring a large body allocated the buffer before the body arrived (64 MiB at
    the connection bound).
  • Rank fusion applied a resale discount per response instead of per result, discounting results
    from indexes nobody else had; a resold page is now attributed to the index it came from.
  • Provider limits were installed after the pipeline was returned, so an early request could
    bypass the breaker and rate limiter.
  • The mode deadline could open circuit breakers, treating a budget timeout as a provider failure.
  • Configuration was validated before the command line was parsed, so a mistyped config value made
    --help exit 2 with no usage.
  • Tool schemas drifted apart: web_answer had lost the provider enum web_search declares,
    the nullable enums excluded the null their own type admits, and the zero-argument status tool was
    the only object schema without required.
  • Two defects the new tests found in the monitor: the node probe read unresponsiveEngines while
    SearXNG emits unresponsive_engines, and a redirected frame was padded to an assumed screen size.
  • Placeholder credentials no longer activate the live test suite, so a plain swift test cannot
    spend provider credits.

Changed

  • Swift 6.4 / Xcode 27, strict concurrency (Swift 6 language mode) in every target, and
    -warnings-as-errors; the build has zero warnings.
  • Every provider contributes to fusion with weight 1.0. Wider weights degenerate into provider
    preference — a score of weight / (k + rank) lets one provider's whole list outrank another's.
  • SEARCH_CONNECT_TIMEOUT_MS was removed rather than implemented: the transport exposes no
    connect-only deadline, and a knob nothing reads is worse than no knob.
  • Jina is no longer selectable as a search provider — the adapter and its provider id were
    deleted, because it could never be selected. JINA_API_KEY only raises the extractor's rate limit.
  • mcps-mon exits non-zero when the whole fleet is down, so it can be used as a health check;
    --exit-zero restores the old behaviour.
  • mcps-mon probes providers once on the first frame and thereafter only on demand, so an
    unattended dashboard cannot spend recurring credits.
  • Tool output carries a human-readable text block alongside structuredContent, because OpenAI's
    MCP client exposes only a string.
  • CI runs on the xcode-27 image with 18 gates, including a coverage floor, swift-format,
    SwiftLint, ruff, pyright (strict), shellcheck, semgrep, a full-history gitleaks scan and
    osv-scanner. CodeQL runs in advanced setup on the same image with a manual build, so the analysis
    is of the toolchain the project actually uses.
  • Dependency graph pinned exactly, with Apache-2.0 attribution notices carried in
    THIRD-PARTY-NOTICES.md and checked against the lockfile in CI.

Known limitations

  • N...
Read more