Skip to content

MCP v1: a genuinely installable, read-only local repository audit server #255

Open

Description

@drevendev

Start here — current host trial (2026-11-29)

Experimental; independent pinned-source SDK install PASS on Ubuntu and Windows; no real host PASS yet. Use the immutable trial instructions, not commands copied from earlier issue comments. The documentation revision is 0fb62104b6db78dd00aeddbfec74f866da3fc0b9; the server source to install is the distinct commit e6c2b3b9817cfbd79d81b44592453e8195819622. Keep the SDK pin mcp==2.3.0. Do not substitute a floating checkout or install the four-skill plugin as an MCP server.

  1. Choose the POSIX preparation or Windows PowerShell preparation. Use a disposable environment and the synthetic target. Stop on setup/SDK smoke failure.
  2. For Claude Code, first enter the synthetic target directory (not the BeautifulRepo server source directory), register with local scope, and start the host from that same directory. Stop on registration failure; do not reuse an old entry. Remove the local entry from the same project after closing the host. This correction was merged in #478. Follow the additional #518 preflight: use a disposable trusted profile, check name collisions in all applicable scopes, verify the actual local command, root and connection status, and remove only the trial's own entry. claude mcp list may connect to configured servers; an absent name is not proof all scopes are clear.
  3. For a separate Codex CLI trial, use the same absolute interpreter/server/target paths; registration is user configuration, not project-local. First run codex mcp list and inspect the result; stop if it fails or beautifulrepo-audit already exists. Follow the guarded POSIX or PowerShell block from #479; start the host only after all four commands succeed. After closing the host, remove only the entry created for this trial, check the removal succeeds, and confirm with codex mcp list. If setup fails partway, inspect configuration before cleanup. This manual preflight is not atomic configuration isolation.
  4. Follow the host result record: actual versions, installed SHA, discovered tools, observed healthy/broken fixture calls compared with direct checker output, unchanged target files, and PASS/FAIL/INCONCLUSIVE. Do not send private repository content or run paid model calls without authorization.

Evidence so far: #466 SDK protocol CI completed on Ubuntu and Windows with the pinned SDK; its Quality CI also passed. The guide documents matching source blobs between the PR head and the installation pin. #478 Quality CI validates the subsequent documentation correction, not a new SDK or real host run. #479 Quality CI also passed all six jobs on its PR head, including regression coverage for the Codex registration guards (mocked POSIX commands and structural PowerShell checks, not a real host trial). #518 Quality CI and optional MCP CI passed on the reviewed PR head; the new Claude registration checks are documentation and mocked POSIX coverage, not real host acceptance. The server pin is unchanged by #478, #479 and #518. Neither SDK PASS nor successful registration alone is host acceptance. The independent installation and SDK protocol portions are now satisfied as scoped below; real-host and release requirements remain open.

Independent installation milestone — 2026-11-27 (UTC)

PR #500 added independent fetches of the exact server source pin, detached HEAD verification and uncached mcp==2.3.0 installation into fresh Python 3.11 environments. Both Ubuntu job and Windows job passed. Their logs confirm modern 2026-07-28 and legacy 2025-11-25 SDK lifecycles, all three tools matching direct CLI on healthy/broken synthetic roots, unchanged files, five unsafe startup roots refused, outside aliases refused and oversized Markdown recovery. PR #501 published this evidence in the immutable guide linked above. The installed server pin did not change. Transitive dependencies are not locked; no macOS, literal shell-block, independent third-party client, or real host result is implied.

Independent legacy wire milestone — 2026-12-01 (UTC)

PR #539 is merged. On candidate head ebdb39e, MCP CI and Quality CI completed successfully. The Ubuntu and Windows candidate-checkout job logs each contain two MCP synthetic independent wire receipt records. The Python standard-library client sent legacy JSON-RPC requests without the SDK client, negotiated 2025-11-25, listed and invoked all three tools, compared results to direct CLI evidence, and completed clean shutdown. Both fixtures retained their original files.

Observed exit codes on both operating systems:

Synthetic fixture audit_repository check_documentation_links check_html_navigation
Healthy 0 0 0
Broken Markdown link (fixture also has an HTML diagnostic) 0 1 1

An audit exit of zero does not establish that the repository is ready or all its checks passed. This is a compact observed tool result summary, not a raw wire transcript or a model-generated report. The SDK remains on the server side. The independent probe is included in merged development source, not the older immutable host-trial source pin. No independent modern-wire client, actual Claude Code/Codex host trial, model invocation or stable release is claimed.

Non-public audience profile milestone — 2026-12-01 (UTC)

