# lanlan3292/mcp-tebptkg-blessing architecture

> Architecture diagram of the GitHub repository lanlan3292/mcp-tebptkg-blessing, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/lanlan3292/mcp-tebptkg-blessing
- Repository: https://github.com/lanlan3292/mcp-tebptkg-blessing

## Overview

This small MCP server exposes one user workflow: an MCP client requests a blessing, the tool loads nonblank entries from line 10 onward in the bundled pack, and Python randomly selects one to return. Tool registration, loading, and selection are implemented in server.py. The documented stdio transport and pack contents are represented; no separate storage or business subsystems are evident.

Main entry points: [`server.py`](https://github.com/lanlan3292/mcp-tebptkg-blessing/blob/main/server.py) (Blessing tool)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_client(("MCP client"))
node_tool["Blessing tool<br/>[server.py]"]
node_loader["Pool loader<br/>[server.py]"]
node_pack["Blessing pack"]
node_random["Random choice<br/>[server.py]"]

node_client -->|"calls tool"| node_tool
node_tool -->|"loads pool"| node_loader
node_loader -->|"reads entries"| node_pack
node_tool -->|"selects entry"| node_random
node_tool -->|"returns blessing"| node_client

click node_tool "https://github.com/lanlan3292/mcp-tebptkg-blessing/blob/main/server.py"
click node_loader "https://github.com/lanlan3292/mcp-tebptkg-blessing/blob/main/server.py"
click node_random "https://github.com/lanlan3292/mcp-tebptkg-blessing/blob/main/server.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_client toneBlue
class node_tool,node_loader,node_random toneTeal
class node_pack toneIndigo
```

## Components

### Other components

- **MCP client**
- [Blessing tool](https://github.com/lanlan3292/mcp-tebptkg-blessing/blob/main/server.py): `server.py`
- [Pool loader](https://github.com/lanlan3292/mcp-tebptkg-blessing/blob/main/server.py): `server.py`
- **Blessing pack**
- [Random choice](https://github.com/lanlan3292/mcp-tebptkg-blessing/blob/main/server.py): `server.py`

## Connections

- MCP client → Blessing tool: calls tool
- Blessing tool → Pool loader: loads pool
- Pool loader → Blessing pack: reads entries
- Blessing tool → Random choice: selects entry
- Blessing tool → MCP client: returns blessing
