1. Conduid
  2. Developer Tools
  3. mcp
MCP server · Developer Tools

mcp

An open-source framework that prevents AI agents from breaking your codebase.

54Fair

Scored 7 hours ago · breakdown

About mcp

mcp is an MCP server published by konamgil in the Developer Tools category: an open-source framework that prevents AI agents from breaking your codebase. Conduid read 90 tools from its source: mandu.agent.apply, mandu.agent.context, mandu.agent.plan, mandu.agent.repair, mandu.agent.sync, mandu.agent.verify and 84 more. No package is published for it, so it installs from a source checkout.

The repository has 46 stars and 3 forks, is licensed MPL-2.0, and its last commit was on 18 Nov 2026. The latest release is @mandujs/cli@0.44.25 (29 May 2026): Mandu CLI standalone binaries (Bun 1.3.12). It follows @mandujs/cli@0.44.24 (28 May 2026), and the 5 most recent releases go back to @mandujs/cli@0.44.21 (22 May 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include frontend, devtools, architecture-safety, agent-native, bun and backend.

Install

From source
git clone https://github.com/konamgil/mandu

Tools (90)

mandu.agent.applyOfficial agent-core typed apply entry point. It previews by default. With dryRun=false it enforces exact scope, base revision and content hashes, snapshots touched files, applies UTF-8 write operations, verifies the result, rolls back failures by policy, and returns the shared ApplyReceipt schema.
ParameterTypeDescription
cwdstringProject directory. Defaults to the MCP project root.
dryRunbooleanValidate and preview without writing. Defaults to true; set false to execute.
fromstringPlan path relative to cwd. Defaults to .mandu/agent-plan.json.
writeReportbooleanWrite .mandu/agent-apply.json. Defaults to false.
mandu.agent.contextOfficial agent-core entry point. Returns one structured project context for Codex/Claude/Gemini: project metadata, routes/APIs, partials/islands, slots/contracts, guard summary, diagnostics, git state, and the canonical context -> plan -> apply -> verify -> repair workflow.
ParameterTypeDescription
cwdstringProject directory to inspect. Defaults to the MCP project root.
includeDiagnosebooleanInclude diagnose summary and normalized diagnostics. Defaults to true.
includeGitbooleanInclude git branch and changed-file summary. Defaults to true.
writeManifestbooleanWrite .mandu/agent-manifest.json while building context. Defaults to false.
mandu.agent.planOfficial agent-core planning entry point. Without operations it returns a conservative intent preview. With typed operations it binds current content hashes, exact write scope, rollback policy, and an idempotency key into an executable plan.
ParameterTypeDescription
cwdstringProject directory to plan against. Defaults to the MCP project root.
idempotencyKeystringOptional stable retry key. A UUID is generated when omitted.
intent *stringNatural-language task request, for example: add authenticated dashboard.
operationsarrayOptional typed write operations. When present, the server binds current preconditions and returns an executable plan.
rollbackPolicystringFailure policy. Defaults to automatic rollback.
writePlanbooleanWrite .mandu/agent-plan.json while planning. Defaults to false.
mandu.agent.repairOfficial agent-core repair entry point. Reads an agent verify report and returns structured next actions, or restores an ApplyReceipt snapshot by rollbackId when apply=true. It never executes shell commands and preserves files changed after apply.
ParameterTypeDescription
applybooleanApply safe typed patch candidates only. Defaults to false.
cwdstringProject directory. Defaults to the MCP project root.
fromstringVerify report path relative to cwd. Defaults to .mandu/agent-verify.json.
rollbackIdstringOptional rollback ID from an ApplyReceipt. With apply=true, restores the touched-file snapshot after conflict checks.
writeReportbooleanWrite .mandu/agent-repair.json. Defaults to false.
mandu.agent.syncOfficial agent sync helper. Writes or previews Codex, Claude Code, and Gemini CLI workflow artifacts under .mandu/agent-sync so each agent follows the same Mandu agent loop and MCP profile guidance.
ParameterTypeDescription
cwdstringProject directory. Defaults to the MCP project root.
dryRunbooleanPreview files without writing. Defaults to false.
targetstringAgent target to sync. Defaults to all.
mandu.agent.verifyOfficial agent-core verification entry point. Returns one structured report that combines changed files, diagnose, route manifest, guard, contract consistency, normalized diagnostics, and suggested follow-up commands.
ParameterTypeDescription
basestringOptional git base ref for changed-file detection.
changedOnlybooleanFilter guard/contract findings to changed files when git data exists. Defaults to true.
cwdstringProject directory to verify. Defaults to the MCP project root.
includeContractbooleanRun contract/slot consistency checks if the routes manifest is available. Defaults to true.
includeDiagnosebooleanRun diagnose and include normalized diagnose diagnostics. Defaults to true.
includeGitbooleanCollect git changed files. Defaults to true.
includeGuardbooleanRun architecture guard if the routes manifest is available. Defaults to true.
stagedbooleanUse staged changes only. Defaults to false.
writeReportbooleanWrite .mandu/agent-verify.json while verifying. Defaults to false.
mandu.ai.briefAssemble an AI agent briefing: project title, description, skills manifest, last 20 git commits, docs/ index, and config snapshot. Pass `depth:'full'` for the unabridged view; default `short` keeps the payload small. Read-only.
ParameterTypeDescription
depthstringBrief depth — `short` (default) trims lists for fast ingestion; `full` returns the complete view.
mandu.brain.architectureGet the project architecture rules and folder structure. Use this to understand where to place new files.
ParameterTypeDescription
includeStructurebooleanInclude folder tree in response (default: true)
mandu.brain.checkImportCheck if imports in a file follow architecture rules. Call this to validate imports before adding them.
ParameterTypeDescription
imports *arrayList of import paths to check
sourceFile *stringSource file path (relative to project root)
mandu.brain.checkLocationCheck if a file location follows project architecture rules. Call this BEFORE creating or moving files to ensure proper placement.
ParameterTypeDescription
contentstringOptional file content for import validation
path *stringFile path to check (relative to project root)
mandu.brain.doctorAnalyze Guard failures and suggest patches. Returns early with no LLM call when guard has no violations (passed: true). When violations are present and an LLM tier is active (see mandu.brain.status), runs LLM-assisted analysis and returns llmAssisted: true. Template-based analysis is always available as a fallback.
ParameterTypeDescription
useLLMbooleanWhether to use LLM for enhanced analysis (default: true if available)
mandu.brain.loginAuthenticate the brain to an LLM provider. For openai, spawns `npx @openai/codex login` which opens the user's default browser to the OpenAI OAuth page; on approval, the token lands in ~/.codex/auth.json and this tool returns. Anthropic path uses the Mandu OAuth flow with a local loopback listener.
ParameterTypeDescription
providerstringWhich provider to sign into. Default: openai.
waitMsnumberHow long to wait for auth.json to appear after spawning the OAuth flow. Default 180000 (3 min). Increase if the user takes longer to approve in the browser.
mandu.brain.logoutDelete stored brain credentials for a provider. For openai, deletes the keychain-stored enterprise token only — the ~/.codex/auth.json owned by the Codex CLI is intentionally left in place (run `npx @openai/codex logout` to revoke that).
ParameterTypeDescription
providerstringWhich provider to log out of. Default: all.
mandu.brain.statusCheck which LLM adapter is active for brain (openai / anthropic / template) and whether auth tokens are present. Read-only — does not call an LLM or spawn subprocesses.
mandu.buildBuild client bundles for hydration. Compiles client slots (.client.ts) into browser-ready JavaScript bundles.
ParameterTypeDescription
minifybooleanMinify the output bundles (default: true in production)
sourcemapbooleanGenerate source maps for debugging
targetRouteIdsarrayOnly rebuild specific islands by routeId. Skips Runtime/Router/Vendor rebuild for faster incremental updates. Omit to rebuild everything.
mandu.build.statusGet the current build status, bundle manifest, and statistics for client bundles.
mandu.cache.manageCache management operations. 'stats' reads cache info from Kitchen endpoint. 'clear' explains that runtime cache requires server restart or revalidatePath/Tag.
ParameterTypeDescription
action *stringCache operation
pathstringRoute path to target (for selective clear)
tagstringCache tag to target (for tag-based clear)
mandu.component.listInventory the project's components. Walks `src/client/shared/ui/` (ui-primitive) and `src/client/widgets/` (widget) for exported React components, with optional usage counts via `count_usage: true`.
ParameterTypeDescription
categorystringFilter by category. Defaults to `all`.
count_usagebooleanWhen true, count usages across src/** and app/**. Slower; default false.
mandu.decision.architectureGet a compact summary of project architecture decisions and rules.
mandu.decision.checkCheck if a proposed change conflicts with existing architecture decisions.
ParameterTypeDescription
intent *stringWhat you're trying to do (e.g., 'Add Redis caching layer')
tags *arrayRelated tags to check against (e.g., ['cache', 'redis'])
mandu.decision.listSearch architecture decisions (ADRs) by tags. Use before implementing features for consistency.
ParameterTypeDescription
tags *arrayTags to search for (e.g., ['auth', 'cache', 'api'])
mandu.decision.saveSave a new architecture decision record (ADR) for future consistency checks.
ParameterTypeDescription
consequences *arrayImpact and trade-offs of this decision
context *stringWhy this decision was needed
decision *stringWhat was decided
statusstringDecision status (default: proposed)
tags *arrayTags for searchability (e.g., ['auth', 'api', 'security'])
title *stringDecision title (e.g., 'Use JWT for API Authentication')
mandu.deploy.checkPre-deployment validation: runs guard, contract, and manifest checks in parallel. Returns a structured readiness report with pass/fail per check and any blockers.
ParameterTypeDescription
targetstringDeployment target (informational, default: bun)
mandu.deploy.compileCompile the routes manifest + `.mandu/deploy.intent.json` into a concrete `vercel.json`. Returns the config object, per-route summary, and compile warnings (e.g. runtime gaps from issue #248). Read-only — does not write vercel.json. Phase 1 supports `target: "vercel"` only.
ParameterTypeDescription
project_namestringProject name override (Mandu bookkeeping; never emitted into vercel.json). Defaults to the directory name.
targetstringAdapter target. Phase 1 supports vercel only.
mandu.deploy.planInfer DeployIntent for every route via the offline heuristic and (optionally) write `.mandu/deploy.intent.json`. Returns the per-route diff plus validation warnings. Default `apply: false` is read-only — agents should review before persisting. The `reinfer` flag forces re-inference even on unchanged source hashes.
ParameterTypeDescription
applybooleanWhen true, atomically write the next cache to `.mandu/deploy.intent.json`. Default false (preview-only).
reinferbooleanForce re-inference even on unchanged source hashes.
use_brainbooleanWrap the heuristic with the OAuth-backed brain adapter (issue #250 M4). Falls back to heuristic when no cloud token is reachable; the response's `brain_status` tells you which path actually ran.
mandu.deploy.previewPreview a deployment by running `mandu deploy --target=<t> --dry-run`. Returns the structured artifact list, parsed warnings, and any diff the adapter emits. Always dry-run — this tool cannot trigger a real deployment.
ParameterTypeDescription
target *stringDeployment adapter target. Each adapter controls the artifact set — see `mandu deploy --help` for details.
mandu.design.checkRun the DESIGN_INLINE_CLASS Guard rule on a single file before editing it. Returns a list of violations with line, message, and `requireComponent` suggestion. Reads `mandu.config.ts > guard.design` (or DESIGN.md §7 when `autoFromDesignMd: true`).
ParameterTypeDescription
file *stringFile to check. Relative paths resolve against the project root; absolute paths are accepted as-is.
mandu.design.diff_upstreamCompare the local DESIGN.md against an upstream brand spec from awesome-design-md. Returns per-section added / changed / removed entries plus a `total_changes` counter and `section_presence_changed` list. Read-only; produces a diff the caller can patch in selectively via `mandu.design.patch`.
ParameterTypeDescription
slug *stringawesome-design-md slug (e.g. 'stripe') or a raw DESIGN.md URL.
mandu.design.extractScan src/** + app/** for token candidates (color literals, font-families, repeated className combos) and return proposals to patch into DESIGN.md. Read-only — does not modify any file. Filters out tokens already represented in DESIGN.md.
ParameterTypeDescription
kindsarrayRestrict the proposal kinds. Default: all four.
min_occurrencesnumberMinimum occurrence threshold. Default 3.
scopearrayProject-relative roots to scan. Default ['src', 'app'].
mandu.design.getRead structured tokens from the project's DESIGN.md. Pass `section: 'color-palette'` (or `'typography'`/`'components'`/...) for one slice, or `'all'` (default) for the full parsed spec. `include_raw: true` returns the original markdown bodies alongside structured tokens.
ParameterTypeDescription
include_rawbooleanInclude raw markdown body alongside structured tokens. Default false.
sectionstringSection id to return; `all` dumps the full spec.
mandu.design.patchSection-safe DESIGN.md patcher (add / update / remove a token). Defaults to dry-run — pass `dry_run: false` to actually rewrite the file. Pass either single-op fields (`section`, `operation`, `key`, `value?`, `role?`) or a batch via `ops: [...]`.
ParameterTypeDescription
dry_runbooleanWhen true (default), return the diff without writing.
keystring
operationstring
opsarrayBatch — overrides single-op fields.
rolestring
sectionstring
valuestring
mandu.design.promptReturn DESIGN.md §9 Agent Prompts — pre-warm payload an agent reads before starting UI work. Empty array + hint when the section is unpopulated.
mandu.design.proposeCombined extract + dry-run patch. Runs `mandu.design.extract`, converts color / typography / layout / shadow proposals into add operations, and returns both the proposal list and the patch results. Always dry-run by default; pass `dry_run: false` to apply.
ParameterTypeDescription
dry_runbooleanDefault true (preview only).
kindsarray
min_occurrencesnumber
scopearray
mandu.dev.startStart Mandu dev server (bun run dev). Issue #237 — polls server.port from mandu.config.ts (fallback 3333) via TCP connect for up to waitMs (default 15s) before declaring a port-detection timeout. On success: { port, url, message }. On timeout: still returns { port: <polled>, message } so callers can retry / probe.
ParameterTypeDescription
cwdstringProject directory to run dev server in (default: current project)
waitMsnumberHow long (ms) to wait for the dev server to accept TCP connections on the configured port. Default 15000 (15s).
mandu.dev.stopStop Mandu dev server if running.
mandu.devtools.contextRead the Kitchen Agent Supervisor context pack — one call returns the current situation, recommended skill/MCP tools, knowledge cards, a copyable prompt, and the next safe action. Combines routes, recent errors, HTTP traffic, MCP usage, bundle manifest, diagnose report, and changed files. Use this at session start or whenever you are unsure what to work on next. Requires `mandu dev` to be running.
ParameterTypeDescription
baseURLstringExplicit dev server URL. Overrides runtime-control/config discovery.
includeBundlebooleanInclude bundle manifest summary (.mandu/manifest.json). Default true. Set false to skip on very large projects.
includeDiagnosebooleanInclude the extended diagnose report. Default true. Set false to lower latency when a11y_hints / package_export_gaps are noisy.
includeDiffbooleanInclude git diff against MANDU_DIFF_BASE (default HEAD). Default true. Set false to skip when git is unavailable.
portnumberExplicit dev server port. Overrides runtime-control/config discovery.
mandu.diagnoseRun all diagnostic checks in parallel and return a unified health report. Legacy checks: kitchen_errors + guard_check + validate_contracts + validate_manifest. Extended checks (Issue #215): manifest_freshness, prerender_pollution, cloneelement_warnings, dev_artifacts_in_prod, package_export_gaps. Every check uses the unified { ok, rule, severity, message, suggestion?, details? } shape. `healthy: false` when any check has severity='error'; warnings do not block.
ParameterTypeDescription
autoFixbooleanAttempt automatic fixes for guard violations (default: false)
mandu.docs.getFetch a single markdown page from the project's docs/ tree by relative slug (e.g. 'architect/rendering-modes.md'). Returns the full body + extracted title. Read-only. Pair with `mandu.docs.search` — search to discover, get to read.
ParameterTypeDescription
slug *stringRelative path under docs/ (no leading slash, no '..'). Example: 'architect/rendering-modes.md'.
mandu.docs.searchSearch the project's docs/ markdown tree by keyword. Returns ranked slugs + excerpts so agents can ground answers in Mandu documentation instead of hallucinating. Read-only. Pass `scope` (e.g. 'architect' or 'bun') to narrow to a subdirectory; `includeBody:true` returns the full MDX body for each hit.
ParameterTypeDescription
includeBodybooleanReturn the full markdown body for each hit. Default false (excerpt only).
limitnumberMaximum results returned. Default ${DEFAULT_LIMIT}, capped at ${MAX_LIMIT}.
query *stringSearch text. Matches title + body (case-insensitive).
scopestringRestrict search to a `docs/` subdirectory (e.g. 'architect', 'bun'). Default 'all'.
mandu.feature.createCreate a complete feature: route + contract + slot + island scaffold in one call. Sequentially runs: negotiate -> add_route -> create_contract -> generate -> guard_check.
ParameterTypeDescription
description *stringFeature description
kindstringRoute kind (default: both)
methodsarrayHTTP methods (default: ['GET', 'POST'])
name *stringFeature name (English kebab-case)
withContractbooleanCreate Zod contract file (default: true)
withIslandbooleanCreate island component (default: false)
mandu.generateGenerate all framework artifacts (server handlers, web components, resources) from the manifest. Run after adding routes or modifying slots/contracts. Use dryRun=true to preview.
ParameterTypeDescription
dryRunbooleanPreview what would be generated without writing files (default: false)
resourcesbooleanInclude resource artifact generation from spec/resources/ (default: true)
mandu.generate.statusShow the current state of all generated artifacts from .mandu/generated.map.json.
mandu.guard.analyzeAnalyze a ManduError JSON to provide actionable fix guidance
ParameterTypeDescription
errorJson *stringThe ManduError JSON string to analyze
mandu.guard.checkRun the same architecture guard used by `mandu guard`, plus legacy spec/generated/slot checks. Set typeAware=true to additionally run `oxlint --type-aware` (tsgolint) and merge its results.
ParameterTypeDescription
autoCorrectbooleanIf true, attempt to automatically fix violations
typeAwarebooleanIf true, invoke `oxlint --type-aware` after the architecture check and include its violations in the response under `typeAware`. When the config has `guard.typeAware` set, this defaults to true; set false to opt out for a single call.
mandu.guard.explainExplain a specific guard rule with rationale, fix guidance, and code examples.
ParameterTypeDescription
fromLayer *stringThe source layer (e.g., 'features', 'shared')
presetstringArchitecture preset for context
toLayer *stringThe target layer being imported
type *stringThe type of violation to explain
mandu.guard.healDetect architecture violations with auto-fix suggestions. Use autoFix=true to apply fixes automatically.
ParameterTypeDescription
autoFixbooleanIf true, automatically apply the primary fix for all violations
filestringSpecific file to check (optional, checks entire project if not specified)
presetstringArchitecture preset to use (default: from config or 'mandu'). Use 'cqrs' for Command/Query separation.
mandu.history.listList the change history with snapshots
ParameterTypeDescription
limitnumberMaximum number of entries to return (default: 10)
mandu.history.pruneRemove old snapshots to free up space
ParameterTypeDescription
keepCountnumberNumber of snapshots to keep (default: 5)
mandu.history.snapshotGet details of a specific snapshot
ParameterTypeDescription
snapshotId *stringThe snapshot ID to retrieve
mandu.hydration.addClientSlotAdd a client slot file for a route to enable hydration. Creates the .client.ts file and updates the manifest.
ParameterTypeDescription
prioritystringHydration priority (default: visible)
routeId *stringThe route ID to add client slot for
strategystringHydration strategy (default: island)
mandu.hydration.setSet hydration configuration for a specific route. Updates the route's hydration strategy and priority.
ParameterTypeDescription
preloadbooleanWhether to preload the bundle with modulepreload
prioritystringHydration priority: immediate (on load), visible (in viewport), idle (when idle), interaction (on user action)
routeId *stringThe route ID to configure
strategystringHydration strategy: none (static), island (partial), full (entire page), progressive (lazy)
mandu.island.addCreate an island component with correct @mandujs/core/client imports and hydration strategy. Generates a .island.tsx file in app/{route}/ with the wrapComponent() island definition.
ParameterTypeDescription
name *stringIsland component name (PascalCase)
route *stringRoute path to attach to (e.g. 'blog/[slug]')
strategystringHydration strategy (default: visible)
mandu.island.listLegacy alias for page client mount diagnostics. Prefer mandu.pageClientMount.list for terminology that separates page-level hydration from nested islands.
mandu.kitchen.errorsRead client-side errors captured by Kitchen DevTools. Use clear=true to clear after reading.
ParameterTypeDescription
baseURLstringExplicit dev server URL. Overrides runtime-control/config discovery.
clearbooleanClear errors after reading (default: false)
portnumberExplicit dev server port. Overrides runtime-control/config discovery.
mandu.lintRun oxlint on the project and return structured error/warning counts. Read-only — never modifies files. Pass `typeAware: true` to also run `oxlint --type-aware` (requires `oxlint-tsgolint`). Agents should call this after edits as part of the guardrail chain alongside `mandu.guard.check` and `mandu.doctor`.
ParameterTypeDescription
typeAwarebooleanRun `oxlint --type-aware` in addition to the core pass (requires `oxlint-tsgolint`). Default false.
mandu.lint.setupInstall oxlint into an existing project: copies `.oxlintrc.json`, wires `lint`/`lint:fix` scripts, adds `oxlint` devDep, runs `bun install`. Idempotent — re-running produces no additional changes. Destructive — writes files. Set `dryRun: true` to print the plan only.
ParameterTypeDescription
dryRunbooleanPrint the plan without writing files. Default false.
mandu.loop.closeAnalyze agent output (stdout, stderr, exitCode) and return a structured `nextPrompt` that names the primary stall pattern, explains how to address it, and lists supporting evidence. This tool is pure — it never writes files, spawns processes, or auto-executes anything. The returned prompt is advisory text only.
ParameterTypeDescription
detectorsarrayOptional detector-ID allow-list. Omit to run the full built-in set.
exitCodenumberChild-process exit code. Defaults to 0 when omitted.
stderrstringCaptured stderr from the most recent command/run.
stdoutstringCaptured stdout from the most recent command/run.
mandu.manifest.validateValidate the routes manifest for structural integrity. Run after manual edits or when routes behave unexpectedly.
mandu.middleware.addCreate a middleware.ts file from a preset template (jwt, cors, auth, default). Checks if middleware.ts already exists before writing to avoid overwriting.
ParameterTypeDescription
optionsobjectExtra options passed into the template
preset *stringMiddleware preset template
mandu.negotiateNegotiate recommended structure and file templates before implementing a feature. IMPORTANT: featureName must be a short English kebab-case slug.
ParameterTypeDescription
categorystringFeature category (auto-detected if not specified)
constraintsarrayConstraints to respect (e.g., ['use existing User model', 'Redis sessions'])
featureNamestringREQUIRED: Short English slug for the feature name (e.g., 'chat', 'user-auth', 'payment', 'file-upload'). You MUST translate the user's intent to a concise English identifier. Use lowercase kebab-case. This becomes the directory/module name.
intent *stringWhat you want to implement, in any language (e.g., '사용자 인증 기능 추가', 'Add payment integration')
presetstringArchitecture preset (default: mandu). Use 'cqrs' for Command/Query separation.
requirementsarraySpecific requirements (e.g., ['JWT-based', 'OAuth support'])
mandu.negotiate.analyzeAnalyze the existing project structure and return detected layers, features, and recommendations.
mandu.negotiate.scaffoldGenerate scaffold files from a negotiation plan. Use after mandu.negotiate.
ParameterTypeDescription
categorystringFeature category
dryRunbooleanIf true, only show what would be created without actually creating files
intent *stringFeature intent (used to get the structure plan)
overwritebooleanIf true, overwrite existing files (default: false)
presetstringArchitecture preset (default: mandu)
mandu.pageClientMount.listList page-level client mounts: page routes that need a route-level clientModule and bundle. This is distinct from nested islands/partials.
mandu.project.initInitialize a new Mandu project (runs `mandu init` and optionally `bun install`).
ParameterTypeDescription
cssstringCSS framework (default: tailwind)
installbooleanRun bun install after init (default: true)
minimalbooleanCreate minimal template (no CSS/UI)
name *stringProject name (directory name)
parentDirstringParent directory to create the project in (default: cwd)
themebooleanEnable dark mode theme system
uistringUI library (default: shadcn)
mandu.refactor.extract_contractScan `app/api/**/route.ts` for inline Zod schemas and extract them to `contract/<group>.contract.ts` using the `defineContract()` convention. The source handler is left untouched — follow-up manual step is to import the contract and swap ad-hoc validation. Dry-run by default.
ParameterTypeDescription
dryRunbooleanWhen true (default), return the plan without writing files. When false, write the contract files to `contract/`.
routestringOptional prefix to restrict scan (e.g. 'app/api/users').
mandu.refactor.migrate_route_conventionsDetect Next.js-style inline patterns in `app/**/page.*` files (Suspense fallback, ErrorBoundary, inline NotFound) and extract them to Mandu's file-system route conventions (`loading.tsx`, `error.tsx`, `not-found.tsx`). Never overwrites an existing convention file. Dry-run by default.
ParameterTypeDescription
dryRunbooleanWhen true (default), return the plan without writing files. When false, create the convention files.
routesarrayOptional list of route directories to restrict the scan to. Paths are relative to the project root (e.g. 'app/dashboard').
mandu.refactor.rewrite_generated_barrelScan the project for barrel files that re-export from `__generated__/*` paths (a `INVALID_GENERATED_IMPORT` guard violation) and rewrite each to use `getGenerated()` from `@mandujs/core/runtime` with the proper `GeneratedRegistry` module augmentation. Returns a per-file before/after plan. Dry-run by default.
ParameterTypeDescription
dryRunbooleanWhen true (default), return the plan without writing files. When false, rewrite files atomically via Bun.write.
patternsarrayRelative directory roots to scan (default: ['packages', 'src']).
mandu.route.addScaffold a new route in app/ with optional slot and contract files, then regenerate the manifest.
ParameterTypeDescription
kind *stringRoute type: 'api' creates route.ts with HTTP handlers, 'page' creates page.tsx with a React component
path *stringRoute path relative to app/ (e.g., 'api/users' or 'blog/[slug]')
withContractbooleanAlso scaffold a Zod contract at spec/contracts/{routeId}.contract.ts (default: false)
withSlotbooleanAlso scaffold a server-side data loader at spec/slots/{routeId}.slot.ts (default: true)
mandu.route.boundariesInspect compiler-discovered client boundary metadata for one route or all routes, including route manifest records and optional bundle manifest entries.
ParameterTypeDescription
includeBundlebooleanWhen true, also correlate route boundaries with .mandu/manifest.json boundary bundle entries.
routeIdstringOptional route ID to inspect. Omit to list boundaries for all routes.
mandu.route.deleteDelete a route's app/ source file and regenerate the manifest. Slot and contract files are preserved.
ParameterTypeDescription
routeId *stringThe route ID to delete (use mandu.route.list to find it)
mandu.route.getGet full details of a specific route by its ID. Use before modifying a route.
ParameterTypeDescription
routeId *stringThe route ID to retrieve (use mandu.route.list to see all IDs)
mandu.route.listList all routes from .mandu/routes.manifest.json with their kind, pattern, slotModule, and contractModule.
mandu.run.testsRun the project's tests via `mandu test` and return a structured summary: passed / failed / skipped counts plus a list of failing tests with file and error context. Safe to call repeatedly — no writes, just spawns the child process and parses its output.
ParameterTypeDescription
coveragebooleanPass `--coverage` to emit a coverage report (default: false).
filterstringForward `--filter <pattern>` to `bun test` — restricts to matching describe/it names.
targetstringWhich test target to run (default: 'all'). Maps directly to `mandu test <target>`.
mandu.seo.analyzeAnalyze SEO metadata for common issues and provide recommendations
ParameterTypeDescription
metadata *objectMetadata object to analyze
urlstringPage URL for context
mandu.seo.jsonldCreate JSON-LD structured data for SEO. Supports Article, WebSite, Organization, Breadcrumb, FAQ, Product, LocalBusiness, Video, Event types.
ParameterTypeDescription
data *objectData for the JSON-LD (varies by type)
type *stringType of JSON-LD to create
mandu.seo.previewPreview rendered SEO HTML for given metadata. Useful for testing metadata before applying.
ParameterTypeDescription
metadata *objectMetadata object to render (title, description, openGraph, twitter, etc.)
mandu.seo.robotsGenerate robots.txt preview from configuration
ParameterTypeDescription
rulesobjectRobots rules (userAgent, allow, disallow, crawlDelay)
sitemapstringSitemap URL
mandu.seo.sitemapGenerate sitemap.xml preview from entries
ParameterTypeDescription
entries *arrayArray of sitemap entries with url, lastModified, changeFrequency, priority
mandu.seo.writeWrite SEO configuration file (sitemap.ts or robots.ts) to app directory
ParameterTypeDescription
configobjectConfiguration object for the file
fileType *stringType of SEO file to create
mandu.slot.constraintsGet recommended slot constraint presets (default, api, readonly).
ParameterTypeDescription
presetstringConstraint preset to retrieve
mandu.tx.beginBegin a new transaction. Creates a snapshot of the current spec state for safe rollback.
ParameterTypeDescription
messagestringDescription of the changes being made
sessionIdstringCaller session identifier for the concurrency lock
mandu.tx.commitCommit the current transaction, finalizing all changes
ParameterTypeDescription
lockIdstringLock ID returned by mandu.tx.begin
mandu.tx.rollbackRollback the current transaction, restoring the previous state
ParameterTypeDescription
changeIdstringSpecific change ID to rollback (optional, defaults to active transaction)
lockIdstringLock ID returned by mandu.tx.begin
mandu.tx.statusGet the current transaction status
mandu.watch.startStart file watching with architecture rule warnings. Watches for common mistakes and emits warnings (no blocking).
ParameterTypeDescription
debounceMsnumberDebounce delay in milliseconds (default: 300)
mandu.watch.statusGet the current watch status including recent warnings and active rules.
mandu.watch.stopStop file watching and clean up MCP notification subscriptions.
mandu_ate_rememberPhase B.2 memory write. Appends one event to the project-local .mandu/ate-memory.jsonl. File auto-rotates to .bak when it crosses 10 MB. Supported event kinds (discriminated union by `kind`): intent_history | rejected_spec | accepted_healing | rejected_healing | prompt_version_drift | boundary_gap_filled | coverage_snapshot. Timestamp defaults to now (ISO-8601 UTC) if omitted.
ParameterTypeDescription
event *objectMemoryEvent object. Must carry a `kind` discriminator plus the event-kind-specific required fields (see @mandujs/ate memory/schema.ts).
repoRoot *stringAbsolute path to the Mandu project root.
mandu_ate_savePhase A.3 persist-with-lint. Writes an agent-generated test file to disk, but first runs a small lint pass that blocks common LLM mistakes: ts-morph syntax errors, unresolved / banned import paths, hand-rolled CSRF cookies, DB mocks when createTestDb is available, and bare `localhost:<port>` URLs (prefer 127.0.0.1 per roadmap §9.2). Returns { saved: true, path, lintDiagnostics: [warnings...] } on success or { saved: false, blockingErrors: [...], lintDiagnostics: [...] } when a blocker fires (in which case no file is written).
ParameterTypeDescription
allowWarningsbooleanWhen true, non-blocking warnings still allow the write (default true). When false, even warnings block.
content *stringThe full TypeScript test source to write.
intentstringOptional short description of what the test is verifying (logged to ATE memory).
kindstringOptional prompt kind this spec was generated for (filling_unit, filling_integration, e2e_playwright).
path *stringAbsolute path where the spec will be written. Parent directories are created if needed.
sourcePromptobjectOptional { kind, version } back-reference to the prompt that produced this spec (used by future memory queries).
my_tool...

Security checks

Static checks derived from the repository 10 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 545 words.
  • ✓License declaredThe repository declares the MPL-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by bun.lock and 2 more.
  • !No dynamic code executionScanned 966 source files and found 10 calls to eval or shell execution, in packages/ate/src/heal.ts:415, packages/ate/src/run.ts:153 and packages/cli/src/util/browser.ts:11 among others. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiopackages/mcp/src/server.ts:13
Starts other programs
62 callspackages/ate/src/heal.ts:415, packages/ate/src/impact.ts:13, packages/ate/src/impact.ts:54
Outbound network calls
96 callsdemo/ai-chat/src/client/islands/ChatApp.tsx:301, demo/ai-chat/src/client/islands/ChatApp.tsx:313, demo/ai-chat/src/client/islands/ChatApp.tsx:320
Writes or deletes files
266 callsdemo/auth-starter/server/domain/uploads.ts:143, packages/ate/src/coverage-merger.ts:423, packages/ate/src/coverage-merger.ts:424
Lockfile
bun.lock and 2 more

Pattern matches on the source text of 966 files: places to read, not proof of what the code does at run time.

Releases

@mandujs/cli@0.44.25v0.44.25 · 29 May 2026Mandu CLI standalone binaries (Bun 1.3.12). Quick install Linux / macOS curl -fsSL https://raw.githubusercontent.com/konamgil/mandu/main/install.sh | sh Windows (PowerShell) iwr…
@mandujs/cli@0.44.24v0.44.24 · 28 May 2026Mandu CLI standalone binaries (Bun 1.3.12). Quick install Linux / macOS curl -fsSL https://raw.githubusercontent.com/konamgil/mandu/main/install.sh | sh Windows (PowerShell) iwr…
@mandujs/cli@0.44.23v0.44.23 · 28 May 2026Mandu CLI standalone binaries (Bun 1.3.12). Quick install Linux / macOS curl -fsSL https://raw.githubusercontent.com/konamgil/mandu/main/install.sh | sh Windows (PowerShell) iwr…
@mandujs/cli@0.44.22v0.44.22 · 23 May 2026Mandu CLI standalone binaries (Bun 1.3.12). Quick install Linux / macOS curl -fsSL https://raw.githubusercontent.com/konamgil/mandu/main/install.sh | sh Windows (PowerShell) iwr…
@mandujs/cli@0.44.21v0.44.21 · 22 May 2026Mandu CLI standalone binaries (Bun 1.3.12). Quick install Linux / macOS curl -fsSL https://raw.githubusercontent.com/konamgil/mandu/main/install.sh | sh Windows (PowerShell) iwr…

README

The repository's README runs to about 545 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About mcp

How do I install mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is mcp safe to use with an AI agent?

Its trust score is 54 out of 100 (fair). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 966 source files found that it serves MCP over stdio, starts other programs (62 calls), makes outbound network calls (96 calls) and writes or deletes files (266 calls). Its dependencies are pinned by bun.lock and 2 more. It has no ConduID identity yet, so agent calls to it are not receipted.

Is mcp still maintained?

Yes — the last commit was 14 days ago. The repository has 46 stars and 3 forks and 4 open issues.

What tools does mcp provide?

Conduid read 90 tools from the source: mandu.agent.apply, mandu.agent.context, mandu.agent.plan, mandu.agent.repair, mandu.agent.sync, mandu.agent.verify, mandu.ai.brief, mandu.brain.architecture and 82 more. 75 of them publish their parameters, listed under Tools above.

What license is mcp released under?

The repository declares the MPL-2.0 license. That applies to the latest release, @mandujs/cli@0.44.25, as well.