⬑
Welcome to Cortex
Create a Space and connect your GitHub repo. AI will read and write your files automatically β with full project memory.
π Overview
πΊοΈ Cortex Map
π Connect AI
cortex.context
View on GitHub β
Loadingβ¦
cortex.map auto-updated by AI
π Your Personal MCP URL
This URL connects Claude Desktop or Cursor directly to your Space. It's unique to you β no downloads, no local setup.
Generating your URLβ¦
β οΈ Keep this URL private β it has full access to your Space.
π₯οΈ Claude Desktop Config
Replace the entire contents of your Claude Desktop config file with this. Requires Node.js installed (nodejs.org).
π Config file:
Windows:
Mac:
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonMac:
~/Library/Application Support/Claude/claude_desktop_config.json
Loadingβ¦
!
Fully quit Claude Desktop (system tray β right click β Quit) then reopen. Look for π¨ hammer icon.
β
That's it β just talk normally. Claude reads your project automatically and saves changes to GitHub as it works.
β‘ Cursor Config
Create or open
~/.cursor/mcp.json and paste this:Loadingβ¦
π€ Connect Other AI Tools
Claude Desktop and Cursor are set up above. Click any tool below for its exact setup steps.
πͺ VS Code (GitHub Copilot)
VS Code uses a different config key (
servers, not mcpServers) and requires Agent mode.
1
Create
.vscode/mcp.json in your project, or run MCP: Open User Configuration from the Command Palette for a global setup.2
Paste this:
Loadingβ¦
3
Open Copilot Chat β switch mode to Agent β click the π οΈ tools icon to confirm Cortex tools are listed.
π Windsurf
1
Open
~/.codeium/windsurf/mcp_config.json (Mac/Linux) or %USERPROFILE%\.codeium\windsurf\mcp_config.json (Windows). Use the gear icon in the Cascade panel β MCP Servers if you'd rather not find it manually.2
Paste this:
Loadingβ¦
3
Click Refresh Servers in the Cascade MCP panel.
β¨οΈ Claude Code (CLI)
1
Run this in your terminal (inside your project folder):
Loadingβ¦
2
Start a session with
claude as usual β Cortex tools will be available.πͺΏ Goose
1
Run
goose configure β Add Extension β Command-line Extension.2
When asked for the command, paste:
Loadingβ¦
π¬ ChatGPT
ChatGPT connects to remote MCP servers through its own UI rather than a config file, and currently expects either no auth or full OAuth β not a custom header β so the setup below is best-effort and may not expose write access the same way Claude/Cursor do. Requires a paid plan (Plus/Pro/Business) with Developer Mode enabled.
1
Settings β Connectors β enable Developer Mode if not already on.
2
Add custom connector β paste your MCP URL (shown at the top of this page) as the server URL. Leave auth as "none" β token-based header auth isn't supported in ChatGPT's connector UI yet.
3
In a new chat, click + β More β Developer Mode β select Cortex as a source.
β οΈ Claude.ai (web) does not yet support adding custom remote MCP servers as of this writing β only Claude Desktop and Claude Code do.
π οΈ Tools Available to AI
read_context()
Called automatically first β reads all files, cortex.context, and change history
save_progress(path, content, is_new)
One call saves the file to GitHub and updates the change history β no separate map call needed
ask_codebase(question)
Ask a targeted question β routed through Groq, returns a short answer instead of full file dumps to save tokens
read_file(path)
Read one specific file from GitHub
update_context(content)
Updates cortex.context when project goals or stack change
list_files()
Lists all files in the GitHub repo
delete_file(path)
Deletes a file from GitHub
β‘ Claude is told to call
read_context automatically when it connects β you no longer need to ask it to.