mcp-architector
NPM · MCP-ARCHITECTOR · SCANNED AUG 3
MCP server for architecture and system design. Store and manage project architecture locally.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security87
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree.Partial
- No install/post-install scripts declared.Pass
- Only part of the dependency tree could be resolved (96 of 100), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency97
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Cryptographically verified build provenance (signed, bound to theSharque/mcp-architect). View diagnostics → Pass
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 66 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability56
- AI-judged instruction clarity (good).Pass
- Context-footprint check failed: tool/resource definitions use about 4450 tokens (~158/item across 28 items; 28 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management23
- Stability observed for 7 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 99% of tool parameters carry a description.Partial
- Structured output schemas are declared (100% of tools); any adoption earns full credit.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · mcp-architector
claude mcp add thesharque-mcp-architector -- npx -y mcp-architector
codex mcp add thesharque-mcp-architector -- npx -y mcp-architector
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"thesharque-mcp-architector": {
"type": "local",
"command": [
"npx",
"-y",
"mcp-architector"
],
"enabled": true
}
}
} openclaw mcp add thesharque-mcp-architector --command npx --arg -y --arg mcp-architector
mcp_servers:
thesharque-mcp-architector:
command: "npx"
args: ["-y", "mcp-architector"] {
"mcpServers": {
"thesharque-mcp-architector": {
"command": "npx",
"args": [
"-y",
"mcp-architector"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 3 Aug 26 +3
- Stability: unverified → 0.23 ▲ functional
- 2 Aug 26 +53
- Provenance: unverified → pass ▲ security
- Malware scan: unverified → pass ▲ security
- Install scripts: unverified → pass ▲ security
- Known CVEs: unverified → partial ▲ security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- The attested source repository moved: theSharque/mcp-architect security
- License: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Maintenance: unverified → pass ▲ functional
- MCP protocol: unverified → pass ▲ functional
- Schema quality: unverified → good ▲ functional
- Licence: MIT functional
- 31 Jul 26 +13
- We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
- 30 Jul 26 −38
- Malware scan: pass → unverified ▼ security
- Tool coverage: 100 → unverified ▼ functional
- First check of Schema quality: unverified functional
- 27 Jul 26 44
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 3 Aug 2026 · Analysed npm/[email protected]
Provenance verified
Ecosystem: npm · Outcome: verified
Reason: verified
- Source repo:
- theSharque/mcp-architect
- Certificate issuer:
- https://token.actions.githubusercontent.com
- Certificate SAN:
- https://github.com/theSharque/mcp-architect/.github/workflows/publish.yml@refs/heads/main
- Rekor log index:
- 1665940824
- Predicate type:
- https://slsa.dev/provenance/v1
- Subject digest:
- sha512:38b4dde0939aea920f78350f5b736e169d5f5e543f54fa425e9de5c15600ae2841d2cdb5f38e725162d03057b899d86179f17b8f1207f875b47f0a86c
- Discovery method:
- attestation_endpoint
Dependencies 96 packages
96 packages in the resolved dependency tree · 96 deprecated · 29 stale.
The dependency tree was only partially resolved, so these counts may be incomplete.
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
delete-entries Delete Entries ~125
Bulk delete entries matching kind/moduleName/tags filter. Requires confirm=true. Use before full re-import or to clear a module slice. Prefer replace-entries with deleteOrphans for idempotent sync.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | boolean | yes | Must be true to delete; safety guard against accidental bulk delete |
| kind | string | — | Exact entry kind |
| kinds | array | — | Entry kinds |
| moduleName | string | — | Only entries linked to this module |
| projectId | string | — | Project id |
| tags | array | — | Entries having any of these tags |
| Name | Type | Req | Description |
|---|---|---|---|
| deleted | number | yes | — |
| message | string | yes | — |
No examples provided.
delete-entry Delete Entry ~65
Removes one entry and updates the index. Use when a fact is obsolete. Do not use to delete modules—use delete-module. Cannot delete slice definitions—use delete-slice.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | Entry id to delete |
| projectId | string | — | Project id |
| Name | Type | Req | Description |
|---|---|---|---|
| message | string | yes | — |
No examples provided.
delete-module Delete Module ~68
Deletes one module from architecture and its module detail file. Does not delete entries—remove those with delete-entry if needed. Does not delete custom slices.
| Name | Type | Req | Description |
|---|---|---|---|
| moduleName | string | yes | Name of the module to delete |
| projectId | string | — | Project ID (defaults to normalized workdir) |
| Name | Type | Req | Description |
|---|---|---|---|
| message | string | yes | — |
No examples provided.
delete-slice Delete Slice ~64
Deletes a custom slice definition only. Built-in slices (api, domain, …) cannot be deleted. Does not delete entries—use delete-entry.
| Name | Type | Req | Description |
|---|---|---|---|
| projectId | string | — | Project id |
| sliceId | string | yes | Custom slice id from list-slices |
| Name | Type | Req | Description |
|---|---|---|---|
| message | string | yes | — |
No examples provided.
get-entry Get Entry ~95
Returns one full entry by id. Use after list-entries or search-entries when you need payload and refs. Do not use for a full API list—use get-slice sliceId=api. Do not use for module structure—use get-module-details.
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | yes | Entry id from list-entries or search-entries |
| projectId | string | — | Project id; use list-projects if unsure |
| Name | Type | Req | Description |
|---|---|---|---|
| entry | — | — | — |
No examples provided.
get-import-stats Get Import Stats ~43
Returns entry counts grouped by kind, module, and tag. Use after replace-entries/import to verify catalog size.
| Name | Type | Req | Description |
|---|---|---|---|
| projectId | string | — | Project id |
| Name | Type | Req | Description |
|---|---|---|---|
| byKind | object | yes | — |
| byModule | object | yes | — |
| byTag | object | yes | — |
| total | number | yes | — |
No examples provided.
get-module-details Get Module Details ~108
Returns one module's full detail (files, dependencies, examples). Use when you know the module name from get-project-architecture or list-modules. If module has files but get-slice is empty, add entries with refs.moduleName=this module. For cross-cutting API/domain lists use get-slice. moduleName must match architecture exactly.
| Name | Type | Req | Description |
|---|---|---|---|
| moduleName | string | yes | Name of the module to retrieve |
| projectId | string | — | Project ID (defaults to normalized workdir) |
| Name | Type | Req | Description |
|---|---|---|---|
| module | — | — | — |
No examples provided.
get-project-architecture Get Project Architecture ~83
Returns vertical structure: project description, module list, dataFlow. Use for refactoring boundaries between components. For all HTTP endpoints or domain terms use get-slice—not this tool. For one module's files and examples use get-module-details. projectId from list-projects if unsure.
| Name | Type | Req | Description |
|---|---|---|---|
| projectId | string | — | Project ID (defaults to normalized workdir) |
| Name | Type | Req | Description |
|---|---|---|---|
| architecture | — | — | — |
No examples provided.
get-slice Get Slice ~238
Returns a horizontal project view: filtered entries transformed for agents. Empty slice = no entries with matching kind. Call list-slices first to pick sliceId. format=compact default; table for api/ui slice. Use offset/limit for pagination. Filter further by moduleName or tags.
| Name | Type | Req | Description |
|---|---|---|---|
| format | string | — | compact=minimal list; detail=full entries; table=rows for API-like kinds (method/path columns) |
| includeModuleContext | boolean | — | If true, attach module name+description from architecture when refs.moduleName is set |
| limit | number | — | Max items (default 50, max 200) |
| moduleName | string | — | Filter by refs.moduleName |
| offset | number | — | Skip first N items after sort (default 0) |
| projectId | string | — | Project id |
| query | string | — | Further filter by substring in title, summary, kind, tags |
| sliceId | string | yes | Built-in id (api, ui, domain, persistence, …) or custom id from list-slices |
| tags | array | — | Filter entries having any of these tags |
| Name | Type | Req | Description |
|---|---|---|---|
| slice | — | — | — |
No examples provided.
import-entries Import Entries ~211
Max 50 entries per bulk call—split large catalogs into batches of ~50 to avoid oversized tool payloads. For full re-import: delete-entries once, then set-entries in 50-entry chunks; or replace-entries with deleteOrphans=false until the final batch (deleteOrphans=true). Alias for replace-entries (mode=replace). Pass filter as scope; send up to 50 entries per call.
| Name | Type | Req | Description |
|---|---|---|---|
| deleteOrphans | boolean | — | Delete scope entries missing from this batch (default true; set false until final batch) |
| entries | array | yes | Import batch (max 50 per call) |
| filter | object | yes | Scope filter (kind, moduleName, tags) |
| mode | string | yes | Only replace mode is supported (full slice sync) |
| moduleName | string | — | Default refs.moduleName for entries without refs.moduleName |
| projectId | string | — | Project id |
| upsertBy | array | — | Match keys (default kind+title) |
| Name | Type | Req | Description |
|---|---|---|---|
| created | number | yes | — |
| deleted | number | yes | — |
| entryIds | array | yes | — |
| message | string | yes | — |
| updated | number | yes | — |
No examples provided.
list-entries List Entries ~169
Returns the entry catalog (id, kind, title, tags, moduleName)—no payload. Supports kind/moduleName/tags filters and pagination (limit max 200). Unlinked entries lack moduleName; run validate after edits. For typed horizontal views use get-slice.
| Name | Type | Req | Description |
|---|---|---|---|
| kind | string | — | Filter by exact kind, e.g. http-endpoint |
| limit | number | — | Max items (default 50, max 200) |
| moduleName | string | — | Filter by refs.moduleName |
| offset | number | — | Skip first N matches (default 0) |
| projectId | string | — | Project id |
| query | string | — | Case-insensitive substring in title, kind, or tags |
| tags | array | — | Filter entries having any of these tags |
| Name | Type | Req | Description |
|---|---|---|---|
| entries | array | yes | — |
| hasMore | boolean | yes | — |
| offset | number | yes | — |
| returned | number | yes | — |
| total | number | yes | — |
No examples provided.
list-modules List All Modules ~74
Lists module summaries from architecture (name, description)—vertical structure only. For horizontal facts (endpoints, tables, terms) use list-slices then get-slice. After edits run validate. Use module names in set-entry refs.moduleName.
| Name | Type | Req | Description |
|---|---|---|---|
| projectId | string | — | Project ID (defaults to normalized workdir) |
| Name | Type | Req | Description |
|---|---|---|---|
| modules | array | yes | — |
No examples provided.
list-projects List Projects ~93
Lists all projects in ~/.mcp-architector with projectId, description, moduleCount, updatedAt, isCurrent. Call first when tools return empty/wrong project—the workspace path may normalize to a different id (e.g. _qs_my-app). Then pass projectId to other tools. Optional query filters by id or description.
| Name | Type | Req | Description |
|---|---|---|---|
| query | string | — | Filter by substring in projectId or description |
| Name | Type | Req | Description |
|---|---|---|---|
| projects | array | yes | — |
No examples provided.
list-slices List Slices ~68
Lists built-in and custom slice views (filters over entries—not separate stored data). Empty slice = no entries with matching kind, not a missing slice definition. Use before get-slice to pick sliceId (api, domain, persistence, …).
| Name | Type | Req | Description |
|---|---|---|---|
| projectId | string | — | Project id |
| Name | Type | Req | Description |
|---|---|---|---|
| slices | array | yes | — |
No examples provided.
rebuild-data-flow Rebuild Data Flow ~111
Rebuilds dataFlow for all modules from module file dependencies or existing dependsOn edges. Recomputes providesTo and optionally syncs module files. Use instead of editing architecture.json directly.
| Name | Type | Req | Description |
|---|---|---|---|
| projectId | string | — | Project ID (defaults to normalized workdir) |
| pruneOrphans | boolean | — | Remove invalid module references (default true) |
| source | string | — | Source for dependsOn edges (default module-dependencies) |
| syncInverse | boolean | — | Recompute providesTo (default true) |
| Name | Type | Req | Description |
|---|---|---|---|
| edgesAdded | number | yes | — |
| edgesRemoved | number | yes | — |
| message | string | yes | — |
| modulesUpdated | number | yes | — |
No examples provided.
rebuild-entry-index Rebuild Entry Index ~62
Rebuilds entries/index.json from entry files on disk. Use when list-entries or get-slice miss entries that exist as files (index drift). Does not modify entry bodies.
| Name | Type | Req | Description |
|---|---|---|---|
| projectId | string | — | Project ID (defaults to normalized workdir) |
| Name | Type | Req | Description |
|---|---|---|---|
| itemCount | number | yes | — |
| message | string | yes | — |
No examples provided.
refactor-architecture Refactor Architecture ~239
Preview or apply in-repo refactor sync to architector data (no workspace access). Default dryRun=true. Workflow: (1) scan with file/text to list hits, (2) build 1-3 mutation ops, (3) dryRun preview, (4) apply with dryRun=false and confirm=true. Mutations: move-file, replace-path-prefix, rename-text, patch-entry, merge-files, remove-file-ref. Orphan entries with empty refs.files and no entryIds are deleted. Does not change module names or dataFlow.
| Name | Type | Req | Description |
|---|---|---|---|
| confirm | boolean | — | Required true when dryRun=false |
| dryRun | boolean | — | Preview only (default true). Set false with confirm=true to apply |
| limit | number | — | Max changes/hits per page (default 15, max 50) |
| offset | number | — | Pagination offset (default 0) |
| operations | array | yes | Refactor operations (max 10 per call) |
| projectId | string | — | Project ID (defaults to normalized workdir) |
| scope | object | — | Optional filter: moduleName, kinds, tags |
| Name | Type | Req | Description |
|---|---|---|---|
| changes | array | yes | — |
| dryRun | boolean | yes | — |
| hasMore | boolean | yes | — |
| hits | array | — | — |
| offset | number | yes | — |
| stats | object | yes | — |
| summary | string | yes | — |
| warnings | array | yes | — |
No examples provided.
replace-entries Replace Entries ~232
Max 50 entries per bulk call—split large catalogs into batches of ~50 to avoid oversized tool payloads. For full re-import: delete-entries once, then set-entries in 50-entry chunks; or replace-entries with deleteOrphans=false until the final batch (deleteOrphans=true). Idempotent sync for up to 50 entries in scope; optionally delete orphans not in this batch. Match by upsertBy (default kind+title). For large catalogs use deleteOrphans=false on intermediate batches, true only on the last batch.
| Name | Type | Req | Description |
|---|---|---|---|
| deleteOrphans | boolean | — | Delete scope entries missing from this batch (default true; set false until final batch) |
| entries | array | yes | Batch slice for this scope (max 50; repeat calls for larger catalogs) |
| moduleName | string | — | Default refs.moduleName for entries without refs.moduleName |
| projectId | string | — | Project id |
| scope | object | yes | Which existing entries participate in orphan deletion |
| upsertBy | array | — | Fields used to match existing entries (default kind+title) |
| Name | Type | Req | Description |
|---|---|---|---|
| created | number | yes | — |
| deleted | number | yes | — |
| entryIds | array | yes | — |
| message | string | yes | — |
| updated | number | yes | — |
No examples provided.
search-entries Search Entries ~170
Compact navigation search over entries by title, summary, kind, and tags. Returns snippet, matchedIn, slices, and moduleName per hit—use get-entry for full payload. Prefer get-slice when you know the category (api, domain). Filters (moduleName, kind, tags) narrow agent context. Default limit 10.
| Name | Type | Req | Description |
|---|---|---|---|
| kind | string | — | Exact filter on entry kind |
| limit | number | — | Max results per page (default 10, max 50) |
| moduleName | string | — | Exact filter on refs.moduleName |
| offset | number | — | Skip first N matches (default 0) |
| projectId | string | — | Project id |
| query | string | yes | Search text |
| tags | array | — | Filter entries having any of these tags |
| Name | Type | Req | Description |
|---|---|---|---|
| hasMore | boolean | yes | — |
| offset | number | yes | — |
| results | array | yes | — |
| returned | number | yes | — |
| summary | string | yes | — |
| total | number | yes | — |
No examples provided.
set-entries Set Entries ~213
Entries need vertical structure: create modules via set-project-architecture / set-module-details before or when adding entries. Set refs.moduleName to an existing module name from list-modules. Run validate after edits to find entries-without-modules, entry-unlinked, or empty slices. Max 50 entries per bulk call—split large catalogs into batches of ~50 to avoid oversized tool payloads. For full re-import: delete-entries once, then set-entries in 50-entry chunks; or replace-entries with deleteOrphans=false until the final batch (deleteOrphans=true). Set refs.moduleName per entry, or pass top-level moduleName as default. Prefer set-entries in 50-entry chunks over one huge replace-entries payload.
| Name | Type | Req | Description |
|---|---|---|---|
| entries | array | yes | Facts to upsert (max 50 per call; use multiple calls for larger catalogs) |
| moduleName | string | — | Default refs.moduleName for entries that omit refs.moduleName |
| projectId | string | — | Project id |
| Name | Type | Req | Description |
|---|---|---|---|
| entriesCreated | number | yes | — |
| entriesUpdated | number | yes | — |
| entryIds | array | yes | — |
| message | string | yes | — |
| reminder | string | — | — |
| suggestedModuleNames | array | — | — |
| warning | string | — | — |
No examples provided.
set-entry Set Entry ~345
Entries need vertical structure: create modules via set-project-architecture / set-module-details before or when adding entries. Set refs.moduleName to an existing module name from list-modules. Run validate after edits to find entries-without-modules, entry-unlinked, or empty slices. Creates or updates one canonical project fact (entry). Use when you discovered a concrete fact while working. Do not use for module structure—use set-module-details. Do not copy module.description into summary; link via refs.moduleName only. Upsert: pass id to update, or omit id to match by kind+title or create new. Example: kind=http-endpoint, title='POST /orders', summary='Creates order', refs.moduleName='orders', refs.files=['src/OrderController.java'].
| Name | Type | Req | Description |
|---|---|---|---|
| id | string | — | Entry uuid; omit to upsert by kind+title or create new |
| kind | string | yes | Free-form type: http-endpoint, glossary, entity, flow, script, godot-scene, etc. Builtin slice list-slices shows recommended kinds per sliceId |
| payload | object | — | Kind-specific extra fields only, e.g. method/path for APIs, steps for flow |
| projectId | string | — | Project id from list-projects if workspace path may differ; defaults to MCP_PROJECT_ID |
| refs | object | — | — |
| summary | string | yes | 1-2 sentences; not a module essay—only this fact |
| tags | array | — | Optional labels for get-slice query filtering |
| title | string | yes | Short unique label for search, e.g. 'POST /orders' or 'Order' |
| Name | Type | Req | Description |
|---|---|---|---|
| entryId | string | yes | — |
| message | string | yes | — |
| reminder | string | — | — |
| suggestedModuleNames | array | — | — |
| warning | string | — | — |
No examples provided.
set-module-data-flow Set Module Data Flow ~118
Patches dataFlow for one module (dependsOn is canonical; providesTo is recomputed). Syncs module file dependencies. Prefer over set-project-architecture for single-module graph edits.
| Name | Type | Req | Description |
|---|---|---|---|
| dataTransformation | string | — | How data is transformed between modules |
| dependsOn | array | — | Modules this module depends on |
| moduleName | string | yes | Module name |
| projectId | string | — | Project ID (defaults to normalized workdir) |
| syncInverse | boolean | — | Recompute providesTo from dependsOn (default true) |
| Name | Type | Req | Description |
|---|---|---|---|
| message | string | yes | — |
| moduleName | string | yes | — |
No examples provided.
set-module-details Set Module Details ~366
Creates or updates one vertical module (files, dependencies, dataFlow sync). IMPORTANT: Slices (api, domain, persistence) are built from entries, not from module text. When adding or updating a module, also add entries this module owns: pass facts[] (http-endpoint, entity, glossary, …) in this call (max 50 per call), or call set-entry / set-entries in 50-entry batches with refs.moduleName=<module name>. Max 50 entries per bulk call—split large catalogs into batches of ~50 to avoid oversized tool payloads. For full re-import: delete-entries once, then set-entries in 50-entry chunks; or replace-entries with deleteOrphans=false until the final batch (deleteOrphans=true). Without entries, get-slice will be empty for this module. After edits call validate to verify links. Does not replace other modules. Prefer over set-project-architecture for single-module edits.
| Name | Type | Req | Description |
|---|---|---|---|
| dependencies | array | — | List of module dependencies |
| description | string | yes | Detailed description of the module |
| facts | array | — | Horizontal facts for this module (APIs, entities, terms). Max 50 per call; use set-entries for more. Each becomes an entry with refs.moduleName set automatically. |
| files | array | — | Files belonging to this module; add matching entry kinds per Controller/Repository |
| inputs | string | yes | What the module accepts as input |
| name | string | yes | Module name |
| notes | string | — | Additional notes or comments |
| outputs | string | yes | What the module produces as output |
| projectId | string | — | Project ID (defaults to normalized workdir) |
| usageExamples | array | — | Usage examples for this module |
| Name | Type | Req | Description |
|---|---|---|---|
| entriesCreated | number | — | — |
| entriesUpdated | number | — | — |
| entryIds | array | — | — |
| message | string | yes | — |
| moduleId | string | yes | — |
| reminder | string | — | — |
| suggestedKinds | array | — | — |
No examples provided.
set-project-architecture Set Project Architecture ~234
Creates or updates vertical module structure (components and dataFlow)—not horizontal facts. By default merges modules and dataFlow by name; omit dataFlow to keep existing flow. Use replaceModules or replaceDataFlow for full replace. For one module use set-module-details or set-module-data-flow. For bulk flow rebuild use rebuild-data-flow. Each new module still needs entries—use set-module-details with facts[] or set-entries after bulk structure. For APIs, domain terms, scripts use set-entry + get-slice—not this tool. If projectId is wrong, call list-projects first. Do not duplicate entry text in module descriptions.
| Name | Type | Req | Description |
|---|---|---|---|
| dataFlow | object | — | Data flow between modules; omit to preserve existing |
| description | string | yes | Overall project description |
| modules | array | yes | List of modules in the project |
| projectId | string | — | Project ID (defaults to normalized workdir) |
| replaceDataFlow | boolean | — | Replace entire dataFlow (default false = merge by module name) |
| replaceModules | boolean | — | Replace entire modules list (default false = merge by name) |
| Name | Type | Req | Description |
|---|---|---|---|
| message | string | yes | — |
| projectId | string | yes | — |
No examples provided.
set-slice Set Slice ~162
Saves a custom slice definition (filter only—no items). Items always live in entries. Use when built-in slices (api, domain, …) are not enough, e.g. filter kinds godot-scene + tag gameplay. Do not store duplicate entry text here. get-slice reads entries through this filter.
| Name | Type | Req | Description |
|---|---|---|---|
| description | string | — | When an agent should use this slice |
| id | string | yes | Custom slice id (avoid colliding with built-in: api, domain, persistence, …) |
| kinds | array | — | Include entries with any of these kind values |
| projectId | string | — | Project id |
| tags | array | — | Include entries having any of these tags |
| title | string | yes | Human-readable slice name |
| Name | Type | Req | Description |
|---|---|---|---|
| message | string | yes | — |
| sliceId | string | yes | — |
No examples provided.
validate Validate Project ~300
Run after set-project-architecture, set-module-details, set-entry, or set-entries. Returns a compact report (summary, stats, issues by kind)—no need to load the full project in the agent. Checks only known rules: dataFlow consistency, module↔entry links, module detail files, entry index drift, empty api/domain/persistence slices, entry slice coverage, optional module-too-few-entries when moduleEntryMin is set. Fix issues[] then call validate again.
| Name | Type | Req | Description |
|---|---|---|---|
| checkEmptySlices | boolean | — | Warn when api/domain/persistence slices have zero entries but modules exist (default true) |
| checkEntryCoverage | boolean | — | Check modules vs entries linkage (default true) |
| checkInverse | boolean | — | Check providesTo vs dependsOn inverse (default true) |
| checkModuleDeps | boolean | — | Check module.dependencies vs dataFlow.dependsOn (default true) |
| checkModuleEntryCounts | boolean | — | Check module-too-few-entries when moduleEntryMin is set (default true) |
| checkSliceCoverage | boolean | — | Check entries match at least one built-in or custom slice (default true) |
| checkStorage | boolean | — | Check module files on disk and entry index drift (default true) |
| moduleEntryMin | number | — | Min entries per module when count > 0; omit to disable module-too-few-entries |
| projectId | string | — | Project ID (defaults to normalized workdir) |
| Name | Type | Req | Description |
|---|---|---|---|
| checksRun | array | yes | — |
| coverage | object | — | — |
| issueCount | number | yes | — |
| issues | array | yes | — |
| issuesByKind | object | yes | — |
| projectId | string | yes | — |
| stats | object | yes | — |
| summary | string | yes | — |
| valid | boolean | yes | — |
No examples provided.
validate-architecture Validate Architecture ~222
Alias for validate with the same checks. Prefer validate after edits. Legacy name kept for compatibility.
| Name | Type | Req | Description |
|---|---|---|---|
| checkEmptySlices | boolean | — | Warn when api/domain/persistence slices have zero entries but modules exist (default true) |
| checkEntryCoverage | boolean | — | Check modules vs entries linkage (default true) |
| checkInverse | boolean | — | Check providesTo vs dependsOn inverse (default true) |
| checkModuleDeps | boolean | — | Check module.dependencies vs dataFlow.dependsOn (default true) |
| checkModuleEntryCounts | boolean | — | Check module-too-few-entries when moduleEntryMin is set (default true) |
| checkSliceCoverage | boolean | — | Check entries match at least one built-in or custom slice (default true) |
| checkStorage | boolean | — | Check module files on disk and entry index drift (default true) |
| moduleEntryMin | number | — | Min entries per module when count > 0; omit to disable module-too-few-entries |
| projectId | string | — | Project ID (defaults to normalized workdir) |
| Name | Type | Req | Description |
|---|---|---|---|
| checksRun | array | yes | — |
| coverage | object | — | — |
| issueCount | number | yes | — |
| issues | array | yes | — |
| issuesByKind | object | yes | — |
| projectId | string | yes | — |
| stats | object | yes | — |
| summary | string | yes | — |
| valid | boolean | yes | — |
No examples provided.
validate-import Validate Import ~172
Dry-run validation for a proposed import batch (max 50 entries). Max 50 entries per bulk call—split large catalogs into batches of ~50 to avoid oversized tool payloads. For full re-import: delete-entries once, then set-entries in 50-entry chunks; or replace-entries with deleteOrphans=false until the final batch (deleteOrphans=true). Checks duplicate upsert keys and unknown moduleName refs without writing.
| Name | Type | Req | Description |
|---|---|---|---|
| checkDuplicates | boolean | — | Detect duplicate keys in batch (default true) |
| checkModuleExists | boolean | — | Warn on unknown refs.moduleName (default true) |
| entries | array | yes | Proposed entries to validate (max 50) |
| projectId | string | — | Project id |
| upsertBy | array | — | Match keys (default kind+title) |
| Name | Type | Req | Description |
|---|---|---|---|
| valid | boolean | yes | — |
| warningCount | number | yes | — |
| warnings | array | yes | — |
No examples provided.