What it does

  1. Reads
  2. Writes
  3. High impact

At most: only reads or looks up information.

What it costs

Free

Odel charges nothing per call. The publisher may charge for its own service.

Runs locally over stdio

This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).

Dockerghcr.io/sebastienrousseau/scout-mcp:0.0.8

Run

docker run -i --rm ghcr.io/sebastienrousseau/scout-mcp:0.0.8

MCP client config

{
  "mcpServers": {
    "scout": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sebastienrousseau/scout-mcp:0.0.8"
      ]
    }
  }
}
README11 min read

scout-mcp logo

scout-mcp

scout, the Model Context Protocol server diagnostic, as MCP tools — so an agent can evaluate a server, or check an attestation about one, from inside the editor. Read-only, allowlisted, and it never sends a credential.

Build Status Container image Go Reference OpenSSF Scorecard License: GPL-3.0-only Minimum Go version


Contents

Getting started

  • Install — go install, the container image, and an MCP host configuration
  • Requirements — scout itself, and the Go floor to build from source
  • Quick Start — ask the agent to evaluate a local server

The scout-mcp ecosystem

Reference

Operational


Install

scout_check runs the scout program. scout must be installed and on PATH, or named with --scout, for that tool to work; the container image carries it. scout_verify_attestation needs nothing but scout-mcp.

As a Go program

sh
go install github.com/sebastienrousseau/scout-mcp/cmd/scout-mcp@v0.0.8
go install github.com/sebastienrousseau/scout/cmd/scout@v0.0.8

Release binaries for Linux, macOS and Windows on amd64 and arm64 are on the releases page, with signed checksums and SLSA provenance.

As a container image

sh
docker pull ghcr.io/sebastienrousseau/scout-mcp:0.0.8

The image is scout's own release image with scout-mcp added: distroless, non-root, linux/amd64 and linux/arm64, with scout at /usr/local/bin/scout and scout-mcp started with --scout pointing at it.

In an MCP host

scout-mcp speaks MCP over stdio, so a host starts it as a child process. For Claude Desktop (claude_desktop_config.json), Claude Code (.mcp.json) and other hosts that read an mcpServers block:

json
{
  "mcpServers": {
    "scout": {
      "command": "scout-mcp",
      "args": ["--allow", ".internal.example.com"]
    }
  }
}

With the container image instead:

json
{
  "mcpServers": {
    "scout": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "ghcr.io/sebastienrousseau/scout-mcp:0.0.8"]
    }
  }
}

Inside a container, loopback is the container itself. To evaluate a server on the host, run the container with --network host on Linux, or point at host.docker.internal and add -e SCOUT_MCP_ALLOW=host.docker.internal to the arguments.

The server is listed in the official MCP Registry as io.github.sebastienrousseau/scout-mcp; server.json is that listing.


Requirements

RequirementFloorEnforced by
scouton PATH, or --scout; the version this one is in lockstep withCI builds scout at that tag and evaluates this server with it
Go (building from source)the go directive in go.modCI tests on that version and on latest stable, on Linux, macOS and Windows
An MCP hostany that starts stdio servers and speaks revision 2025-03-26 or laterthe handshake negotiates 2025-11-25, 2025-06-18 or 2025-03-26, and 2026-07-28 through server/discover
The server under testa Streamable HTTP endpoint on the allowlistscout_check refuses any other URL before scout runs

The Go floor is raised only when a release needs a language feature, on a patch release like everything else pre-1.0, and the changelog says so.


Quick Start

sh
go install github.com/sebastienrousseau/scout-mcp/cmd/scout-mcp@v0.0.8
go install github.com/sebastienrousseau/scout/cmd/scout@v0.0.8
claude mcp add scout -- scout-mcp

Then, with an MCP server of your own listening on http://127.0.0.1:3000/mcp, ask the agent:

Evaluate my MCP server at http://127.0.0.1:3000/mcp with scout and fix what fails.

The agent calls scout_check, which runs scout check http://127.0.0.1:3000/mcp --auth none --output json and returns the score, the grade and every failing check with its detail and a link to the fix. Loopback needs no configuration; any other host must be named with --allow first.


The scout-mcp ecosystem

One engine, three surfaces, five satellites. This repository is the distribution surface: its deliverable is a registry listing, so scout is where agents look for tools.

