Skip to content

Commit c3da0e2

Browse files
owulveryckclaude
andcommitted
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>
1 parent 25b52de commit c3da0e2

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

CLAUDE.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,18 @@ go test ./...
4242
# Run tests with coverage
4343
go test -coverprofile=coverage.txt ./...
4444

45+
# Run a single test
46+
go test -run TestSpecificFunction ./path/to/package
47+
4548
# Build a specific example tool
4649
cd examples/wtg2svg && go build
4750

4851
# Format imports (run after modifying Go files)
4952
goimports -w .
53+
54+
# Clean module cache and dependencies
55+
go clean -modcache
56+
go mod tidy
5057
```
5158

5259
### Working with Examples
@@ -99,4 +106,26 @@ make install
99106
### Testing Strategy
100107
- Unit tests use `*_test.go` convention
101108
- 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

Comments
 (0)