Logo Cortex Suite

Cortex Suite

Cộng đồng
Artistsyn

Local MCP servers that give coding agents a reliable project memory. quartz-ctx serves live code structure in 10 languages, cross-language calls included; cortex keeps learned patterns and traps, pushes them into the agent's context at edits and failing builds, and measures outcomes and token cost from real sessions. No network, no API keys.

Nhà phát hànhArtistsyn
Kho mãcortex_suite
Ngôn ngữRust
Bản fork
19
Sao
84
Công cụ có sẵn
0
Phương thức truyền tảistdio
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Cortex Suite 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ở

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

Cortex Suite

Gives your AI coding assistant a memory and a map of your code.

  • Remembers what worked and what broke, so mistakes aren't repeated.
  • Looks up your real code instead of guessing names and types.
  • Stays current: change a file and it already knows.

Works with Claude Code, VS Code Copilot and Codex, in 10 languages. Everything stays on your computer.

Install

Easiest: let your AI install it

Don't have an AI coding assistant yet? Install Claude Code.

Then copy the prompt for your assistant and paste it in. It installs Cortex Suite for all your projects.

text
Install Cortex Suite for all of my projects.

1. If `cargo` isn't installed, install Rust from https://rustup.rs first.
2. Clone https://github.com/Artistsyn/cortex_suite into ~/cortex_suite
   (if it's already there, run `git pull` in it instead).
3. From inside ~/cortex_suite, run ./scripts/install-global.sh
   If I have more than one Claude Code account (look in my shell profile for
   aliases that set CLAUDE_CONFIG_DIR), add `--claude-config <folder>` for each
   folder that isn't already a ~/.claude-* folder.
4. Show me the cortex and quartz-ctx lines from `claude mcp list`, then tell me
   to restart Claude Code.
text
Install Cortex Suite so you can use it in all of my projects. Run each step in
the terminal and check it worked before moving on.

1. Check the tools it needs: `git --version`, `cargo --version`, and a C
   compiler (on a Mac: `xcode-select -p`; on Linux: `cc --version`).
   - If cargo is missing, install Rust from https://rustup.rs, then open a new
     terminal so cargo is on the PATH.
   - If the C compiler is missing: on a Mac run `xcode-select --install`; on
     Linux install build-essential.
2. Clone https://github.com/Artistsyn/cortex_suite into ~/cortex_suite
   (if it's already there, run `git pull` in it instead).
3. From inside ~/cortex_suite, run ./scripts/install-global.sh
   It builds two MCP servers (cortex and quartz-ctx) and adds them to my VS Code
   user MCP config (mcp.json in VS Code's User folder), so they work in every
   workspace. The build takes a few minutes.
4. Open that user mcp.json (Command Palette: "MCP: Open User Configuration")
   and confirm it has "cortex" and "quartz-ctx" entries.
5. Tell me to reload the window, then run "MCP: List Servers" and start both,
   and to turn their tools on in the agent's tool picker.
6. If this workspace is a git repo, also run
   ~/cortex_suite/cortex/target/debug/cortex hooks-init --vscode
   so cortex can warn you about known mistakes as you work.

I'm on Windows? The install script needs macOS or Linux. Instead, run
.\scripts\setup.ps1 -Workspace <project folder> from ~/cortex_suite for each
project.
text
I want to install Cortex Suite (https://github.com/Artistsyn/cortex_suite).
It's a pair of local MCP servers, "cortex" (memory) and "quartz-ctx" (code
map), that give AI coding assistants like Claude Code, VS Code Copilot and the
Codex CLI a memory and a map of my code. You can't run commands on my computer,
so walk me through it: give me ONE step at a time, tell me exactly what to type
and what I should see, and wait for me to paste the result before the next step.
If something fails, help me fix it before moving on.

First ask me which operating system I use (macOS, Linux or Windows) and which
assistants I use (Claude Code, VS Code Copilot, Codex CLI).

The steps, for macOS and Linux:

1. Open a terminal.
2. Check git: `git --version`. If it's missing: on a Mac, `xcode-select
   --install`; on Linux, install git with the package manager.
3. Check a C compiler: on a Mac `xcode-select -p` (if it errors, run
   `xcode-select --install` and wait for it to finish); on Linux
   `cc --version` (if missing, `sudo apt install build-essential` or the
   distro's equivalent).
4. Check Rust: `cargo --version`. If it's missing, run
   `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh`, accept the
   defaults, then close the terminal and open a new one, and check again.
5. Download it: `git clone https://github.com/Artistsyn/cortex_suite ~/cortex_suite`
   (if the folder already exists: `cd ~/cortex_suite && git pull`).
6. Install it for every project: `cd ~/cortex_suite && ./scripts/install-global.sh`
   The build takes a few minutes. It then registers both servers with every
   assistant it finds: each Claude Code account, VS Code's user MCP config, and
   ~/.codex/config.toml. Its output says which ones it set up. If I use more
   than one Claude Code account through CLAUDE_CONFIG_DIR, add
   `--claude-config <that folder>` for each.
7. Check it worked, for each assistant I use:
   - Claude Code: `claude mcp list` should show cortex and quartz-ctx as
     Connected. Then restart Claude Code.
   - VS Code Copilot: reload the window, run "MCP: List Servers" from the
     Command Palette, start both, and turn their tools on in agent mode.
   - Codex CLI: start a new codex session; the servers load from config.toml.
For Windows, the install script doesn't run. Instead, after steps 2-5 (Git for
Windows, Visual Studio Build Tools with the C++ workload, Rust from
https://rustup.rs, and the clone), run in PowerShell from the cortex_suite
folder, once per project:
`.\scripts\setup.ps1 -Workspace C:\path\to\project`

Common problems: "cargo: command not found" means the terminal needs
reopening after installing Rust. A build error about "cc" or "linker" means the
C compiler from step 3 is missing. A warning about mcp.json means VS Code's
config has comments in it; then add the two servers by hand, with commands
~/.cortex-suite/bin/cortex-mcp and ~/.cortex-suite/bin/quartz-ctx-mcp.

Or by hand

You need Rust.

bash
git clone https://github.com/Artistsyn/cortex_suite ~/cortex_suite
~/cortex_suite/scripts/install-global.sh

Then restart your editor. Or, to set up just one project: ~/cortex_suite/scripts/setup.sh ~/code/my-project (on Windows: .\scripts\setup.ps1 -Workspace C:\code\my-project).

Is it working?

In any project you've worked in:

bash
~/cortex_suite/cortex/target/debug/cortex scoreboard

Update

git pull in cortex_suite, then run the install again.


Details: TECHNICAL.md · Help: SETUP_HANDOFF.md

Dùng MCP Cortex Suite 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 Cortex Suite, 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 Cortex Suite 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 Cortex Suite.
  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": {
    "cortex-suite": {
      "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 Cortex Suite, 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 Cortex Suite.
  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 Cortex Suite giúp tôi làm việc này không?
Cortex Suite
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Cortex Suite.

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

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

Cortex Suite 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 Cortex Suite 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 Cortex Suite 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 Cortex Suite 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 Cortex Suite, 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 Cortex Suite với TypingMind?

Cortex Suite 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 Cortex Suite cung cấp những công cụ nào trong TypingMind?

Cortex Suite 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 Cortex Suite 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 Cortex Suite 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 👇