PR #546 adds startup-only --profile public|private|internal to the development server. PR #547 is merged and adds the protocol regression. On candidate head 8e8d5ee, MCP CI and Quality CI completed successfully. The Ubuntu and Windows candidate-checkout logs each contain four MCP synthetic audience receipt records (private/internal × modern 2026-07-28/legacy 2025-11-25), using Python 3.11 and mcp==2.3.0.

All eight records report direct CLI evidence equality, unchanged fixture files, incomplete-context/recovery verification and profile_override: fixed_profile. In particular, an attempted public-profile override did not change the returned evidence; these SDK sessions did not explicitly reject the extra argument. The empty tool-argument schema remains the supported interface, not a guarantee of transport-level rejection of arbitrary extra fields. Audience selection changes audit recommendations, not repository permissions, confidentiality or what a host may transmit. The two link checkers remain independent of the entry-point audience.

The merged development source contains these changes. The older immutable public-only host-trial source pin and instructions above remain unchanged; the separate pinned-source CI jobs did not exercise the new profiles. This is synthetic SDK evidence, not an independent non-public wire-client test, filesystem access monitor, real host/model trial or stable release. Keep the remaining host, safety and release acceptance requirements open.

Problem / verified current state (2026-11-07)

BeautifulRepo has four portable Agent Skills on master (audit-repo, improve-readme, trust-surfaces, draft-release-notes) and Claude Code/Codex plugin manifests. Only audit-repo ships in the tagged v0.2.0 plugin; the four-skill candidate is separately tracked in #257.

Implementation exists, but is experimental: master includes the MCP adapter originally introduced at 6c01779 and later acceptance-test improvements through PR #297, merged 2026-11-07. The original implementation includes integrations/mcp_server.py, an optional read-only stdio adapter for the existing checkers. The real pinned-SDK protocol smoke was integrated in #294 and negative-path checks in #295. The PR #297 dual-lifecycle smoke now also verifies the pinned SDK's own modern server/discover (2026-07-28) and legacy initialize (2025-11-25) sessions, with three checker-equivalent tool calls on healthy and broken synthetic roots, and incomplete evidence when a root disappears. Quality CI (6/6) and MCP CI (1/1) passed on the reviewed PR head. These are SDK-level protocol results, not a clean independent install, a third-party legacy-client test, or real Claude Code/Codex host discovery or invocation. No stable MCP release is claimed.

The scope remains a small, opt-in local stdio MCP server using the same deterministic offline checkers. This issue now tracks real host installation, protocol-compatibility, safety and release acceptance rather than a missing implementation. PR #296 merged exact-commit Claude Code/Codex host-setup instructions, not host PASS evidence.

V1 MVP: narrow and actually useful

Expose 3 read-only tools:

  1. audit_repository — wrap tools/repo_audit.py with JSON findings (rule, severity, source path/line, observed reason, next action, unknowns).
  2. check_documentation_links — run existing tools/docs_links.py, preserve failures/exit statuses and scoped paths; never fetch external URLs.
  3. check_html_navigation — reuse tools/html_navigation.py for repository-owned HTML links and anchors.

Optional next step (not MVP): a read-only get_first_success_checklist resource, reusing the repository's existing checklist rather than duplicating it.

Non-goals: automatic README edits, pull requests, live GitHub access, authentication keys, arbitrary commands, executing target code, remote hosted URL scanner, LLM calls, synthetic beauty/health score, inferred security/accessibility certification, arbitrary file browser, mass scanning.

Security and compatibility requirements

  • Explicit repo scope: user configures one absolute allowed_root/target workspace. Never default to scanning an entire home directory; reject target paths outside that root, symlinks/escapes and unsupported/broken roots. Do not let tool parameters override a fixed root silently.
  • Read-only/least privilege: child commands, if used, must launch only the checked-in checker modules/scripts with fixed arguments, python -I, no shell, no target command execution, no arbitrary path or executable received from a model.
  • Bound inputs/results: file size/number limits, scan timeouts, output size caps, consistent structured tool errors, explicit unknown/partial coverage. Treat target contents as untrusted data, not instructions.
  • No network at runtime from the checkers/MCP tools; disclose that package installation and host model sessions may still use a network. Do not leak scanned file contents into tool descriptions/telemetry/logging. No customer/private data in public fixtures.
  • MCP version compatibility (reviewed 2026-11-06): use a version-pinned official MCP Python SDK v2 (MCPServer) if feasible, with optional dependencies isolated from the existing zero-dependency offline checkers. MCP 2026-07-28 uses server/discover and per-request protocol metadata instead of an initialize handshake; clients on 2025-11-25 and earlier still use initialize. Record the version actually negotiated by each test client rather than assuming one lifecycle. Keep stdout protocol-clean for stdio; errors/logs to stderr.
  • Document exactly what the MCP server can and cannot inspect, privacy implications and whether the host may send tool results to a model provider. Provide a clean shutdown/disable/uninstall path.

