@grafema/mcp 0.1.0-alpha.1 → 0.1.0-alpha.2
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 +17 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -22,16 +22,31 @@ Model Context Protocol (MCP) server that exposes Grafema's code analysis capabil
|
|
|
22
22
|
npx grafema-mcp --project /path/to/your/project
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
+
### Claude Code configuration
|
|
26
|
+
|
|
27
|
+
Add to your project's `.mcp.json`:
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"mcpServers": {
|
|
32
|
+
"grafema": {
|
|
33
|
+
"command": "npx",
|
|
34
|
+
"args": ["@grafema/mcp", "--project", "."]
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
```
|
|
39
|
+
|
|
25
40
|
### Claude Desktop configuration
|
|
26
41
|
|
|
27
|
-
Add to
|
|
42
|
+
Add to `~/.config/claude/claude_desktop_config.json`:
|
|
28
43
|
|
|
29
44
|
```json
|
|
30
45
|
{
|
|
31
46
|
"mcpServers": {
|
|
32
47
|
"grafema": {
|
|
33
48
|
"command": "npx",
|
|
34
|
-
"args": ["grafema
|
|
49
|
+
"args": ["@grafema/mcp", "--project", "/path/to/project"]
|
|
35
50
|
}
|
|
36
51
|
}
|
|
37
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafema/mcp",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.2",
|
|
4
4
|
"description": "MCP server for Grafema code analysis toolkit",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/server.js",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"directory": "packages/mcp"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@grafema/core": "
|
|
45
|
-
"@grafema/types": "
|
|
44
|
+
"@grafema/core": "0.1.0-alpha.2",
|
|
45
|
+
"@grafema/types": "0.1.0-alpha.2",
|
|
46
46
|
"@modelcontextprotocol/sdk": "^1.25.1",
|
|
47
47
|
"ajv": "^8.17.1"
|
|
48
48
|
},
|