ComponentPurposeUse case
scoutThe engine, every check, and the CLI, TUI and web surfaces (GPL-3.0-only)Evaluate a server and write the statement
scout-reportingThe attestation format, its schema and the offline verifier (Apache-2.0)Gate on a statement in a gateway, registry or pipeline
scout-actionThe GitHub Action and GitLab template wrapping the published image by digest (Apache-2.0)Run scout in CI without installing it
scout-mcpscout's diagnostics as read-only MCP tools (GPL-3.0-only)Evaluate a server from inside an editor
scout-lspA language server over MCP artefacts (planned)Hover a check id for its remediation
scout-censusThe published reliability census (planned)Reproduce the numbers

The family manifest lives in scout at docs/ecosystem.md; make family checks this repository's row against it. Every lockstep repository carries scout's version; this one wraps scout's release, so its version is scout's latest, exactly.


Capabilities at a glance

AreaCapabilityStatus
Evaluatescout_check: score, grade, counts and up to 25 failing checks for an allowlisted Streamable HTTP endpoint, optionally narrowed to some of scout's nine phasesStable
Verifyscout_verify_attestation: structure, subject digest and target of a scout attestation, offlineStable
Identifyscout_version: scout-mcp's version and the scout it runsStable
ResultsText for the agent, plus structuredContent matching each tool's outputSchemaStable
Protocolstdio; handshake 2025-11-25, 2025-06-18, 2025-03-26; server/discover for 2026-07-28; pingStable
Servers that are programs (--stdio)not through a tool; run scout check --stdio yourselfOut of scope
Credentialsnever sent; every run is --auth noneOut of scope by design

Ecosystem comparison

The alternative is running scout in a terminal and pasting the report into the conversation, or poking the server by hand in an inspector. scout-mcp is the first with the decisions made for an agent: which hosts it may reach, that no credential travels, and a result sized for a context window.

ApproachAn agent can call itTargets limited by the operatorScored, with remediation links
scout-mcpyesyes — loopback unless --allowyes
scout check in a terminalnothe operator types the URLyes
MCP Inspectorno — a UI for a personthe operator types the URLno

Benchmarks

The server adds a process start and a JSON round trip to a run; the run itself is scout's, and bounded at five minutes. Measured with hyperfine on the binaries built from this tree.

ScenarioResultEnvironment
Start, initialize, tools/list, scout_version, exit16 ms meanApple A18 Pro, Go 1.27.1, 2026-09-24
scout's full stdio evaluation of scout-mcp94 ms meansame
scout_check against a serverscout's own timings, in its reportthe target server

Features

An allowlist, on by default and narrow. With no configuration, scout_check evaluates loopback addresses only: localhost, any *.localhost name, and loopback IPs. --allow names more hosts, exactly or as .example.com for every subdomain (not the apex). scout makes real requests to the endpoint it is given, and an agent choosing that endpoint from a prompt is exactly the situation in which a request should not go anywhere the operator did not name. A URL that is not http or https, or that carries credentials in it, is refused before scout runs.

No credentials. Every run is scout check <endpoint> --auth none, with SCOUT_CONFIG pointing at an empty configuration file, so no profile or defaults block the operator wrote for their own use can add a credential, switch on mutations or redirect the report. The operator's secrets do not travel to wherever an agent points scout.

Read-only, twice. Every tool here is annotated readOnlyHint: true. And no flag that allows a mutating tool is ever passed to scout, so scout invokes only the evaluated server's tools that declare readOnlyHint.

scout, not a copy of it. scout-mcp runs the scout program and reads the JSON report it prints; it does not link scout's engine. The version scout_version reports is whatever scout version says, and every safety property scout has holds, because the server can only ask for what scout's own flags allow.

Answers an agent can act on. A failing check comes with its id, severity, detail and a documentation link. A statement that does not verify is a result saying why, not a tool error. A server that fails everything returns the first 25 failures and says it truncated.


Configuration

FlagEnvironmentDefaultMeaning
--allowSCOUT_MCP_ALLOWempty: loopback onlyHosts scout_check may evaluate besides loopback, comma-separated; a leading dot allows subdomains
--scoutSCOUT_MCP_SCOUTscout on PATHPath of the scout program
--version——Print the version and exit
--completion——Print a completion script for bash, zsh or fish, and exit

