You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: enhance CLAUDE.md with additional development commands and MCP server documentation
- Add single test execution and module cleanup commands
- Add comprehensive MCP server section with development commands and architecture overview
- Improve development workflow guidance for future Claude Code instances
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: CLAUDE.md
+30-1Lines changed: 30 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,11 +42,18 @@ go test ./...
42
42
# Run tests with coverage
43
43
go test -coverprofile=coverage.txt ./...
44
44
45
+
# Run a single test
46
+
go test -run TestSpecificFunction ./path/to/package
47
+
45
48
# Build a specific example tool
46
49
cd examples/wtg2svg && go build
47
50
48
51
# Format imports (run after modifying Go files)
49
52
goimports -w .
53
+
54
+
# Clean module cache and dependencies
55
+
go clean -modcache
56
+
go mod tidy
50
57
```
51
58
52
59
### Working with Examples
@@ -99,4 +106,26 @@ make install
99
106
### Testing Strategy
100
107
- Unit tests use `*_test.go` convention
101
108
- Example tests demonstrate usage patterns
102
-
- Fuzz testing available in `parser/wtg/testdata/fuzz/`
109
+
- Fuzz testing available in `parser/wtg/testdata/fuzz/`
110
+
111
+
## MCP Server
112
+
113
+
The project includes an MCP (Model Context Protocol) server in the `MCP/` directory that provides AI-integrated Wardley Map creation and editing capabilities.
114
+
115
+
### MCP Development
116
+
```bash
117
+
# Build MCP server
118
+
cd MCP && go build
119
+
120
+
# Run MCP server with prompts enabled
121
+
./mcp-server -prompt
122
+
123
+
# Run tests for MCP server
124
+
cd MCP && go test ./...
125
+
```
126
+
127
+
### MCP Architecture
128
+
-**Tools**: 7 unified tools for map creation, editing, and visualization
129
+
-**Prompts**: AI workflow guidance for complete map creation from text descriptions
130
+
-**Web Server**: Integrated server on port 8585 for sharing interactive maps
131
+
-**Output Formats**: JSON (workflows), SVG (display), URI (sharing)
0 commit comments