MCP server for architecture and system design. Store and manage project architecture locally.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Architector.
set-entryUpsert one fact; response may include `reminder` if modules missing or unlinked
set-entriesBulk upsert (max 200); optional `moduleName` sets `refs.moduleName` on all
get-entryFull entry by `id
delete-entryRemove entry
list-entriesCatalog without payload; filter by `kind`, `tags`, `query
search-entriesCompact text search with `snippet`, `slices`, `moduleName`, pagination; filters: `moduleName`, `kind`, `tags
Model Context Protocol (MCP) server for architecture and system design
Local-first MCP server that stores and manages project architecture information. All data is stored locally in ~/.mcp-architector for maximum privacy and confidentiality.
π¦ Install: npm install -g mcp-architector or use via npx
π npm: https://www.npmjs.com/package/mcp-architector
π GitHub: https://github.com/theSharque/mcp-architect
Add the server to your MCP config. Example for claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
For Cursor IDE: Settings β Features β Model Context Protocol β Edit Config, then add the same block inside mcpServers. See the Integration section for more options.
For Cursor IDE and Cursor Cloud Agents, use a phased onboarding rule so the agent does not dump the whole repo into context in one shot.
Copy .cursor/rules/architector-onboarding.mdc into your project (the repo you are documenting):
Ensure MCP Architector is connected. The agent must call list-projects and pass projectId on every write β do not rely on omitting it.
Ask in chat, for example: "Onboard this repo into architector β phase 0 plan first" or "Import architecture module by module".
The rule is alwaysApply: false β Cursor attaches it when the task matches architecture import/onboarding. It enforces: structure β one module per step β validate after each step β compact tools only.
If you develop this server repo, keep the same file here so contributors and Cloud Agents follow the same workflow when updating ~/.mcp-architector/_qs_mcp-architector/.
Store and manage project architecture, modules, scripts, data flow, and usage examples - all locally with complete privacy.
~/.mcp-architector (privacy-first)| Layer | Purpose | Tools |
|---|---|---|
| Modules | Vertical structure: components, dependencies, dataFlow | set-project-architecture, set-module-details, set-module-data-flow, rebuild-data-flow, validate-architecture |
| Entries | Single source of truth for horizontal facts (one fact = one file) | set-entry, set-entries, get-entry, list-entries |
| Slices | Read-only views over entries (built-in or custom filters) | list-slices, get-slice |
Anti-patterns (no duplication): Do not copy module.description into entry.summary. Link with refs.moduleName. Slices never store item copiesβonly filters in slices/*.json.
Do not edit ~/.mcp-architector directly β always use MCP tools so timestamps, merge semantics, and dataFlow inverse sync stay consistent.
list-projects β find projectId for this workspace (query by folder name). Pass it to every other tool. Never omit. Never use default-project.get-project-architecture / set-project-architecture.set-module-details with files + facts[] (endpoints, entities, glossary) in the same call, or set-entries / set-entry with refs.moduleName.set-module-data-flow.rebuild-data-flow.validate (summary + issues[]; no full project load).list-slices β get-slice with format=compact or table; use offset when hasMore is true.search-entries β get-entry for full payload.refactor-architecture: scan β dryRun preview β apply with confirm=true.| Scenario | Tool |
|---|---|
| Update one module + its APIs/facts | set-module-details with facts[] |
| Bulk facts for a domain | set-entries with moduleName |
| Patch dataFlow for one module | set-module-data-flow |
| Rebuild all module edges | rebuild-data-flow |
| Diagnose graph + empty slices | validate (or validate-architecture) |
| Catalog JSON corrupt (extra data after JSON) | fix-data |
| Sync paths/names after refactor | refactor-architecture (dryRun, then confirm) |
| Index out of sync | rebuild-entry-index |
| Create project from scratch | set-project-architecture with replaceModules: true |
| Onboard a fresh git clone (phased) | Copy .cursor/rules/architector-onboarding.mdc β ask agent to onboard phase by phase |
Full project picture: modules alone do not populate slices β without http-endpoint (and other kinds) entries, slice api stays empty. New module β add facts or entries in the same step.
Example: set-module-details with facts: [{ kind: "http-endpoint", title: "POST /orders", ... }], then get-slice sliceId=api format=table.
Run with hot reload:
Start the server:
Debug and test your server with the MCP Inspector:
Installs from npm registry automatically:
For local development with live changes:
Requires: cd /path/to/mcp-architector && npm link -g
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Edit .continue/config.json:
projectId is required on every tool except list-projects. There is no default dump project.
list-projects first (optionally with query = workspace folder name)projectId to every other toolset-project-architecture using a stable id from the workspace path (e.g. _qs_my-app)MCP_PROJECT_ID is only a hint (isCurrent / suggestedProjectId). It is not used as a silent write target. default-project and unsubstituted ${workspaceFolder} ids are forbidden.
Creates or updates the overall architecture for a project. By default merges modules and dataFlow by name; omit dataFlow to preserve existing flow. dependsOn is canonical; providesTo is recomputed on save.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcp-architector)<a href="https://allmcps.com/mcp/mcp-architector"><img src="https://allmcps.com/api/badge/mcp-architector?style=directory" alt="MCP Architector on AllMCPs" /></a>