Cortex Suite logo

Cortex Suite

Community
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.

PublisherArtistsyn
Repositorycortex_suite
LanguageRust
Forks
19
Stars
84
Available tools
0
Transport typestdio
Links
  • Connect tools to AI workflows

    Cortex Suite exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    84 stars and 19 forks from the linked repository.

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

Use Cortex Suite MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Cortex Suite is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Cortex Suite as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Cortex Suite MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "cortex-suite": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Cortex Suite MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Cortex Suite MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Cortex Suite to help me with this task?
Cortex Suite
Sure. I read it.
Here is what I found using Cortex Suite.

Frequently asked questions

What is the Cortex Suite MCP server used for?

Cortex Suite is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Cortex Suite MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Cortex Suite with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Cortex Suite MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Cortex Suite connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Cortex Suite MCP to TypingMind?

Cortex Suite runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Cortex Suite MCP provide in TypingMind?

Cortex Suite exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Cortex Suite MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Cortex Suite requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