sourceharbor

MCP Quickstart

SourceHarbor already exposes an MCP surface for agents and automation.

In plain language:

That same system truth now stretches across the product line:

This is the strongest ecosystem binding for SourceHarbor today:

If you want one packaged command surface first from inside a local checkout, run:

npm install --global ./packages/sourceharbor-cli
source .runtime-cache/run/full-stack/resolved.env
sourceharbor templates

If your stack is not using the repo-managed runtime snapshot, pass the real API base URL through SOURCE_HARBOR_API_BASE_URL instead of assuming port 9000.

If you are already inside the repo and only want the direct substrate, run:

./bin/sourceharbor help

If you want the install artifact that the official MCP Registry template now targets, use the root Python package:

uv build
python3 -m pip install dist/sourceharbor-*.whl
sourceharbor-mcp

Registry ownership marker:

mcp-name: io.github.xiaojiou176-open/sourceharbor-mcp

If you specifically want the OpenClaw-facing compatibility path, start with docs/compat/openclaw.md and starter-packs/openclaw/README.md.

Container truth, kept short:

Start MCP Locally

./bin/bootstrap-full-stack --install-deps 0
./bin/full-stack up
source .runtime-cache/run/full-stack/resolved.env
./bin/sourceharbor mcp

The thin facade above routes to the same underlying entrypoint as ./bin/dev-mcp. This starts the FastMCP server wired in apps/mcp/server.py.

Representative Tools

The full manifest lives in apps/mcp/schemas/tools.json.

Honest Boundary

Why It Matters

Think of MCP as the control panel for assistants:

All three surfaces point at the same pipeline state.

If you want the honest builder-facing map instead of just the quickstart, read builders.md.