原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

mcp-architector

作者:theSharque版本 1.11.1i★ –i在你的电脑上运行
注册名称io.github.theSharque/mcp-architector

安装

概览

作者提供的说明(英文原文)

MCP server for architecture and system design. Store and manage project architecture locally.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 设计、图片与音频

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "architector": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-architector"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add architector -- npx -y mcp-architector

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "architector": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-architector"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "architector": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-architector"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 theSharque 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“设计、图片与音频”中的其他服务器比较i

  • 星标数多于此分类中其他 2796 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 2796 个服务器的 39% 更新
  • 基础检查结果等于或优于此分类中其他 2796 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

mcp-architector 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.11.1)于42天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Figma Context MCP, Claude Real Video, Figma MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Figma Context MCP

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

作者:GLips广泛使用↓ 16.1万/周★ 1.6万5个月前更新

在你的电脑上运行

Claude Real Video

Let any LLM watch a video locally — and search everything it has ever watched.

作者:HUANGCHIHHUNGLeo广泛使用↓ 1106/周★ 22842个月前更新

在你的电脑上运行

Figma MCP Server

The Figma MCP server brings Figma design context directly into your AI workflow.

作者:figma广泛使用★ 215213个月前更新

在云端运行✓ mcp.figma.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

MCP Architector

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

How to connect to Claude Desktop / IDE

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

