voyager-repo
MCP server that provides safe, read-only repository orientation and risk assessment via the scout_repo tool, including structural analysis, dependency vetting, and detection of high-risk findings.
README
voyager-repo
Voyager's repo-penetration organ — the eyes an AI agent sends ahead before it touches an unknown repository.
Voyager penetrates the web (@dir-ai/voyager),
the repo (this), and — next — networks. Repotector is the repo's guardian
that receives and controls; Voyager Repo is the agent's counterpart that reaches
outward and reports back, safely.
npx @dir-ai/voyager-repo scout . # orient in the repo you're standing in
npx @dir-ai/voyager-repo scout . --check-deps 10 # + vet 10 deps via Voyager
What it does
Like how Claude or Codex orient themselves in a new codebase — but as a safe,
repeatable tool. scout produces an orientation brief:
- purpose — inferred from the manifest/README, framed as untrusted (owner text is injection-stripped before it reaches your model)
- structure — languages, key dirs (with role guesses), entrypoints
- build — the install/build/test/run commands (detected, never run)
- health — git signals: commit count, bus factor (top-author share), recency, churn hotspots
- dependencies — composes with Voyager to give each dependency a real
OSV-gated verdict (
--check-deps N) - risks — install hooks (RCE on
npm install), committed secrets, missing lockfile, large opaque binaries - approach plan — see below
The approach protocol (the point)
A careful newcomer, not a bulldozer:
- Handshake with Repotector if the repo carries one (
.repotector/) — read its active zones/leases and respect them before editing. - Fail-closed permissions. Everything is read-only by default. Installing
dependencies, executing code, or cloning a remote is withheld until you
consent (
--allow-install/--allow-exec/--allow-clone) — and execution, when allowed, belongs in a sandbox. - An orderly tour — the brief ends with the ordered next steps a well-behaved agent should take, so it explores on purpose instead of poking at random.
Guarantees
- Nothing in the target is executed on the host.
scoutreads files and git; it never runs the repo's code. (Execution, when consented, runs in Voyager's hardened container.) - Every owner-controlled byte is untrusted — README, description, commit messages, the Repotector ledger — injection-stripped and framed before your model sees it.
- Exit codes:
0oriented ·1oriented + HIGH-risk finding(s) ·2tool error.
MCP
voyager-repo mcp
Tool: scout_repo — same orientation, safe-by-default (invasive flags off).
Library
import { scout } from '@dir-ai/voyager-repo'
const brief = await scout('/path/to/repo', { checkDeps: 10 })
if (brief.risks.some((r) => r.level === 'high')) { /* caution */ }
Status
0.x — Phase 1 (repo orientation) of the Voyager "senses" line. Roadmap:
capability analysis of a package's tarball, PyPI/cargo/go dependency vetting,
and the net organ (cloud/infra introspection).
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.