String Diagram Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited String Diagram Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Category-theoretic visualization of Lushy brick compositions
The String Diagram Generator is a meta-brick MCP server that generates formal string diagram visualizations of Lushy workflow compositions. It demonstrates category theory foundations through recursive self-documentation capability.
Graded Traced Symmetric Monoidal Category over Kleisli(LLM)
# Clone repository
git clone https://github.com/lushy/string-diagram-mcp.git
cd string-diagram-mcp
# Install with dev dependencies
pip install -e ".[dev]"
# Run tests
./tests/run_tests.sh# Run locally
python src/string_diagram_mcp/server.py
# Or configure in Claude Desktop
# Add to claude_desktop_config.json:
{
"mcpServers": {
"string-diagram-generator": {
"command": "python",
"args": ["/path/to/string-diagram-mcp/src/string_diagram_mcp/server.py"]
}
}
}generate_string_diagramGenerate a string diagram from brick composition (0 tokens)
generate_meta_diagramGenerate diagram of the generator itself (0 tokens)
get_brick_layer_infoGet four-layer architecture details (0 tokens)
create_sample_diagramGenerate sample diagrams for demos (0 tokens)
validate_compositionValidate brick compositions (0 tokens)
get_server_infoGet server metadata (0 tokens)
┌─────────────────────────────────┐
│ Layer 4: Contextual (Grade 0/1)│ SVG rendering + cost analysis
├─────────────────────────────────┤
│ Layer 3: Relational (Grade 0) │ Wire routing & crossing detection
├─────────────────────────────────┤
│ Layer 2: Structure (Grade 0) │ Topological layout computation
├─────────────────────────────────┤
│ Layer 1: Foundation (Grade 0) │ Primitives & validation
└─────────────────────────────────┘# Run tests with coverage
pytest --cov=string_diagram_mcp
# Format code
black src/ tests/
# Lint
ruff check src/ tests/
# Type check (if you add type hints)
mypy src/Typical Workflow Savings:
String Diagram Generator itself:
MIT License - see LICENSE file
Contributions welcome! Please see CONTRIBUTING.md
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.