Documentation Index
Fetch the complete documentation index at: https://codearchitect.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Node.js v18+ and npm
- An IDE with MCP support
Install
npm install -g codearchitect-mcp
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
- Click Save or OK
Method 2: Manual Config File
- Close Cursor
- Navigate to your home folder:
- Windows:
C:\Users\YourName\.cursor\ (create .cursor folder if needed)
- Mac/Linux:
~/.cursor/ (create .cursor folder if needed)
- Create a file named
mcp.json in that folder
- Open it in a text editor and paste:
{
"mcpServers": {
"codearchitect": {
"command": "npx",
"args": ["-y", "codearchitect-mcp@latest"]
}
}
}
- 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) or Cmd+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
exports folder if it doesn’t exist
- Click Save (file will be saved as
.md format)
Setup Steps
- Open VS Code (Visual Studio Code)
- Press
Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open Command Palette
- Type “MCP: Add Server” and select it
- Choose “Download with npm package”
- Enter package name:
codearchitect-mcp
- Press Enter and wait for installation
Verify Setup
- Check the bottom right corner - you should see “MCP” or “codearchitect” with a green indicator
- Press
Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
- Type “Developer: Reload Window” and press Enter
- Open any chat/conversation in VS Code
- Type:
use codearchitect
- You should see a list of features and workflow guide
Export Chat
To save conversations:
- In VS Code chat, press
Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
- Type “Export Chat” and select it
- Name your file meaningfully (e.g.,
auth-implementation.json, database-design.json)
- Navigate to:
C:\Users\YourName\.codearchitect\exports\ (Windows) or ~/.codearchitect/exports/ (Mac/Linux)
- Create the
exports folder if it doesn’t exist
- Click Save (file will be saved as
.json format - CodeArchitect supports this!)
-
Open the configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
-
Add CodeArchitect configuration:
{
"mcpServers": {
"codearchitect": {
"command": "npx",
"args": ["-y", "codearchitect-mcp@latest"]
}
}
}
- Restart Claude Desktop
-
Go to Settings → MCP Servers
-
Add CodeArchitect configuration:
- Name:
codearchitect
- Command:
npx
- Args:
-y codearchitect-mcp@latest
-
Save and restart Windsurf
-
Go to Settings → MCP Servers
-
Add CodeArchitect configuration:
{
"mcpServers": {
"codearchitect": {
"command": "npx",
"args": ["-y", "codearchitect-mcp@latest"]
}
}
}
- Reload Continue
-
Go to Configuration → MCP Settings
-
Add CodeArchitect configuration:
- Server ID:
codearchitect
- Command:
npx
- Args:
-y codearchitect-mcp@latest
-
Restart Cline
Verify
After configuration, test CodeArchitect MCP by asking your AI assistant:
This should show you all available features. Check that codearchitect_help, store_session, and get_session appear in your IDE’s available tools list. See Troubleshooting if issues occur.