Logo Archcore MCP

Archcore MCP

Tổ chức
archcore-ai

Git-native context engineering CLI and MCP server for AI coding agents. Keep specs, ADRs, rules, plans, and project knowledge in Git.

Nhà phát hànharchcore-ai
Kho mãcli
Ngôn ngữGo
Bản fork
5
Sao
65
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépApache-2.0
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Archcore MCP cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    65 sao và 5 bản fork từ kho mã được liên kết.

Archcore CLI — Git-Native Context for AI Coding Agents

License Go Release Platform

Archcore is a git-native context layer for AI coding agents.

The CLI keeps specs, architecture decisions, rules, plans, and project knowledge in .archcore/, versioned with your code, and serves the relevant context to coding agents through MCP and session hooks.

It ships as a CLI and a local stdio MCP server, so any MCP-compatible coding agent can read and write your project context through standard tools. Use it for persistent project context across Claude Code, Cursor, Codex CLI, GitHub Copilot, Gemini CLI, OpenCode, Roo Code, and Cline.

See it work

That context came from .archcore/ — typed Markdown documents versioned in Git, served to any agent through MCP tools and session hooks.

archcore demo

What changes

❌ Without Archcore

Every session starts from zero. The agent:

  • guesses your architecture and breaks your conventions
  • duplicates logic that already exists
  • re-litigates decisions your team already made
  • needs the same context re-explained in every chat

✅ With Archcore

Your decisions, rules, and conventions live in Git as structured context. The agent:

  • loads the applicable decisions and rules at session start
  • puts code where your architecture says it belongs
  • respects the ADRs, specs, and rules already in the repo
  • records new decisions as durable context — reviewable in PRs, portable across agents

The agent stops guessing and starts following the system.

Get started in 60 seconds

bash
curl -fsSL https://archcore.ai/install.sh | bash    # macOS / Linux
cd your-project && archcore init

archcore init scaffolds .archcore/, detects your coding agents, and wires up hooks and MCP for them.

Then open your agent and say:

"We're using PostgreSQL for primary storage. Record this decision."

Done — there is now a structured ADR in .archcore/ that every future session, in any agent, will see.

On Windows: irm https://archcore.ai/install.ps1 | iex. For WSL, go install, and building from source, see Install methods below or the full install guide.

Works with your agent

The CLI is itself a local stdio MCP server — one integration surface for every MCP-compatible agent. Hooks add session-start context where the agent supports them.

AgentHooksMCP
Claude Codeyesyes
Cursoryesyes
Gemini CLIyesyes
GitHub Copilotyesyes
OpenCode—yes
Codex CLI—yes
Roo Code—yes
Cline—manual

archcore init configures detected agents automatically. To wire one up by hand:

bash
archcore mcp install --agent cursor      # write MCP config for a specific agent
archcore hooks install                   # install session-start hooks for detected agents
claude mcp add --transport stdio archcore -- archcore mcp   # or add the server manually

How it works

  1. Initialize — archcore init creates .archcore/ and installs agent integrations.
  2. Capture — decisions, rules, plans, and guides are stored as typed Markdown documents with YAML frontmatter.
  3. Reuse — agents read, create, update, and link documents through MCP tools while they work; hooks load context at session start.
  4. Keep it in Git — review context changes like code, evolve them over time, keep them portable across tools.
text
.archcore/
├── settings.json
├── auth/
│   ├── jwt-strategy.adr.md
│   └── auth-redesign.prd.md
├── backend/
│   └── error-wrapping.rule.md
├── incidents/
│   └── connection-pool-exhaustion.cpat.md
└── notifications/
    └── notifications-implementation.plan.md

The structure is free-form — organize by domain, feature, or team. A document's type lives in its filename (slug.type.md): 23 types across three layers — knowledge (ADRs, rules, specs, guides), vision (PRDs, plans, ideas, requirements tracks), and experience (incident patterns, recurring tasks). This repo's own .archcore/ is a working example.

Ask your agent

"Before I touch the auth module, what decisions and rules apply here?"

Loads the ADRs and rules tied to that area before the agent edits a single line.

"We have a convention: always wrap errors with fmt.Errorf and %w. Make this a rule."

Creates backend/error-wrapping.rule.md with imperative guidance, rationale, and good/bad examples.

"Last week we had a connection-pool exhaustion incident. Document it so we don't repeat it."

Creates incidents/connection-pool-exhaustion.cpat.md with root-cause analysis and prevention steps.

How it compares

