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
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。