reference-patterns
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@reference-patternssearch for singleton pattern in TypeScript"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
reference-patterns
Personal reference of implementation and testing patterns across languages
(TypeScript, Go, Protobuf — Rust and more as they come). Each pattern is a
self-contained, runnable example documented in its PATTERN.md, meant to be
consumed from other projects through MCP.
Layout
<language>/<category>/<pattern-slug>/
├── PATTERN.md # frontmatter (name, tags, description, origin, test command) + Problem/Solution/Path/Key points
└── ... # runnable code with its own manifest (package.json, go.mod, buf.yaml, ...)llms.txt is the generated index of every pattern — this is what MCP clients read first.
Patterns never depend on each other.
Each language directory is a workspace managed by its native tool:
pnpm-workspace.yaml(with acatalog:as the single place to bump TypeScript dependency versions),go.work, and per-crate Cargo for Rust. One rootpnpm installcovers every TypeScript pattern; bumping a catalog version + running./scripts/test-all.shre-verifies the whole reference at once. Toolchains needed locally: node + pnpm, go, buf, rust + cargo.
Related MCP server: MCP360 Universal Gateway
Consume via MCP (GitMCP)
This repo is served as an MCP server by GitMCP — no hosting, it reads the public repo directly. From any project:
claude mcp add --transport http patterns https://gitmcp.io/Skayfa/reference-patternsor in mcpServers:
"patterns": {
"type": "http",
"url": "https://gitmcp.io/Skayfa/reference-patterns"
}Exposed tools: fetch_reference_docs (returns llms.txt),
search_reference_docs, search_reference_code, fetch_generic_url_content.
Add a pattern
Copy
templates/pattern/PATTERN.mdinto<language>/<category>/<slug>/.Fill the frontmatter —
descriptionis what MCP search matches against;originrecords where the pattern was distilled from (source project + month);testis the commandscripts/test-all.shruns from the pattern directory (nonefor docs-only patterns).Add the runnable code with its own manifest. TypeScript patterns are picked up by the workspace glob automatically — use
"catalog:"versions (add new entries topnpm-workspace.yaml) andtest: pnpm test../scripts/generate-llms.shto refresh the index../scripts/test-all.sh— everything must pass before pushing.
Test everything
./scripts/test-all.shThis server cannot be deployed
Maintenance
Related MCP Connectors
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Read-only MCP connector serving the Run It on AI book; index and Implementation Blocks are free.
Search GitHub, npm, PyPI, StackOverflow, ArXiv from one MCP — built for coding agents.
Knowledge Network for AI Agents and creators: Search, rate, and review programming guides via MCP
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides comprehensive access to MCP documentation through structured guides, full-text search, and interactive development workflows for building servers and clients.310 npmMIT

MCP360 Universal Gatewayofficial
AlicenseCqualityDmaintenanceProvides unified access to 100+ MCP tools from the marketplace plus custom MCPs through a single gateway with search and execute capabilities.24 npm23MIT- AlicenseAqualityDmaintenanceExposes the Agentic Patterns Catalog as MCP resources and tools for AI coding agents to search, retrieve, and recommend patterns, recipes, frameworks, methodologies, and anti-patterns.12MIT
- AlicenseNot gradedqualityDmaintenanceEnables parsing, indexing, and querying source code as structured knowledge, providing code exploration, spec generation, and migration tools via 20 MCP tools.MIT