@graphite-atlas/mcp-server 1.4.0 → 1.4.1
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/dist/prompts.js +11 -8
- package/dist/prompts.js.map +1 -1
- package/package.json +1 -1
package/dist/prompts.js
CHANGED
|
@@ -86,11 +86,13 @@ function getSetupMessages() {
|
|
|
86
86
|
role: 'user',
|
|
87
87
|
content: {
|
|
88
88
|
type: 'text',
|
|
89
|
-
text: `Set up Atlas as my business context layer for Claude Code. Follow these steps:
|
|
89
|
+
text: `Set up Atlas as my business context layer for Claude Code. Follow these steps in order — do NOT skip ahead:
|
|
90
90
|
|
|
91
|
-
1.
|
|
91
|
+
1. LIST ATLASES — Call \`list_atlases\` to find all my atlases. Present them as a numbered list with name and ID. Do NOT profile or query any atlases yet.
|
|
92
92
|
|
|
93
|
-
2.
|
|
93
|
+
2. ASK WHICH ATLASES — Ask me which atlases I want to include in the setup. Options: pick specific ones by number, or all of them. Wait for my answer before proceeding.
|
|
94
|
+
|
|
95
|
+
3. PROFILE SELECTED ATLASES ONLY — For each atlas I selected, run these queries with \`query_cypher\`:
|
|
94
96
|
|
|
95
97
|
Stats:
|
|
96
98
|
\`\`\`cypher
|
|
@@ -105,11 +107,11 @@ AND p.type IN ['Process', 'Organization', 'Group']
|
|
|
105
107
|
RETURN p.type as type, p.name as name ORDER BY p.type, p.name
|
|
106
108
|
\`\`\`
|
|
107
109
|
|
|
108
|
-
3. DETECT OTHER MCP SERVERS — Check what other MCP servers are connected in this session. If others exist, generate an integration table showing how Atlas provides business context for each tool. If none, skip this section.
|
|
109
|
-
|
|
110
110
|
4. ASK THE COMPANY NAME — Ask the user what company name to use in the snippet.
|
|
111
111
|
|
|
112
|
-
5.
|
|
112
|
+
5. DETECT OTHER MCP SERVERS — Check what other MCP servers are connected in this session. If others exist, generate an integration table showing how Atlas provides business context for each tool. If none, skip this section.
|
|
113
|
+
|
|
114
|
+
6. GENERATE THE CLAUDE.MD SNIPPET — Fill in this template with real data from the selected atlases:
|
|
113
115
|
|
|
114
116
|
\`\`\`markdown
|
|
115
117
|
## Atlas — Business Knowledge Layer
|
|
@@ -154,11 +156,12 @@ When creating business documents, query Atlas first:
|
|
|
154
156
|
3. Format for the audience — same data, different projection
|
|
155
157
|
\`\`\`
|
|
156
158
|
|
|
157
|
-
|
|
159
|
+
7. PRESENT FOR REVIEW — Show the user the complete snippet. Let them edit the company name, atlas descriptions, and integration table.
|
|
158
160
|
|
|
159
|
-
|
|
161
|
+
8. WRITE TO CLAUDE.MD — After the user approves, APPEND (do not overwrite) the snippet to the project's CLAUDE.md file. If no CLAUDE.md exists, create one.
|
|
160
162
|
|
|
161
163
|
Important:
|
|
164
|
+
- Only profile atlases the user selected — never query all atlases upfront
|
|
162
165
|
- Use real data from the atlas profiles, not placeholders
|
|
163
166
|
- If there are no other MCP servers, omit the "Integration with Other Tools" section entirely
|
|
164
167
|
- Keep the "Key Atlases" table concise — summarize with counts and 2-3 key anchor names per atlas`,
|
package/dist/prompts.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompts.js","sourceRoot":"","sources":["../src/prompts.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH;;GAEG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,cAAc;QACrB,WAAW,EACT,iLAAiL;QACnL,SAAS,EAAE;YACT;gBACE,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,qEAAqE;gBAClF,QAAQ,EAAE,IAAI;aACf;SACF;KACF;IACD;QACE,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,aAAa;QACpB,WAAW,EACT,mLAAmL;QACrL,SAAS,EAAE,EAAE;KACd;CACF,CAAC;AAEF;;;GAGG;AACH,MAAM,UAAU,iBAAiB,CAC/B,IAAY,EACZ,IAA6B;IAE7B,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK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