A flag overrides its environment variable. Nothing else is read: scout itself runs with an empty configuration file, whatever the operator's own scout configuration says.

Shell completions come from the flag set, so they list every flag:

sh
scout-mcp --completion bash > /etc/bash_completion.d/scout-mcp
scout-mcp --completion zsh > "${fpath[1]}/_scout-mcp"
scout-mcp --completion fish > ~/.config/fish/completions/scout-mcp.fish

Examples

A tools/call for scout_check:

json
{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"scout_check","arguments":{"endpoint":"http://127.0.0.1:3000/mcp","phases":["handshake","catalog"]}}}

arguments for the other two:

json
{"statement": "<the attestation's JSON text>", "endpoint": "https://mcp.example.com/mcp"}
json
{}

The first is scout_verify_attestation, with endpoint optional; the second is scout_version, which takes no arguments. An unknown argument is refused rather than ignored, so a misspelling is reported.

To see the handshake and the tool list without a host:

sh
make smoke

When not to use scout-mcp

  • For a server that is a program. scout_check takes a Streamable HTTP URL. An agent starting arbitrary programs is a different trust decision; run scout check --stdio -- <command> yourself.
  • For a server that needs credentials. Every run is --auth none, so the evaluation is what an unauthenticated client sees. Run scout in a terminal with the credentials you were given for the rest.
  • As a CI gate. Use scout-action, which keeps the report and fails the job.
  • To check who signed an attestation. scout_verify_attestation checks structure and integrity; the signature is the envelope's, and cosign or gh attestation verify checks it.
  • For many evaluations at once. Requests are answered in turn; a host that wants two at once starts two servers.

Development

bash
make            # format, vet, lint, headers, tests, stdio smoke test
make test-race  # race detector, randomised order
make image      # the container image for this machine, without goreleaser
make family     # this repository's row in scout's family manifest
make lockstep   # the version is scout's latest release

Every gate CI runs has a local form; DEVELOPMENT.md maps them. CI also builds scout at the lockstep version and has it evaluate this server over stdio, failing below 90 or on any failing check but supply.provenance.


Security

The endpoint an agent passes is checked against the allowlist before scout runs, and a refused endpoint never reaches scout. scout runs with --auth none and an empty configuration file, and with no flag that allows a mutating tool; each of those is a test in internal/runner and internal/server. What reaches the agent is bounded: at most 25 failures per result, and scout's error output cut to its last 400 characters. CI runs govulncheck on every push, and releases are signed with cosign keyless and carry SLSA build provenance.

Report vulnerabilities according to SECURITY.md.


Documentation

The four entry points, identical across every repo in the family:

  • User Manual — scout's rendered manual: the phases, the checks, the report
  • API reference — this module's packages
  • Developer docs — toolchain, task map, reproducing every CI gate locally
  • Ecosystem map — the family, the published artefacts, the lockstep version rule
DocumentCovers
docs/publishing.mdPublishing the registry listing
docs/adr/Decision records for this repository
server.jsonThe MCP Registry listing
SECURITY.mdDisclosure policy, supported versions, what is guaranteed
CONTRIBUTING.mdSigned-commit and DCO policy, what a change needs
CHANGELOG.mdPer-release notes, and the lockstep version rule
SUPPORT.mdWhere to ask, and what to expect

Stability guarantees

scout-mcp is pre-1.0, carries scout's version, and follows SemVer with the patch digit moving for everything until 1.0.

The breaking axis is what an agent or a host relies on. These are breaking:

  • Removing or renaming a tool, an argument or a structured result field
  • Making an optional argument required
  • Widening the default allowlist, sending a credential, or passing scout a flag that allows a mutating tool
  • Changing a flag's or an environment variable's meaning

Added tools, optional arguments and result fields, and a new scout release underneath are not breaking. What a run reports is scout's, and scout's own stability rule governs it.

Deprecation window. A deprecated tool or argument keeps working for at least one release after the release that announces it.


License

Licensed under the GNU General Public License v3.0 only.

scout-mcp is GPL-3.0-only like scout, the program it runs. It uses the Apache-2.0 scout-reporting verifier for attestations.

Back to Top

Similar modules