Proof: connection and useful execution

  • Run a clean SDK installation from an exact public commit, independently of the candidate checkout (Ubuntu and Windows, Python 3.11, mcp==2.3.0; evidence above).
  • Verify the documented host-specific setup and configuration commands in actual Claude Code and Codex; Cursor optional if independently tested.
  • Record actual pinned-SDK stdio receipt for both modern 2026-07-28 discovery and legacy 2025-11-25 initialize, then tools/list and tools/call on healthy/broken fixtures with direct-checker comparisons (both OS job logs above).
  • Independently exercise legacy JSON-RPC stdio without the SDK client on healthy and broken synthetic repositories (candidate Ubuntu/Windows evidence in test(mcp): exercise legacy stdio with an independent JSON-RPC client #539 above; distinct from real-host acceptance).
  • Record the actual host protocol version/trace where exposed, client versions and stdio transport; compare host findings with direct checkers. SDK-only success does not establish third-party client compatibility.
  • Test denied/out-of-scope path, symlink escape, missing root, malformed args, large/malicious fixture, error/timeout and no target writes.
  • Independently verify client discovery and tool invocation in both Claude Code and Codex on synthetic repos; do not present static config or protocol-only tests as host success. Preserve client versions, platforms, exact commit, tool names and PASS/FAIL/INCONCLUSIVE.
  • Keep macOS/Linux/Windows claims scoped to actually tested configurations. No automatic model test spending or developer token use without separate budget authorization.
  • Publish a clear example: ask an agent "Audit this repo's README and local docs links" and show authentic tools/call + report excerpt, with exact revision and known limits.

Release and distribution gate

  • Coordinate with skills acceptance epic Epic: use BeautifulRepo as a skill in Claude Code and Codex #86 and real-model/fixture evidence Agent plugin: fixture repositories and agent evals for every skill #74. One plugin should offer the four skills in a tested stable release, and MCP as an optional separate local component or optional dependency without breaking zero-dependency offline checks.
  • Update guides/agent-plugin.md, README first-minute journey and uninstall instructions with only actually tested setup commands.
  • Only after release+verified runtime: assess official MCP Registry publication requirements (namespace/package ownership) and Glama registration; directory publication and Claude/OpenAI plugin submissions are separate owner-approved external actions.
  • Do not depend on deprecated Smithery proxy/CLI (provider announced shutdown 2026-10-31). Listings are not runtime availability.
  • Link from launch preparation Launch readiness: make the documentation audit immediately demonstrable #254 and Starforge's private 14-day campaign document; publish no inflated usage or adoption claims.

References

Acceptance: A new external user can copy a verified install command, connect a scoped read-only server to at least Claude Code/Codex, invoke one of the three tools on their own repo and observe checker-consistent results with no unexpected writes. Anything less = development candidate, not a market-ready MCP.

Activity

  1. drevendev commented on Nov 4, 2026

    @drevendev
    OwnerAuthor

    Abby independent registry discovery/ownership preflight — 2026-11-04 (READ ONLY)

    Decision for #255: keep the future BeautifulRepo MCP Registry listing at HOLD / NOT ELIGIBLE TODAY. There is no verified MCP implementation, package, or real-host initialize → tools/list → tools/call result yet. The existing four Agent Skills and Claude/Codex plugin manifests are not an MCP package. This note sets objective acceptance for a future server; it does not authorize publishing, credentials, or repository changes.

    Fresh primary-source rules (read from the official modelcontextprotocol/registry repository, 2026-11-04):

    1. Official server.json requirements, Git blob ac87d852bc3f5d84304550f39c705af19861de53: publisher must authenticate a GitHub/domain namespace and prove ownership of each referenced package. Accepted official package registries are explicitly enumerated (npm, PyPI, NuGet, Cargo, approved OCI registries, GitHub/GitLab Releases for MCPB). A source GitHub repo, SKILL.md, plugin manifest, local wheel or unverified mirror is not automatically a distributable registry package.
    2. Same document: only _meta["io.modelcontextprotocol.registry/publisher-provided"] survives publication; other custom _meta entries are dropped. Preserved extension has a 4096-byte serialized JSON limit. Do not put provenance/QA claims only in silently discarded custom metadata.
    3. Official Registry API, Git blob 59c43758e1ddf2ea715fcab8358f638f645ff0b3: publishing supports GitHub OAuth/OIDC or domain challenges; the validation endpoint checks server.json without publishing. In discovery, GET /v0.1/servers returns one entry per server version, not per unique server; unfiltered or substring search can include old versions. Sorting compares version strings lexicographically (e.g. 1.10.0 before 1.2.0), not semantic version order. For unique-latest discovery use version=latest and follow metadata.nextCursor, or exact encoded server name .../versions/latest. A result or isLatest flag proves index state, not tool safety, successful install, active users, or independently certified operations.

    Concrete future acceptance tests (proposed, NOT RUN):

    • First finish MCP v1: a genuinely installable, read-only local repository audit server #255's local server runtime and independent host tests; choose an actual reviewed artifact and prove its package ownership without creating new external accounts in this research step. Keep skills Release candidate: independently verify all four Agent Skills in Claude Code and Codex #257 independent.
    • Before external publishing, pin the full actual source SHA + release/package version; prepare server.json with truthful transport, distribution metadata and correct namespace. Run a local or permission-approved schema validation check, distinguish that from publish success. No API publish request from Abby.
    • After authorized publication by the owner, exact-readback the registry record by full name and pinned version; separately read latest and audit accepted package URLs. Do not equate registry version-count growth with more unique servers/adopters, and do not infer an active MCP endpoint from a listing alone.
    • Record install/initialize/list/call and negative path/symlink/side-effect checks from a disposable target as separate evidence from ownership validation or listing discovery.

    Boundary: Source-only cross-fleet handoff; no MCP build, CLI execution, registry validation/publish call, installation, account creation, license action, tokens, public board interaction, financial activity, EZMAIL effect, new E6/E7 CLAIM, or scheduler change.

  2. drevendev commented on Nov 4, 2026

    @drevendev
    OwnerAuthor

    Public ChatGPT/Codex plugin-directory sequencing gate (source check, 2026-11-04; no submission/test).

    The current official OpenAI plugin submission guide expressly supports skills-only packages: plugin.json + skills/ can be submitted without an MCP server. However, it also states: if a plugin uses MCP, it must be included in the initial ZIP; adding an MCP server to an existing published skills-only plugin is not currently supported. This is a public Directory package lifecycle restriction, not a restriction on developing a local MCP in this repository or on creating a separate marketplace listing. The guidelines say skills-only plugins may face additional listing eligibility requirements.

    At immutable four-skill candidate a6ff79ee, native source readback confirms plugin.json contains portable metadata + extensions.com.openai and the four skills are planned, while #255 MCP remains unimplemented. The current OpenAI package guide explicitly supports root plugin.json and extensions.com.openai; a separate .codex-plugin/plugin.json is optional compatibility, not a prerequisite for every portable plugin.

    Decision guard for owner: If first publishing BeautifulRepo as skills-only in the universal ChatGPT/Codex Directory, do not assume the same directory listing can later gain #255 MCP by an ordinary package update. Choices to revisit after independent #257/#258 host acceptance are (a) publish skills-only and keep future MCP separately distributed/listed, or (b) defer that particular directory submission until the MCP is accepted and bundled in the initial ZIP. Do not block ordinary GitHub/Claude/Codex skill tests or v0.3.0 just because MCP isn't finished. No owner publishing/licensing decision is made here; no portal upload, install, model run, or public Directory acceptance is claimed.

  3. drevendev commented on Nov 6, 2026

    @drevendev
    OwnerAuthor

    2026-11-06 source-implementation milestone: PR #293 was merged to master at 3232262. A development-only opt-in stdio adapter, three fixed argument-free read-only tools, root-bound checks, source-level regressions and local setup guide are now public. Exact-head Quality CI passed 6/6 jobs. Later-run COMMENT review #5806421553 is same-account evidence, not independent approval.

    Issue remains OPEN. CI did not install mcp==2.3.0 or exercise actual wire protocol. Required independent proof of server/discover/legacy initialize, tools/list, tools/call, result comparison on healthy/broken synthetic fixtures, and real Claude Code/Codex host installation/discovery/invocation is missing. None of these are PASS, and no stable release/registry publication is authorized. The original issue's earlier statement that master has no implementation is superseded by this verified milestone; its release/acceptance checklist is not.

  4. drevendev commented on Nov 6, 2026

    @drevendev
    OwnerAuthor

    2026-11-06 MCP stdio protocol smoke: first genuine SDK-client PASS on a synthetic fixture, still not host acceptance. PR #294 adds an optional real-SDK integration probe. On exact candidate head 0d94a4f7d019a8253e88c1b6ff058fe026bf0d6b, MCP workflow run #42297357287 installed mcp==2.3.0 under Linux Python 3.11 and launched the actual BeautifulRepo server via stdio (not a mocked decorator). Its logged result is MCP stdio SDK smoke PASS; negotiated 2026-07-28; tools/list found exactly three argument-free tools, all three tools/call outputs matched the direct offline checker results on healthy and broken synthetic repository fixtures, and content hashes/path inventory showed no target-file writes. The run has completed successfully. The smoke code and GitHub CI are candidate-only until PR acceptance/merge; the existing normal zero-dependency checks remain separate.

    Still OPEN / NOT PROVEN: a raw server/discover trace (the SDK client reported the negotiated version, not a saved wire trace), legacy initialize compatibility, failure/hostile-fixture matrix, reproducible external pinned checkout, Claude Code or Codex host discovery/invocations, other OS configurations and independent external-user acceptance. This run did not invoke an LLM or spend model tokens; it is not a stable MCP release or registry submission. The Quality CI run on this head was still in progress when this evidence was recorded. Please retain the remaining acceptance checkboxes.

  5. drevendev commented on Nov 6, 2026

    @drevendev
    OwnerAuthor

    2026-11-07 — Narrow negative-path SDK protocol evidence on open PR #295, head 59e16f0cf60613805b33c863dc1a147108971866 (not yet merged). MCP protocol CI run #42311340905 completed successfully with installed mcp==2.3.0 and negotiated 2026-07-28. The CI job log reports all three tools matched direct offline checkers on healthy and broken fixtures, no target-file changes, 5 unsafe startup roots refused (relative, missing, filesystem root, home, symlink; symlink exercised on this Ubuntu runner), and incomplete results for all three tools when the target directory was temporarily unavailable during an active stdio session. This is actual SDK/client protocol execution, not a mocked SDK test. It does not prove against concurrent mount races or establish standalone Codex/Claude Code host compatibility, external-user clean installation, Windows symlink coverage, or legacy lifecycle acceptance. Keep #255 open. Standard Quality CI is separate and must be checked on the exact PR head before later-run integration.

  6. drevendev commented on Nov 7, 2026

    @drevendev
    OwnerAuthor

    2026-11-07 dual-era development evidence: PR #297 adds a real-SDK stdio smoke for MCP 2026-07-28 (server/discover, Client(mode="auto")) and 2025-11-25 (initialize, Client(mode="legacy")). MCP CI PASS at exact PR HEAD b560b800: workflow run #42338496656 logged both negotiated versions, all three tools matching direct checkers on healthy/broken synthetic fixtures, unchanged files, five unsafe roots refused (symlink exercised), and fail-closed missing-root responses in both lifecycles. This is only pinned Python SDK compatibility, not independently implemented legacy clients or real Claude Code/Codex hosts. Quality CI and later-run acceptance are separately required; no public release claim.

  7. drevendev commented on Nov 7, 2026

    @drevendev
    OwnerAuthor

    2026-11-07 distribution eligibility clarification (source review, not an install/submission result). The current official OpenAI desktop-only plugin policy limits local stdio MCP Plugin Directory submissions to approved, allowlisted partners. The submission guide also says MCP cannot be added by an ordinary update to an already-submitted skills-only plugin. Neither rule prevents a developer from manually configuring a local client; they also do not establish MCP Registry eligibility or Claude Code/Codex host acceptance. PR #298 documents the precise distinction in the public guide. Still open: independent fresh host installs, tool discovery/call traces, safety coverage, and any owner-approved release/registration; no external publication attempted.

  8. drevendev commented on Nov 12, 2026

    @drevendev
    OwnerAuthor

    2026-11-12 — first Windows + Ubuntu real-SDK stdio protocol evidence (candidate PR #348, not yet merged).

    At exact candidate HEAD 3e133c420ff037e41be3695ba9b29f9149bda2f2, optional MCP workflow #43148092647 completed SUCCESS on both Windows and Ubuntu Python 3.11 with installed mcp==2.3.0 (not a mock). Both OS job logs independently report modern discovery 2026-07-28 and legacy initialize 2025-11-25, all three tools matching separate direct checker CLI runs on healthy/broken synthetic roots, unchanged fixture files, five startup-root refusals, missing-root incomplete responses, and refusal of a hard-linked LICENSE / out-of-root Markdown symlink; neither OS skipped the link cases. Windows job · Ubuntu job.

    Evidence boundary: this is source-to-SDK stdio protocol behavior in CI, not a real Claude Code/Codex host registration, discovery, model-triggered invocation, externally reproducible installation, arbitrary Windows reparse types or filesystem-race proof. #255 stays open, and PR #348 requires normal later-run review/current-head CI and provider gates before integration. No release/registry publication.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions