MCP Packages
Parent folder for all walkerOS MCP server packages.
Architecture
The MCP is the orchestrator and consultant for walkerOS. Four layers:
Resources → teach concepts (flow-schema, mapping, consent, variables, contracts)
Prompts → guide workflows (add-step, setup-mapping, manage-contract)
Tools → execute operations (flow_validate, flow_simulate, flow_bundle, flow_push)
Packages → provide specifics (hints, schemas, examples per step)
@walkeros/mcp is the local server: it works on files, URLs and inline JSON on
the user's machine. The tools for what the walkerOS app stores (projects, saved
flows, deployments, previews, secrets, Observe) live in the hosted walkerOS MCP
server at https://app.walkeros.io/api/mcp, which the walkerOS app owns; this
folder has none. The five shared tools (flow_validate, flow_examples,
flow_load, package_search, package_get), the reference resources and the
prompts are exported as plain specs from @walkeros/mcp/specs, so a host can
register the same code on its own server.
Packages
| Package | Purpose |
| -------------------------------------------------- | ------------------------------------------------------ |
| mcp/ (@walkeros/mcp) | Local server: flow tools, reference resources, prompts |
| source-browser/ (@walkeros/mcp-source-browser) | Tagging MCP server for source browser |
Tools (in `@walkeros/mcp`)
| Tool | Description |
| ---------------- | ------------------------------------------------- |
| flow_load | Load existing or create new flow configuration |
| flow_validate | Validate events, flows, mappings, or contracts |
| flow_bundle | Bundle flow into deployable JavaScript |
| flow_simulate | Simulate events through a flow (mocked API calls) |
| flow_push | Push real events through a flow (real API calls) |
| flow_examples | List step examples in a flow |
| package_search | Browse or look up walkerOS packages |
| package_get | Fetch package schemas, hints, and examples |
Resources
| URI | Content |
| ---------------------------------- | ----------------------------------------------------------- |
| walkeros://reference/flow-schema | Flow.Json structure and connection rules |
| walkeros://reference/event-model | Event naming, properties, auto-populated fields |
| walkeros://reference/mapping | Mapping syntax (data/map/loop/set/condition/consent/policy) |
| walkeros://reference/consent | Consent model (destination and field level) |
| walkeros://reference/variables | Variable patterns ($var/$env/$code/$store) |
| walkeros://reference/contract | Event schemas, wildcards, inheritance |
| walkeros://reference/examples | A complete, tested flow config (flow-complete.json) |
| walkeros://reference/packages | Full package catalog, { catalog, count, warnings? } |
| walkeros://schema/{packageName} | Per-package JSON schemas |
Prompts
| Prompt | Description |
| ----------------- | ----------------------------------------------------------- |
| add-step | Add a source/destination/transformer/store to a flow |
| setup-mapping | Configure event mapping for a step |
| manage-contract | Create/update event contracts (bidirectional with mappings) |
Networking
The local server calls no walkerOS app API; only opted-in usage telemetry,
through the CLI's telemetry emitter, reaches the app. Package lookups go to npm
and jsDelivr with an X-Walkeros-Client: walkeros-mcp/{version} header. No PII;
the header is the only client identifier.
Conventions
- Each package is registered in
walkerOS/package.jsonworkspaces @walkeros/mcpis registered in.claude-plugin/plugin.jsonmcpServers as
walkeros-flow, next to the hosted server as walkeros
- Shared MCP utility code (
mcpResult/mcpError) lives in@walkeros/core - Domain schemas are owned by each package, not shared between MCP servers
- Cross-package data access uses
@walkeros/clityped functions - All tool responses use
mcpResult/mcpErrorwith summaries and_hints
Adding a New MCP Package
- Create
packages/mcp/<name>/with package.json, tsup, jest, tsconfig - Add to monorepo workspaces in
walkerOS/package.json - Add to
.claude-plugin/plugin.jsonmcpServers - Use
mcpResult/mcpErrorfrom@walkeros/corefor response formatting - Follow existing package patterns for tool registration, annotations, and
output schemas