CodeArchitect MCP
Automatically saves and retrieves AI conversation sessions to maintain context continuity, preventing re-explaining architecture decisions.
README
CodeArchitect MCP
Your AI conversations shouldn't disappear. CodeArchitect MCP automatically saves and retrieves your discussions with AI assistants, solving context continuity for developers. Never re-explain architecture decisions or code solutions. Built on Model Context Protocol (MCP) - works seamlessly with Cursor and VS Code. Expanding into comprehensive system design and architecture assistance.
Quick Start
1. Install Node.js
Download from nodejs.org (v18+). Open terminal → type node --version to verify.
2. Install Package
npm install -g codearchitect-mcp
3. Configure IDE
<details> <summary><b>📘 Cursor Users - Complete Setup Guide</b></summary>
Step 1: Open Cursor Settings
- Open Cursor (the code editor)
- Look at the bottom left corner - click the gear icon ⚙️ (or press
Ctrl+,on Windows/Linux,Cmd+,on Mac) - This opens Settings
Step 2: Find MCP Settings
- In the Settings search box at the top, type: "MCP" or "Model Context Protocol"
- You should see "Tools & MCP" section
- Click on it
Step 3: Add CodeArchitect Server
- Look for "MCP Servers" or "Add Server" button
- Click "Add Server" or the + button
- A form will appear. Fill it in:
- Name:
codearchitect(or any name you like) - Command:
npx - Args:
-y codearchitect-mcp@latest
- Name:
- Click Save or OK
OR (Alternative Method - Manual Config File):
- Close Cursor
- Open File Explorer (Windows) or Finder (Mac)
- Go to your home folder:
- Windows:
C:\Users\YourName\.cursor\(create.cursorfolder if it doesn't exist) - Mac/Linux:
~/.cursor/(create.cursorfolder if it doesn't exist)
- Windows:
- Create a file named
mcp.jsonin that folder - Open it in any text editor and paste this:
{
"mcpServers": {
"codearchitect": {
"command": "npx",
"args": ["-y", "codearchitect-mcp@latest"]
}
}
}
- Save the file
- Open Cursor again
Step 4: Verify It's Working
- In Cursor, look at the bottom status bar
- You should see "MCP" or "codearchitect" with a green dot (connected)
- If you see red or yellow, something went wrong - see troubleshooting below
Step 5: Reload Cursor
- Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - Type: "Reload Window"
- Press Enter
- Cursor will restart - wait for it to finish loading
Step 6: Test It Works
- Open any chat/conversation in Cursor
- Type: "use codearchitect"
- You should see a list of features and workflow guide
- If you see an error, see troubleshooting below
Export Chat (How to Save Conversations)
- In Cursor chat, look at the top right corner
- Click the three dots menu (⋯)
- Click "Export Chat"
- A save dialog appears
- Navigate to:
C:\Users\YourName\.codearchitect\exports\(Windows) or~/.codearchitect/exports/(Mac/Linux)- Create the
exportsfolder if it doesn't exist
- Create the
- Click Save
- The file will be saved as
.mdformat (that's normal)
Need Help?
Stuck at any step? Reach out to Tair:
- Email: Check GitHub profile for contact
- GitHub Issues: github.com/tairqaldy/codearchitect-mcp/issues
- Mention which step you're on and what's happening
</details>
<details> <summary><b>📘 VS Code Users - Complete Setup Guide</b></summary>
Step 1: Open Command Palette
- Open VS Code (Visual Studio Code)
- Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - A box appears at the top - this is the Command Palette
Step 2: Add MCP Server
- In the Command Palette box, type: "MCP: Add Server"
- You should see "MCP: Add Server..." appear in the list
- Click it (or press Enter)
Step 3: Choose Installation Method
- A menu appears asking how to install
- Choose: "Download with npm package" (click it)
- Another box appears asking for the package name
Step 4: Enter Package Name
- Type exactly:
codearchitect-mcp - Press Enter
- VS Code will download and install it (wait a few seconds)
Step 5: Verify It's Working
- Look at the bottom right corner of VS Code
- You should see "MCP" or "codearchitect" with a green indicator (connected)
- If you see red or an error, see troubleshooting below
Step 6: Reload VS Code
- Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) again - Type: "Developer: Reload Window"
- Press Enter
- VS Code will restart - wait for it to finish
Step 7: Test It Works
- Open any chat/conversation in VS Code
- Type: "use codearchitect"
- You should see a list of features and workflow guide
- If you see an error, see troubleshooting below
Export Chat (How to Save Conversations)
- In VS Code chat, press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - Type: "Export Chat"
- Click "Export Chat" from the list
- A save dialog appears
- IMPORTANT: Name your file something meaningful, like:
auth-implementation.jsondatabase-design.jsonapi-routes.json- (Use
.jsonat the end - VS Code will add it automatically)
- Navigate to:
C:\Users\YourName\.codearchitect\exports\(Windows) or~/.codearchitect/exports/(Mac/Linux)- Create the
exportsfolder if it doesn't exist
- Create the
- Click Save
- The file will be saved as
.jsonformat (that's normal - CodeArchitect supports this!)
Need Help?
Stuck at any step? Reach out to Tair:
- Email: Check GitHub profile for contact
- GitHub Issues: github.com/tairqaldy/codearchitect-mcp/issues
- Mention which step you're on and what's happening
</details>
4. Verify Setup
- Check MCP status: Should show green/connected in IDE
- Test: Say
"use codearchitect"- should see features list - If not working: Reload IDE and check MCP logs / Reach out to Tair
5. Start Using
"use codearchitect"- See features and workflow guide"use codearchitect store_session"- Save conversation"use codearchitect get_session"- Retrieve session"use codearchitect search_session [query]"- Search across all sessions
Storage
Main location: ~/.codearchitect/sessions/ (always)
- Windows:
C:\Users\YourName\.codearchitect\sessions\ - Linux/Mac:
~/.codearchitect/sessions/
Optional: Also save to project folder (specify projectDir)
Exports: ~/.codearchitect/exports/ (for export file detection)
Workflow
- Export chat → Save to
~/.codearchitect/exports/ - Store session →
"use codearchitect store_session" - Retrieve →
"use codearchitect get_session [topic]" - Search →
"use codearchitect search_session [query]"- Find sessions by keyword - Repeat → Build knowledge base iteratively
Docs
- API - Tool reference
- FAQ - Common questions
- Onboarding - Setup guide
- Troubleshooting - Fix issues
Links
- Docs: codearchitect.mintlify.app
- npm: codearchitect-mcp
- GitHub: tairqaldy/codearchitect-mcp
Made with ❤️ by Tair Kaldybayev
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.