# navercloudplatform/ncp-claude-project architecture

> Architecture diagram of the GitHub repository navercloudplatform/ncp-claude-project, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/navercloudplatform/ncp-claude-project
- Repository: https://github.com/navercloudplatform/ncp-claude-project

## Overview

This repository is a hands-on NCP workshop containing two independent web apps and an NCP MCP server. The diary workflow saves dated text, mood, and photos; the budget workflow uploads receipts, optionally extracts receipt details with OCR, and presents monthly spending and budget information. The graph also preserves the MCP server’s cloud-management and Object Storage capabilities. Some UI and MCP capabilities are documented or visible only in partial excerpts, so unsampled links are omitted.

Main entry points: [`budget-app/app.py`](https://github.com/navercloudplatform/ncp-claude-project/blob/main/budget-app/app.py) (Budget routes), [`diary-app/app.py`](https://github.com/navercloudplatform/ncp-claude-project/blob/main/diary-app/app.py) (Diary routes), [`diary-app/templates`](https://github.com/navercloudplatform/ncp-claude-project/tree/main/diary-app/templates) (Calendar and entries), [`diary-app/storage.py`](https://github.com/navercloudplatform/ncp-claude-project/blob/main/diary-app/storage.py) (Entry and photo storage)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_diary["Diary app"]
  node_diary_web["Diary routes<br/>[app.py]"]
  node_diary_ui["Calendar and entries"]
  node_diary_storage["Entry and photo storage<br/>[storage.py]"]
end

subgraph group_budget["Budget app"]
  node_budget_web["Budget routes<br/>[app.py]"]
  node_budget_ui["Monthly and daily views"]
  node_budget_storage["Receipt and budget storage<br/>[storage.py]"]
  node_receipt_ocr["Receipt OCR parsing<br/>[ocr.py]"]
end

subgraph group_mcp["NCP MCP server"]
  node_mcp_server["NCP tool server<br/>[ncp_server.py]"]
  node_cloud_provisioning["Cloud provisioning<br/>[ncp_server.py]"]
  node_cloud_network["VPC and network tools<br/>[ncp_server.py]"]
  node_cloud_compute["Server and IP tools<br/>[ncp_server.py]"]
  node_cloud_object_tools["Object Storage tools<br/>[ncp_server.py]"]
end

subgraph group_services["External services"]
  node_ncp_object_storage[("NCP Object Storage")]
  node_clova_ocr["NCP CLOVA OCR"]
  node_ncp_api["NCP APIs"]
end

node_diary_user(("Diary user"))
node_budget_user(("Budget user"))
node_mcp_user(("MCP client"))

node_diary_user -->|"uses"| node_diary_ui
node_diary_ui -.->|"submits entries"| node_diary_web
node_diary_web -->|"loads and saves"| node_diary_storage
node_diary_storage -->|"reads and writes"| node_ncp_object_storage
node_budget_user -->|"uses"| node_budget_ui
node_budget_ui -.->|"submits receipts"| node_budget_web
node_budget_web -->|"loads and saves"| node_budget_storage
node_budget_web -->|"extracts receipt data"| node_receipt_ocr
node_receipt_ocr -->|"requests OCR"| node_clova_ocr
node_budget_storage -->|"reads and writes"| node_ncp_object_storage
node_mcp_user -.->|"calls tools"| node_mcp_server
node_mcp_server -->|"signs API requests"| node_ncp_api
node_cloud_provisioning -->|"provisions resources"| node_ncp_api
node_cloud_network -->|"manages networking"| node_ncp_api
node_cloud_compute -.->|"manages servers"| node_ncp_api
node_cloud_object_tools -.->|"manages objects"| node_ncp_object_storage

click node_diary_web "https://github.com/navercloudplatform/ncp-claude-project/blob/main/diary-app/app.py"
click node_diary_ui "https://github.com/navercloudplatform/ncp-claude-project/tree/main/diary-app/templates"
click node_diary_storage "https://github.com/navercloudplatform/ncp-claude-project/blob/main/diary-app/storage.py"
click node_budget_web "https://github.com/navercloudplatform/ncp-claude-project/blob/main/budget-app/app.py"
click node_budget_ui "https://github.com/navercloudplatform/ncp-claude-project/tree/main/budget-app/templates"
click node_budget_storage "https://github.com/navercloudplatform/ncp-claude-project/blob/main/budget-app/storage.py"
click node_receipt_ocr "https://github.com/navercloudplatform/ncp-claude-project/blob/main/budget-app/ocr.py"
click node_mcp_server "https://github.com/navercloudplatform/ncp-claude-project/blob/main/ncp-mcp/ncp_server.py"
click node_cloud_provisioning "https://github.com/navercloudplatform/ncp-claude-project/blob/main/ncp-mcp/ncp_server.py"
click node_cloud_network "https://github.com/navercloudplatform/ncp-claude-project/blob/main/ncp-mcp/ncp_server.py"
click node_cloud_compute "https://github.com/navercloudplatform/ncp-claude-project/blob/main/ncp-mcp/ncp_server.py"
click node_cloud_object_tools "https://github.com/navercloudplatform/ncp-claude-project/blob/main/ncp-mcp/ncp_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_diary_web,node_diary_ui,node_diary_storage,node_diary_user,node_budget_user,node_mcp_user toneBlue
class node_budget_web,node_budget_ui,node_budget_storage,node_receipt_ocr toneAmber
class node_mcp_server,node_cloud_provisioning,node_cloud_network,node_cloud_compute,node_cloud_object_tools toneMint
class node_ncp_object_storage,node_clova_ocr,node_ncp_api toneRose
```

## Components

### Diary app

- [Diary routes](https://github.com/navercloudplatform/ncp-claude-project/blob/main/diary-app/app.py): `diary-app/app.py`
- [Calendar and entries](https://github.com/navercloudplatform/ncp-claude-project/tree/main/diary-app/templates): `diary-app/templates`
- [Entry and photo storage](https://github.com/navercloudplatform/ncp-claude-project/blob/main/diary-app/storage.py): `diary-app/storage.py`

### Budget app

- [Budget routes](https://github.com/navercloudplatform/ncp-claude-project/blob/main/budget-app/app.py): `budget-app/app.py`
- [Monthly and daily views](https://github.com/navercloudplatform/ncp-claude-project/tree/main/budget-app/templates): `budget-app/templates`
- [Receipt and budget storage](https://github.com/navercloudplatform/ncp-claude-project/blob/main/budget-app/storage.py): `budget-app/storage.py`
- [Receipt OCR parsing](https://github.com/navercloudplatform/ncp-claude-project/blob/main/budget-app/ocr.py): `budget-app/ocr.py`

### NCP MCP server

- [NCP tool server](https://github.com/navercloudplatform/ncp-claude-project/blob/main/ncp-mcp/ncp_server.py): `ncp-mcp/ncp_server.py`
- [Cloud provisioning](https://github.com/navercloudplatform/ncp-claude-project/blob/main/ncp-mcp/ncp_server.py): `ncp-mcp/ncp_server.py`
- [VPC and network tools](https://github.com/navercloudplatform/ncp-claude-project/blob/main/ncp-mcp/ncp_server.py): `ncp-mcp/ncp_server.py`
- [Server and IP tools](https://github.com/navercloudplatform/ncp-claude-project/blob/main/ncp-mcp/ncp_server.py): `ncp-mcp/ncp_server.py`
- [Object Storage tools](https://github.com/navercloudplatform/ncp-claude-project/blob/main/ncp-mcp/ncp_server.py): `ncp-mcp/ncp_server.py`

### External services

- **NCP Object Storage**
- **NCP CLOVA OCR**
- **NCP APIs**

### Other components

- **Diary user**
- **Budget user**
- **MCP client**

## Connections

- Diary user → Calendar and entries: uses (evidence: `README.md`)
- Calendar and entries → Diary routes: submits entries
- Diary routes → Entry and photo storage: loads and saves (evidence: `diary-app/app.py`)
- Entry and photo storage → NCP Object Storage: reads and writes (evidence: `diary-app/storage.py`)
- Budget user → Monthly and daily views: uses (evidence: `README.md`)
- Monthly and daily views → Budget routes: submits receipts
- Budget routes → Receipt and budget storage: loads and saves (evidence: `budget-app/app.py`)
- Budget routes → Receipt OCR parsing: extracts receipt data (evidence: `budget-app/app.py`)
- Receipt OCR parsing → NCP CLOVA OCR: requests OCR (evidence: `budget-app/ocr.py`)
- Receipt and budget storage → NCP Object Storage: reads and writes (evidence: `budget-app/storage.py`)
- MCP client → NCP tool server: calls tools
- NCP tool server → NCP APIs: signs API requests (evidence: `ncp-mcp/ncp_server.py`)
- Cloud provisioning → NCP APIs: provisions resources (evidence: `ncp-mcp/ncp_server.py`)
- VPC and network tools → NCP APIs: manages networking (evidence: `ncp-mcp/ncp_server.py`)
- Server and IP tools → NCP APIs: manages servers
- Object Storage tools → NCP Object Storage: manages objects
