The MCP server that builds MCP servers. Analyze patterns, score buildability, generate implementations.
Every AI agent session produces patterns: recurring tool sequences, multi-step workflows, domain-specific conventions. These patterns are valuable but ephemeral.
spawn makes them permanent. It extracts patterns from session logs, scores them for automation potential, and generates complete MCP server packages - server.py, tests, pyproject.toml, README.
AI-agnostic. 17 tools. 156 tests. 3 dependencies.
Session logs
-> PARSE (extract tool calls, AI actions, user requests)
-> EXTRACT (identify recurring sequences)
-> SCORE (rate buildability: frequency, complexity, feasibility)
-> GENERATE (complete MCP server from Jinja2 templates)
-> VALIDATE (verify structure and imports)
-> LEARN (record outcomes, refine scoring)
Parse session logs into structured data for AI analysis
Frequency analysis to surface automation candidates
AI defines patterns identified from content
5-dimension buildability scoring (0-100)
Generate complete MCP server from pattern
Full end-to-end: analyze -> score -> generate
Save to persistent pattern library
Record results, refine scoring weights
Plus: list_patterns, get_pattern, search_patterns, suggest_similar, generate_preview, validate_mcp, compare_existing, batch_analyze
| Dimension | Weight | Measures |
|---|---|---|
| Frequency | 0.3 | How often the pattern appears |
| Complexity | 0.2 | Complex enough to justify automation? |
| Feasibility | 0.2 | Implementable as an MCP server? |
| Impact | 0.2 | Value of automating this pattern |
| Novelty | 0.1 | Already served by existing tools? |