# ag2-mcp-servers/chitkara-university architecture

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

- Interactive diagram: https://gitdiagram.com/ag2-mcp-servers/chitkara-university
- Repository: https://github.com/ag2-mcp-servers/chitkara-university

## Overview

This repository packages a generated MCP server for Chitkara University’s degree-certificate verification API. A client selects a supported transport; the server loads optional configuration and security settings, exposes the certificate operation through MCP, and proxies it to the documented API endpoint. Generated Pydantic models define certificate request and response data. README documents the transports and environment-based configuration; the sampled source does not show the proxy’s internal dispatch or response handling.

Main entry points: [`mcp_server/main.py`](https://github.com/ag2-mcp-servers/chitkara-university/blob/main/mcp_server/main.py) (MCP proxy), [`mcp_server/models.py`](https://github.com/ag2-mcp-servers/chitkara-university/blob/main/mcp_server/models.py) (API schemas)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["MCP runtime"]
  node_entry["Server entry<br/>[main.py]"]
  node_proxy["MCP proxy<br/>[main.py]"]
end

subgraph group_domain["Certificate API"]
  node_operation["Certificate operation<br/>[main.py]"]
  node_schemas["API schemas<br/>[models.py]"]
end

node_client(("MCP client"))
node_university_api["University API"]

node_client -->|"starts transport"| node_entry
node_entry -->|"configures and runs"| node_proxy
node_proxy -->|"registers route"| node_operation
node_operation -->|"types request and responses"| node_schemas
node_proxy -.->|"proxies requests"| node_university_api

click node_entry "https://github.com/ag2-mcp-servers/chitkara-university/blob/main/mcp_server/main.py"
click node_proxy "https://github.com/ag2-mcp-servers/chitkara-university/blob/main/mcp_server/main.py"
click node_operation "https://github.com/ag2-mcp-servers/chitkara-university/blob/main/mcp_server/main.py"
click node_schemas "https://github.com/ag2-mcp-servers/chitkara-university/blob/main/mcp_server/models.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_entry,node_proxy,node_client toneBlue
class node_operation,node_schemas toneAmber
class node_university_api toneMint
```

## Components

### MCP runtime

- [Server entry](https://github.com/ag2-mcp-servers/chitkara-university/blob/main/mcp_server/main.py): `mcp_server/main.py`
- [MCP proxy](https://github.com/ag2-mcp-servers/chitkara-university/blob/main/mcp_server/main.py): `mcp_server/main.py`

### Certificate API

- [Certificate operation](https://github.com/ag2-mcp-servers/chitkara-university/blob/main/mcp_server/main.py): `mcp_server/main.py`
- [API schemas](https://github.com/ag2-mcp-servers/chitkara-university/blob/main/mcp_server/models.py): `mcp_server/models.py`

### Other components

- **MCP client**
- **University API**

## Connections

- MCP client → Server entry: starts transport (evidence: `README.md`)
- Server entry → MCP proxy: configures and runs (evidence: `mcp_server/main.py`)
- MCP proxy → Certificate operation: registers route (evidence: `mcp_server/main.py`)
- Certificate operation → API schemas: types request and responses (evidence: `mcp_server/main.py`)
- MCP proxy → University API: proxies requests (evidence: `README.md`)
