codearchitect-mcp
v0.1.8
Published
Context continuity MCP server for developers. Solves AI conversation loss - automatically preserves architecture and code discussions for clear productivity advantage. Works seamlessly with Cursor and VS Code. Next: Full system design and architecture ass
Downloads
594
Maintainers
Keywords
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-mcp3. Configure IDE
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
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
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