{

"mcpServers": { "architector": { "command": "npx", "args": ["-y", "mcp-architector"], "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }

For Cursor IDE: Settings → Features → Model Context Protocol → Edit Config, then add the same block inside mcpServers. See the Integration section for more options.

Cursor rule (recommended)

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.

  1. Copy .cursor/rules/architector-onboarding.mdc into your project (the repo you are documenting):
   mkdir -p /path/to/your-app/.cursor/rules

cp /path/to/mcp-architector/.cursor/rules/architector-onboarding.mdc /path/to/your-app/.cursor/rules/

  1. Ensure MCP Architector is connected. The agent must call list-projects and pass projectId on every write — do not rely on omitting it.
  1. 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/.

Overview

Store and manage project architecture, modules, scripts, data flow, and usage examples - all locally with complete privacy.

Features

  • Local Storage: All data stored in ~/.mcp-architector (privacy-first)
  • Project Architecture: Store and retrieve overall project architecture
  • Module Details: Detailed information about each module
  • Resources: Access architecture data via resources

Storage Structure

~/.mcp-architector/

└── {projectId}/ ├── architecture.json # Modules + dataFlow (vertical structure) ├── modules/ │ ├── {moduleId}.json │ └── ... ├── entries/ │ ├── index.json # Catalog (no duplicate bodies) │ └── {entryId}.json # Canonical facts (API, domain, flows, …) ├── slices/ │ └── {sliceId}.json # Custom filters only (no items)

Data model

LayerPurposeTools
ModulesVertical structure: components, dependencies, dataFlowset-project-architecture, set-module-details, set-module-data-flow, rebuild-data-flow, validate-architecture
EntriesSingle source of truth for horizontal facts (one fact = one file)set-entry, set-entries, get-entry, list-entries
SlicesRead-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.

Agent workflow

  1. list-projects — find projectId for this workspace (query by folder name). Pass it to every other tool. Never omit. Never use default-project.
  2. Structure task → get-project-architecture / set-project-architecture.
  3. Each module → set-module-details with files + `facts[]` (endpoints, entities, glossary) in the same call, or set-entries / set-entry with refs.moduleName.
  4. Single module graph edge → set-module-data-flow.
  5. Bulk rebuild flow (many modules) → rebuild-data-flow.
  6. After edits, verify everything → validate (summary + issues[]; no full project load).
  7. Need a category (all APIs, all domain terms) → list-slices → get-slice with format=compact or table; use offset when hasMore is true.
  8. Find by name → search-entries → get-entry for full payload.
  9. After code refactor (same modules) → refactor-architecture: scan → dryRun preview → apply with confirm=true.
ScenarioTool
Update one module + its APIs/factsset-module-details with facts[]
Bulk facts for a domainset-entries with moduleName
Patch dataFlow for one moduleset-module-data-flow
Rebuild all module edgesrebuild-data-flow
Diagnose graph + empty slicesvalidate (or validate-architecture)
Catalog JSON corrupt (extra data after JSON)fix-data
Sync paths/names after refactorrefactor-architecture (dryRun, then confirm)
Index out of syncrebuild-entry-index
Create project from scratchset-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.

Quick Start

For Users (using npm package)
# No installation needed - use directly in Cursor/Claude Desktop

Just configure it as described in Integration section below

For Developers
  1. Clone the repository:
git clone https://github.com/theSharque/mcp-architect.git

cd mcp-architect

  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Usage

Development Mode

Run with hot reload:

npm run dev
Production Mode

Start the server:

npm start
MCP Inspector

Debug and test your server with the MCP Inspector:

npm run inspector

Integration

Cursor IDE
  1. Open Cursor Settings → Features → Model Context Protocol
  2. Click "Edit Config" button
  3. Add one of the configurations below
Option 1: Via npm (Recommended)

Installs from npm registry automatically:

{

"mcpServers": { "architector": { "command": "npx", "args": ["-y", "mcp-architector"], "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }

Option 2: Via npm link (Development)

For local development with live changes:

{

"mcpServers": { "architector": { "command": "mcp-architector", "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }

Requires: cd /path/to/mcp-architector && npm link -g

Option 3: Direct path
{

"mcpServers": { "architector": { "command": "node", "args": ["/path/to/mcp-architector/dist/index.js"], "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{

"mcpServers": { "architector": { "command": "npx", "args": ["-y", "mcp-architector"], "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }

Continue.dev

Edit .continue/config.json:

{

"mcpServers": { "architector": { "command": "npx", "args": ["-y", "mcp-architector"], "env": { "MCP_PROJECT_ID": "${workspaceFolder}" } } } }

Using Project ID

projectId is required on every tool except list-projects. There is no default dump project.

  1. Call `list-projects` first (optionally with query = workspace folder name)
  2. Pass the matching `projectId` to every other tool
  3. If none matches, create one with set-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.

Tools

set-project-architecture

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.

Input:

  • projectId (required): Project ID from list-projects. Never omit. default-project is forbidden.
  • description: Overall project description
  • modules: Array of module objects with:
  • name: Module name
  • description: Brief description of the module
  • inputs (optional): What this module requires to work
  • outputs (optional): What this module produces or generates
  • dataFlow (optional): Object describing data flow between modules (omit to keep existing):
  • Key: module name
  • Value: object with:
  • dependsOn (optional): Array of module names this module depends on
  • providesTo (optional): Derived on save from all dependsOn edges
  • dataTransformation (optional): How data is transformed between modules
  • replaceModules (optional): Replace entire modules list (default false = merge by name)
  • replaceDataFlow (optional): Replace entire dataFlow (default false = merge by module name)

Output:

  • Project ID and success message
get-project-architecture

Retrieves the overall architecture of the project.

Input:

  • projectId (required): Project ID from list-projects. Never omit. default-project is forbidden.

Output:

  • Complete project architecture
list-projects

Lists all projects in local storage (~/.mcp-architector). Call this first. Match the current workspace by folder name, then pass projectId to every other tool.

Input:

  • query (optional): Filter by substring in projectId or description (case-insensitive)

Output:

  • projects[]: projectId, description, moduleCount, updatedAt, isCurrent (hint from MCP_PROJECT_ID), forbidden (default-project and unsubstituted workspaceFolder dumps)
  • suggestedProjectId: current MCP_PROJECT_ID when it is a valid id, else null
  • reminder: always pass projectId; never use default-project
Entries and slices
ToolPurpose
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

| list-slices | Built-in + custom slices with e

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx