CodeArchitect MCP

CodeArchitect MCP

Automatically saves and retrieves AI conversation sessions to maintain context continuity, preventing re-explaining architecture decisions.

Category
访问服务器

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

  1. Open Cursor (the code editor)
  2. Look at the bottom left corner - click the gear icon ⚙️ (or press Ctrl+, on Windows/Linux, Cmd+, on Mac)
  3. This opens Settings

Step 2: Find MCP Settings

  1. In the Settings search box at the top, type: "MCP" or "Model Context Protocol"
  2. You should see "Tools & MCP" section
  3. Click on it

Step 3: Add CodeArchitect Server

  1. Look for "MCP Servers" or "Add Server" button
  2. Click "Add Server" or the + button
  3. A form will appear. Fill it in:
    • Name: codearchitect (or any name you like)
    • Command: npx
    • Args: -y codearchitect-mcp@latest
  4. Click Save or OK

OR (Alternative Method - Manual Config File):

  1. Close Cursor
  2. Open File Explorer (Windows) or Finder (Mac)
  3. Go to your home folder:
    • Windows: C:\Users\YourName\.cursor\ (create .cursor folder if it doesn't exist)
    • Mac/Linux: ~/.cursor/ (create .cursor folder if it doesn't exist)
  4. Create a file named mcp.json in that folder
  5. Open it in any text editor and paste this:
{
  "mcpServers": {
    "codearchitect": {
      "command": "npx",
      "args": ["-y", "codearchitect-mcp@latest"]
    }
  }
}
  1. Save the file
  2. Open Cursor again

Step 4: Verify It's Working

  1. In Cursor, look at the bottom status bar
  2. You should see "MCP" or "codearchitect" with a green dot (connected)
  3. If you see red or yellow, something went wrong - see troubleshooting below

Step 5: Reload Cursor

  1. Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
  2. Type: "Reload Window"
  3. Press Enter
  4. Cursor will restart - wait for it to finish loading

Step 6: Test It Works

  1. Open any chat/conversation in Cursor
  2. Type: "use codearchitect"
  3. You should see a list of features and workflow guide
  4. If you see an error, see troubleshooting below

Export Chat (How to Save Conversations)

  1. In Cursor chat, look at the top right corner
  2. Click the three dots menu (⋯)
  3. Click "Export Chat"
  4. A save dialog appears
  5. Navigate to: C:\Users\YourName\.codearchitect\exports\ (Windows) or ~/.codearchitect/exports/ (Mac/Linux)
    • Create the exports folder if it doesn't exist
  6. Click Save
  7. The file will be saved as .md format (that's normal)

Need Help?

Stuck at any step? Reach out to Tair:

</details>

<details> <summary><b>📘 VS Code Users - Complete Setup Guide</b></summary>

Step 1: Open Command Palette

  1. Open VS Code (Visual Studio Code)
  2. Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
  3. A box appears at the top - this is the Command Palette

Step 2: Add MCP Server

  1. In the Command Palette box, type: "MCP: Add Server"
  2. You should see "MCP: Add Server..." appear in the list
  3. Click it (or press Enter)

Step 3: Choose Installation Method

  1. A menu appears asking how to install
  2. Choose: "Download with npm package" (click it)
  3. Another box appears asking for the package name

Step 4: Enter Package Name

  1. Type exactly: codearchitect-mcp
  2. Press Enter
  3. VS Code will download and install it (wait a few seconds)

Step 5: Verify It's Working

  1. Look at the bottom right corner of VS Code
  2. You should see "MCP" or "codearchitect" with a green indicator (connected)
  3. If you see red or an error, see troubleshooting below

Step 6: Reload VS Code

  1. Press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) again
  2. Type: "Developer: Reload Window"
  3. Press Enter
  4. VS Code will restart - wait for it to finish

Step 7: Test It Works

  1. Open any chat/conversation in VS Code
  2. Type: "use codearchitect"
  3. You should see a list of features and workflow guide
  4. If you see an error, see troubleshooting below

Export Chat (How to Save Conversations)

  1. In VS Code chat, press Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac)
  2. Type: "Export Chat"
  3. Click "Export Chat" from the list
  4. A save dialog appears
  5. IMPORTANT: Name your file something meaningful, like:
    • auth-implementation.json
    • database-design.json
    • api-routes.json
    • (Use .json at the end - VS Code will add it automatically)
  6. Navigate to: C:\Users\YourName\.codearchitect\exports\ (Windows) or ~/.codearchitect/exports/ (Mac/Linux)
    • Create the exports folder if it doesn't exist
  7. Click Save
  8. The file will be saved as .json format (that's normal - CodeArchitect supports this!)

Need Help?

Stuck at any step? Reach out to Tair:

</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

  1. Export chat → Save to ~/.codearchitect/exports/
  2. Store session → "use codearchitect store_session"
  3. Retrieve → "use codearchitect get_session [topic]"
  4. Search → "use codearchitect search_session [query]" - Find sessions by keyword
  5. Repeat → Build knowledge base iteratively

Docs

Links


Made with ❤️ by Tair Kaldybayev

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选