If you rely on…The gapWhat Archcore does instead
NothingThe agent re-learns your repo every session and re-litigates settled decisionsLoads decisions, rules, and conventions at session start — in any agent
Flat instruction files (CLAUDE.md, .cursorrules)One growing wall of text — no types, no links, no lifecycle, copy-pasted per toolTyped documents, a relation graph, a draft → accepted lifecycle, one setup for every agent
Memory tools (claude-mem, Mem0)Remember what you did — volatile, opaque, vendor-boundStores how the system is built and what was decided — versioned in Git, owned by you
Methodology kits (BMAD, Spec Kit, Agent OS)Prescribe a process, often as a one-shot handoffStores the artifacts — a living context graph that evolves with the codebase
RAG / a bigger context windowRetrieves what the code says, not what was decided and whyKeeps decisions and rationale explicit and selective — the agent loads what applies, not everything

Not for — chat memory, a prompt library, or a one-shot spec-to-code generator. Archcore is a repo truth layer for coding agents, not a methodology kit.

Reference

What ships in the box: 23 document types, 7 relation types, 10 MCP tools, hook integrations for 4 agents and MCP integrations for 8.

Knowledge

TypeFull NameDescription
adrArchitecture Decision RecordCaptures a finalized technical decision with context, alternatives, and consequences
rfcRequest for CommentsProposes a significant change open for team review and feedback
ruleRuleCoding or process standard with imperative guidance and examples
guideGuideStep-by-step instructions for completing a specific task
docDocumentReference documentation, registries, and descriptive material
specSpecificationNormative behavior contract for a boundary or feature/subsystem others rely on
evidenceEvidenceOne external material with its locator, extract, and interpretation notes
scenarioScenarioActor-subject flows and Given/When/Then examples that illustrate the clauses of one spec

Vision

TypeFull NameDescription
prdProduct Requirements DocumentGoals, user stories, acceptance criteria, and success metrics
ideaIdeaLightweight capture of a product or technical idea for future exploration
planPlanPhased task list with acceptance criteria and dependencies
rndResearchTime-boxed investigation that answers a question blocking a decision
journeyJourneyIntended path of one user type through the system, before a spec covering this interaction exists
researchResearchTerritory investigation with scope, coverage, dated sources, findings, and open gaps

Two additional requirements tracks for teams that need structured discovery or formal decomposition:

Sources track (MRD → BRD → URD) — captures where requirements come from:

TypeFull NameDescription
mrdMarket Requirements DocumentMarket landscape, TAM/SAM/SOM, competitive analysis, and market needs
brdBusiness Requirements DocumentBusiness objectives, stakeholders, ROI, and business rules
urdUser Requirements DocumentUser personas, journeys, usability requirements, and acceptance criteria

ISO/IEC/IEEE 29148:2018 track (BRS → StRS → SyRS → SRS) — captures how requirements decompose:

TypeFull NameDescription
brsBusiness Requirements SpecificationMission, goals, objectives, and business operational concept
strsStakeholder Requirements SpecificationStakeholder needs, operational concept, and user requirements
syrsSystem Requirements SpecificationSystem functions, interfaces, performance, and design constraints
srsSoftware Requirements SpecificationSoftware functions, external interfaces, and detailed behavioral specs

Use PRD for most projects; add the sources track for structured requirement discovery, and ISO 29148 for formal traceability in regulated or complex multi-team systems. Mix freely.

Experience

TypeFull NameDescription
task-typeTask TypeReusable checklist and workflow for a recurring task
cpatCode Change PatternRoot-cause analysis of a bug or incident with prevention steps

Each document is a Markdown file with YAML frontmatter:

markdown
---
title: "Use PostgreSQL for Primary Storage"
status: draft
tags: [database, infrastructure]
---

## Context

...

Valid statuses: draft, accepted, rejected. Tags are optional and free-form.

MCP tools

10 tools: init_project, list_documents, get_document, search_documents, create_document, update_document, remove_document, add_relation, remove_relation, list_relations. The server also works in an empty repo — agents can bootstrap .archcore/ themselves via init_project.

Relations

Documents link through seven directed relations managed by MCP tools.

AxisRelationDirection
StructuralrelatedSource associates with target
StructuralimplementsSource implements target
StructuralextendsSource builds upon target
Structuraldepends_onSource requires target
EvidentialsupportsMaterial backs the target statement
EvidentialcontradictsChallenger disputes the target statement
TemporalsupersedesNewer document replaces older document

Endpoints are distinct existing local documents. Relations do not automatically change document status or resolve contradictions. Older CLI versions reject manifests containing the three new values.

A source starts as a row in the investigation. Give it an evidence file when multiple documents reuse it, a contradiction involves it, or newer material replaces it. The engine stores the locator and extract; it does not fetch or verify the source.

