mcp-architector
NPM · MCP-ARCHITECTOR · SCANNED SEP 21
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 → Why this is hard to score →
Supply Chain Security98
- No malware found by supply-chain analysis.Pass
- No known CVEs affecting this package version or its production dependencies.Pass
- No install/post-install scripts declared.Pass
- 31 of 97 dependencies flagged as unhealthy. 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 19 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
Schema Quality & AI Usability70
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 5252 tokens (~181/item across 29 items; 29 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 Management83
- Stability observed for 25 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
Tool Safety75
- No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
- 0 of 4 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation; "delete-module" implies "delete" and declares no destructiveHint at all, which the MCP spec reads as destructive by default. See how to fix → Fail
- An AI judge read all 30 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
How do I install the mcp-architector server?
mcp-architector runs locally as an npm package, launched with npx -y mcp-architector. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.
npm · mcp-architector
claude mcp add thesharque-mcp-architector -- npx -y mcp-architector
{
"mcpServers": {
"thesharque-mcp-architector": {
"command": "npx",
"args": [
"-y",
"mcp-architector"
]
}
}
} {
"servers": {
"thesharque-mcp-architector": {
"command": "npx",
"args": [
"-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": {
"Transport": "stdio",
"Command": "npx",
"Arguments": [
"-y",
"mcp-architector"
]
}
}
} assistant mcp add thesharque-mcp-architector -t stdio -c npx -a -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.
- 21 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.
- 20 Sept 26 −3
- Stability: pass → 0.80 functional
- 19 Sept 26 +1
- Stability: 0.97 → pass security
- Security disclosure: unverified → fail ▼ functional
- 18 Sept 26 0
- Package version: 1.9.0 → 1.11.0 functional
- 17 Sept 26 0
- Security disclosure: fail → unverified ▼ functional
- 16 Sept 26 +6
- Stability: fail → 0.90 functional
- 14 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 45 to 48.
- 12 Sept 26 +1
No change was recorded against any check on this day. Stability & Change Management went from 38 to 42.
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 21 Sept 2026 · Analysed npm/mcp-architector@1.11.0
Provenance Verified
A signed build attestation was found and verified, binding this exact artifact to the source repository it claims to come from.
| Result | Verified |
|---|---|
| Ecosystem | npm |
| Reason | Verified |
| Discovered via | Registry attestation endpoint |
| 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 | 2677906558 |
| Predicate type | https://slsa.dev/provenance/v1 |
| Subject digest | sha512:ad24db78cda7f029fb05816d4b344201e8176daab2defc0d63a9ebf96fd86b9d67e2f8cc9d7ec48db43208f21bc3b4b0d680d0303c1b125e86c637eba |
Background: How many MCP packages publish verified provenance →
Dependencies 97 packages
| Packages resolved | 97 |
|---|---|
| Stale | 31 |
| Tree resolution | Complete |
Background: SBOMs and build attestations, explained →
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. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →
delete-entries Delete Entries ~151
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~91
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| Name | Type | Req | Description |
|---|---|---|---|
| message | string | yes | – |
No examples provided.
delete-module Delete Module ~88
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| Name | Type | Req | Description |
|---|---|---|---|
| message | string | yes | – |
No examples provided.
delete-slice Delete Slice ~90
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| sliceId | string | yes | Custom slice id from list-slices |
| Name | Type | Req | Description |
|---|---|---|---|
| message | string | yes | – |
No examples provided.
fix-data Fix Catalog Data ~124
Run when catalog JSON is corrupt (list-modules, get-module-details, or validate fail with extra data after JSON). Rewrites the first valid JSON object in architecture, modules, entries, and slices; removes leftover .tmp files; rebuilds the entry index. Does not delete facts. Optional dryRun previews without writing.
| Name | Type | Req | Description |
|---|---|---|---|
| dryRun | boolean | – | Preview repairs without writing (default false) |
| projectId | string | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| Name | Type | Req | Description |
|---|---|---|---|
| dryRun | boolean | yes | – |
| files | array | yes | – |
| indexItemCount | number | yes | – |
| projectId | string | yes | – |
| repaired | number | yes | – |
| scanned | number | yes | – |
| summary | string | yes | – |
| tmpRemoved | number | yes | – |
| unreadable | number | yes | – |
No examples provided.
get-entry Get Entry ~114
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| Name | Type | Req | Description |
|---|---|---|---|
| entry | – | – | – |
No examples provided.
get-import-stats Get Import Stats ~69
Returns entry counts grouped by kind, module, and tag. Use after replace-entries/import to verify catalog size.
| Name | Type | Req | Description |
|---|---|---|---|
| projectId | string | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~128
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| Name | Type | Req | Description |
|---|---|---|---|
| module | – | – | – |
No examples provided.
get-project-architecture Get Project Architecture ~105
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 is required—call list-projects first.
| Name | Type | Req | Description |
|---|---|---|---|
| projectId | string | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| Name | Type | Req | Description |
|---|---|---|---|
| architecture | – | – | – |
No examples provided.
get-slice Get Slice ~264
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~237
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~195
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~94
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| Name | Type | Req | Description |
|---|---|---|---|
| modules | array | yes | – |
No examples provided.
list-projects List Projects ~110
Call first. Lists projects in ~/.mcp-architector with projectId, description, moduleCount, updatedAt, isCurrent, forbidden. Match this workspace by folder name (query). Pass that projectId to every other tool—never omit, never use default-project. isCurrent is only a hint from MCP_PROJECT_ID. If none matches, create with set-project-architecture using a stable id from the workspace path.
| Name | Type | Req | Description |
|---|---|---|---|
| query | string | – | Filter by substring in projectId or description |
| Name | Type | Req | Description |
|---|---|---|---|
| projects | array | yes | – |
| reminder | string | yes | – |
| suggestedProjectId | string|null | yes | – |
No examples provided.
list-slices List Slices ~94
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| Name | Type | Req | Description |
|---|---|---|---|
| slices | array | yes | – |
No examples provided.
rebuild-data-flow Rebuild Data Flow ~131
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~82
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| Name | Type | Req | Description |
|---|---|---|---|
| itemCount | number | yes | – |
| message | string | yes | – |
No examples provided.
refactor-architecture Refactor Architecture ~259
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~258
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~196
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~239
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~356
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~138
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~386
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~258
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. projectId is required—call list-projects first. Never use default-project. 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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~188
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~331
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. If catalog JSON is corrupt, run fix-data first. 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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~242
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| 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 ~198
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 | yes | Required. Call list-projects first (query by workspace folder name) and pass the matching projectId. Never omit. default-project is forbidden. |
| upsertBy | array | – | Match keys (default kind+title) |
| Name | Type | Req | Description |
|---|---|---|---|
| valid | boolean | yes | – |
| warningCount | number | yes | – |
| warnings | array | yes | – |
No examples provided.
What is the mcp-architector server?
mcp-architector is listed in the public MCP registry as io.github.theSharque/mcp-architector. MCP server for architecture and system design. Store and manage project architecture locally. This page covers its npm package (mcp-architector).
Is the mcp-architector server safe to use?
mcp-architector scores 90 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 21 September 2026. It declares no install or post-install scripts. Its build provenance is signed and verified. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.
What tools does the mcp-architector server expose?
mcp-architector exposes 29 tools: set-project-architecture, get-project-architecture, list-projects, set-module-details, get-module-details, and 24 more. Their descriptions and schemas cost roughly 5,216 tokens of context every time the server is loaded.
Is the mcp-architector server still maintained?
mcp-architector is still listed as active in the MCP registry. We last reached this channel on 21 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.
What licence is the mcp-architector server under?
mcp-architector declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.