# soumyarana7797/secure-mcp-platform architecture

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

- Interactive diagram: https://gitdiagram.com/soumyarana7797/secure-mcp-platform
- Repository: https://github.com/soumyarana7797/secure-mcp-platform

## Overview

This is a small MCP learning platform: its concrete workflow is a client launching the hello server over stdio, calling the registered `greet` tool, and printing the result. A second script demonstrates the same server with raw JSON-RPC messages. The README mentions gateway multi-tool calls, but the supplied source shows no gateway or additional tools, so that capability is not mapped.

Main entry points: [`apps/hello_server/server.py`](https://github.com/soumyarana7797/secure-mcp-platform/blob/main/apps/hello_server/server.py) (MCP Server), [`scripts/hello_client.py`](https://github.com/soumyarana7797/secure-mcp-platform/blob/main/scripts/hello_client.py) (Hello Client), [`scripts/raw_jsonrpc_demo.py`](https://github.com/soumyarana7797/secure-mcp-platform/blob/main/scripts/raw_jsonrpc_demo.py) (Raw JSON-RPC Demo)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_client["Hello Client<br/>[hello_client.py]"]
node_server["MCP Server<br/>[server.py]"]
node_greet["Greet Tool<br/>[server.py]"]
node_raw_demo["Raw JSON-RPC Demo"]

node_user -.->|"runs"| node_client
node_client -->|"launches and calls"| node_server
node_server -->|"registers"| node_greet
node_greet -->|"returns greeting"| node_server
node_client -->|"prints result"| node_user
node_raw_demo -->|"sends JSON-RPC"| node_server

click node_client "https://github.com/soumyarana7797/secure-mcp-platform/blob/main/scripts/hello_client.py"
click node_server "https://github.com/soumyarana7797/secure-mcp-platform/blob/main/apps/hello_server/server.py"
click node_greet "https://github.com/soumyarana7797/secure-mcp-platform/blob/main/apps/hello_server/server.py"
click node_raw_demo "https://github.com/soumyarana7797/secure-mcp-platform/blob/main/scripts/raw_jsonrpc_demo.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_user,node_client toneBlue
class node_server toneMint
class node_greet,node_raw_demo toneTeal
```

## Components

### Other components

- **User**
- [Hello Client](https://github.com/soumyarana7797/secure-mcp-platform/blob/main/scripts/hello_client.py): `scripts/hello_client.py`
- [MCP Server](https://github.com/soumyarana7797/secure-mcp-platform/blob/main/apps/hello_server/server.py): `apps/hello_server/server.py`
- [Greet Tool](https://github.com/soumyarana7797/secure-mcp-platform/blob/main/apps/hello_server/server.py): `apps/hello_server/server.py`
- [Raw JSON-RPC Demo](https://github.com/soumyarana7797/secure-mcp-platform/blob/main/scripts/raw_jsonrpc_demo.py): `scripts/raw_jsonrpc_demo.py`

## Connections

- User → Hello Client: runs
- Hello Client → MCP Server: launches and calls (evidence: `scripts/hello_client.py`)
- MCP Server → Greet Tool: registers (evidence: `apps/hello_server/server.py`)
- Greet Tool → MCP Server: returns greeting (evidence: `apps/hello_server/server.py`)
- Hello Client → User: prints result (evidence: `scripts/hello_client.py`)
- Raw JSON-RPC Demo → MCP Server: sends JSON-RPC (evidence: `scripts/raw_jsonrpc_demo.py`)