Local MCP server

archcore mcp serves documents from the current directory over stdio. Pass --project /path/to/repo (or set ARCHCORE_PROJECT_ROOT) when the server is launched from a directory that isn't your workspace — for example, by an editor integration.

CommandDescription
archcore initInitialize .archcore/ directory interactively
archcore doctorCheck your archcore setup and fix issues
archcore statusCheck .archcore/ structure and document health
archcore configView or modify settings
archcore hooks installInstall hooks for detected AI agents
archcore mcpRun the MCP stdio server
archcore mcp installInstall MCP config for detected agents
archcore instructionsManage the Archcore hint in instruction files
archcore pluginInstall, update, or report the Archcore plugin
archcore updateUpdate Archcore to the latest version

archcore update checks GitHub Releases, downloads the newer version, verifies the SHA-256 checksum, and atomically replaces the binary. It then updates the Archcore plugin on each host that already has it installed, and prints the command to run for a host whose CLI it cannot reach.

archcore plugin manages that plugin directly on Claude Code, Cursor, Codex CLI, and GitHub Copilot. archcore init installs it for the hosts you select there.

Unattended update

From v0.8.0 the CLI also updates itself with nobody watching. archcore mcp — the server your agent starts — runs the same check in the background, at most once every 24 hours per machine, and replaces the binary only with a release published by this project, after running the downloaded binary once to prove it starts. The running process is never restarted or interrupted; a new version takes effect the next time the binary launches. Builds you compile yourself, forks, and CI runners never self-update.

No variable and no .archcore/settings.json key disables this. If a machine must not update itself, install the binary into a directory its user cannot write — a root-owned location — and every attempt stops before it downloads anything.

Update analytics

A release build sends one event per update attempt: the versions it moved between, your OS and CPU architecture, whether the run looked like CI, whether you typed the command or the background check ran it, and which step failed when one did. It never sends an error message, a path, a user name, a hostname, or anything about your repository. Set DO_NOT_TRACK=1 or ARCHCORE_TELEMETRY_OPTOUT=1 to send nothing at all. Both variables govern analytics only — neither stops the CLI from updating itself. Full detail: archcore.ai/privacy.

macOS / Linux

bash
curl -fsSL https://archcore.ai/install.sh | bash

Windows

powershell
irm https://archcore.ai/install.ps1 | iex

Installs archcore.exe under %LOCALAPPDATA%\Programs\archcore and adds it to your user PATH. Open a new PowerShell window after install.

Windows (WSL)

Install WSL, then run the macOS/Linux script inside it.

Go install

bash
go install github.com/archcore-ai/cli@latest

From source

bash
git clone https://github.com/archcore-ai/cli.git
cd cli
go build -o archcore .

Supported platforms: macOS, Linux, Windows — amd64 and arm64.

For environment variables (ARCHCORE_VERSION, ARCHCORE_INSTALL_DIR, GITHUB_TOKEN), see installation settings. For PATH issues, see installation troubleshooting.

Settings live in .archcore/settings.json, created by archcore init.

FieldDescriptionValues
syncSync mode. Cloud and on-prem are coming soon.none (local only), cloud, on-prem
languageDocument language. Helps the agent generate documentation in the right language.String, defaults to en
bash
archcore config                    # show all settings
archcore config get <key>          # get a specific value
archcore config set <key> <value>  # set a value

Ecosystem

  • Archcore Plugin — using Claude Code or Cursor? The plugin pairs with the CLI: same engine, plus skills, intent commands, and guardrails. One product, two entry points — the CLI on its own covers every other agent.
  • docs.archcore.ai — full documentation.
  • .archcore/ in this repo — a living example: the CLI is built with its own context layer.

Development

Requires Go 1.25+.

bash
go build -o archcore .   # build
go test ./...            # run all tests

Links & license

Dùng MCP Archcore MCP với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Archcore MCP, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Archcore MCP làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Archcore MCP.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "archcore-ai-cli": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Archcore MCP, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Archcore MCP.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Archcore MCP giúp tôi làm việc này không?
Archcore MCP
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Archcore MCP.

Câu hỏi thường gặp

Máy chủ MCP Archcore MCP dùng để làm gì?

Archcore MCP là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Archcore MCP với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Archcore MCP với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Archcore MCP với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Archcore MCP, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Archcore MCP với TypingMind?

Archcore MCP hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Archcore MCP cung cấp những công cụ nào trong TypingMind?

Archcore MCP cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Archcore MCP không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Archcore MCP yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