cntx-ui 2.0.10 → 2.0.12
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cntx-ui",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.12",
|
|
5
5
|
"description": "File context management tool with web UI and MCP server for AI development workflows - bundle project files for LLM consumption",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"ai-development",
|
package/server.js
CHANGED
|
@@ -1889,11 +1889,11 @@ export function setupMCP(cwd = process.cwd(), options = {}) {
|
|
|
1889
1889
|
}
|
|
1890
1890
|
}
|
|
1891
1891
|
|
|
1892
|
-
// Add this project's MCP server
|
|
1892
|
+
// Add this project's MCP server using shell command format that works with Claude Desktop
|
|
1893
1893
|
const serverName = `cntx-ui-${projectName}`;
|
|
1894
1894
|
config.mcpServers[serverName] = {
|
|
1895
|
-
command: '
|
|
1896
|
-
args: ['
|
|
1895
|
+
command: 'sh',
|
|
1896
|
+
args: ['-c', `cd ${projectDir} && npx cntx-ui mcp`],
|
|
1897
1897
|
cwd: projectDir
|
|
1898
1898
|
};
|
|
1899
1899
|
|