mcp-architector 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +96 -19
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
# MCP Architector
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/mcp-architector)
|
|
4
|
+
[](https://github.com/theSharque/mcp-architect)
|
|
5
|
+
|
|
6
|
+
> Model Context Protocol (MCP) server for architecture and system design
|
|
7
|
+
|
|
8
|
+
**Local-first MCP server** that stores and manages project architecture information. All data is stored locally in `~/.mcp-architector` for maximum privacy and confidentiality.
|
|
9
|
+
|
|
10
|
+
📦 **Install**: `npm install -g mcp-architector` or use via npx
|
|
11
|
+
🌐 **npm**: https://www.npmjs.com/package/mcp-architector
|
|
12
|
+
🔗 **GitHub**: https://github.com/theSharque/mcp-architect
|
|
4
13
|
|
|
5
14
|
## Overview
|
|
6
15
|
|
|
7
|
-
|
|
16
|
+
Store and manage project architecture, modules, scripts, data flow, and usage examples - all locally with complete privacy.
|
|
8
17
|
|
|
9
18
|
## Features
|
|
10
19
|
|
|
@@ -27,14 +36,29 @@ A local-first MCP server that stores and manages project architecture informatio
|
|
|
27
36
|
└── ...
|
|
28
37
|
```
|
|
29
38
|
|
|
30
|
-
##
|
|
39
|
+
## Quick Start
|
|
40
|
+
|
|
41
|
+
### For Users (using npm package)
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
# No installation needed - use directly in Cursor/Claude Desktop
|
|
45
|
+
# Just configure it as described in Integration section below
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### For Developers
|
|
31
49
|
|
|
32
|
-
1.
|
|
50
|
+
1. Clone the repository:
|
|
51
|
+
```bash
|
|
52
|
+
git clone https://github.com/theSharque/mcp-architect.git
|
|
53
|
+
cd mcp-architect
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
2. Install dependencies:
|
|
33
57
|
```bash
|
|
34
58
|
npm install
|
|
35
59
|
```
|
|
36
60
|
|
|
37
|
-
|
|
61
|
+
3. Build the project:
|
|
38
62
|
```bash
|
|
39
63
|
npm run build
|
|
40
64
|
```
|
|
@@ -62,24 +86,24 @@ Debug and test your server with the MCP Inspector:
|
|
|
62
86
|
npm run inspector
|
|
63
87
|
```
|
|
64
88
|
|
|
65
|
-
## Integration
|
|
66
|
-
|
|
67
|
-
### Configuration
|
|
89
|
+
## Integration
|
|
68
90
|
|
|
69
|
-
|
|
91
|
+
### Cursor IDE
|
|
70
92
|
|
|
71
93
|
1. Open Cursor Settings → Features → Model Context Protocol
|
|
72
94
|
2. Click "Edit Config" button
|
|
73
|
-
3. Add the
|
|
95
|
+
3. Add one of the configurations below
|
|
74
96
|
|
|
75
|
-
#### Option 1:
|
|
97
|
+
#### Option 1: Via npm (Recommended)
|
|
98
|
+
|
|
99
|
+
Installs from npm registry automatically:
|
|
76
100
|
|
|
77
101
|
```json
|
|
78
102
|
{
|
|
79
103
|
"mcpServers": {
|
|
80
104
|
"architector": {
|
|
81
|
-
"command": "
|
|
82
|
-
"args": ["
|
|
105
|
+
"command": "npx",
|
|
106
|
+
"args": ["-y", "mcp-architector"],
|
|
83
107
|
"env": {
|
|
84
108
|
"MCP_PROJECT_ID": "${workspaceFolder}"
|
|
85
109
|
}
|
|
@@ -88,29 +112,82 @@ Add this server to your Cursor MCP configuration:
|
|
|
88
112
|
}
|
|
89
113
|
```
|
|
90
114
|
|
|
91
|
-
|
|
115
|
+
#### Option 2: Via npm link (Development)
|
|
92
116
|
|
|
93
|
-
|
|
117
|
+
For local development with live changes:
|
|
118
|
+
|
|
119
|
+
```json
|
|
120
|
+
{
|
|
121
|
+
"mcpServers": {
|
|
122
|
+
"architector": {
|
|
123
|
+
"command": "mcp-architector",
|
|
124
|
+
"env": {
|
|
125
|
+
"MCP_PROJECT_ID": "${workspaceFolder}"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Requires: `cd /path/to/mcp-architector && npm link -g`
|
|
133
|
+
|
|
134
|
+
#### Option 3: Direct path
|
|
94
135
|
|
|
95
136
|
```json
|
|
96
137
|
{
|
|
97
138
|
"mcpServers": {
|
|
98
139
|
"architector": {
|
|
99
140
|
"command": "node",
|
|
100
|
-
"args": ["/
|
|
141
|
+
"args": ["/path/to/mcp-architector/dist/index.js"],
|
|
101
142
|
"env": {
|
|
102
|
-
"MCP_PROJECT_ID": "
|
|
143
|
+
"MCP_PROJECT_ID": "${workspaceFolder}"
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
### Claude Desktop
|
|
151
|
+
|
|
152
|
+
Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\Claude\claude_desktop_config.json` (Windows):
|
|
153
|
+
|
|
154
|
+
```json
|
|
155
|
+
{
|
|
156
|
+
"mcpServers": {
|
|
157
|
+
"architector": {
|
|
158
|
+
"command": "npx",
|
|
159
|
+
"args": ["-y", "mcp-architector"],
|
|
160
|
+
"env": {
|
|
161
|
+
"MCP_PROJECT_ID": "${workspaceFolder}"
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Continue.dev
|
|
169
|
+
|
|
170
|
+
Edit `.continue/config.json`:
|
|
171
|
+
|
|
172
|
+
```json
|
|
173
|
+
{
|
|
174
|
+
"mcpServers": {
|
|
175
|
+
"architector": {
|
|
176
|
+
"command": "npx",
|
|
177
|
+
"args": ["-y", "mcp-architector"],
|
|
178
|
+
"env": {
|
|
179
|
+
"MCP_PROJECT_ID": "${workspaceFolder}"
|
|
103
180
|
}
|
|
104
181
|
}
|
|
105
182
|
}
|
|
106
183
|
}
|
|
107
184
|
```
|
|
108
185
|
|
|
109
|
-
### Using Project ID
|
|
186
|
+
### Using Project ID
|
|
110
187
|
|
|
111
188
|
When calling tools, you can:
|
|
112
189
|
|
|
113
|
-
1. **Use automatic project ID** (from
|
|
190
|
+
1. **Use automatic project ID** (from `${workspaceFolder}` env var): Just omit the `projectId` parameter
|
|
114
191
|
2. **Override per call**: Pass `projectId` explicitly in the tool call
|
|
115
192
|
3. **Use default**: If neither is provided, uses "default-project"
|
|
116
193
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-architector",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "MCP server for architecture and system design",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"author": "theSharque",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
24
|
+
"@modelcontextprotocol/sdk": "^1.25.1",
|
|
25
25
|
"uuid": "^11.0.3",
|
|
26
26
|
"zod": "^3.25.76"
|
|
27
27
|
},
|
|
@@ -32,4 +32,3 @@
|
|
|
32
32
|
"typescript": "^5.8.3"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
|