Prerequisites
- Node.js v18+ and npm
- An IDE with MCP support
Install
Configuration by Coding Agent
- Cursor
- VS Code
- Claude Desktop
- Windsurf
- Continue.dev
- Cline
Method 1: Using Cursor Settings UI
- Open Cursor (the code editor)
- Click the gear icon ⚙️ in the bottom left corner (or press
Ctrl+,on Windows/Linux,Cmd+,on Mac) - In Settings search box, type: “MCP” or “Model Context Protocol”
- Click on “Tools & MCP” section
- Click “Add Server” or the + button
- Fill in the form:
- Name:
codearchitect - Command:
npx - Args:
-y codearchitect-mcp@latest
- Name:
- Click Save or OK
Method 2: Manual Config File
- Close Cursor
- Navigate to your home folder:
- Windows:
C:\Users\YourName\.cursor\(create.cursorfolder if needed) - Mac/Linux:
~/.cursor/(create.cursorfolder if needed)
- Windows:
- Create a file named
mcp.jsonin that folder - Open it in a text editor and paste:
- Save the file and open Cursor again
Verify Setup
- Check the bottom status bar - you should see “MCP” or “codearchitect” with a green dot (connected)
- Press
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - Type “Reload Window” and press Enter
- Open any chat/conversation in Cursor
- Type:
use codearchitect - You should see a list of features and workflow guide
Export Chat
To save conversations:- In Cursor chat, click the three dots menu (⋯) in the top right corner
- Click “Export Chat”
- 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 (file will be saved as
.mdformat)
Verify
After configuration, test CodeArchitect MCP by asking your AI assistant:codearchitect_help, store_session, and get_session appear in your IDE’s available tools list. See Troubleshooting if issues occur.