Skip to content

Commit 1b2a21f

Browse files
authored
Merge pull request #23 from agentic-community/update-readme-diagram-human-user
Update architecture diagram to include human users
2 parents 1af2579 + 75f3c61 commit 1b2a21f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ The MCP Gateway provides a single endpoint to access multiple MCP servers and th
4444

4545
```mermaid
4646
flowchart TB
47+
subgraph Human_Users["Human Users"]
48+
User1["Human User 1"]
49+
User2["Human User 2"]
50+
UserN["Human User N"]
51+
end
52+
4753
subgraph AI_Agents["AI Agents"]
4854
Agent1["AI Agent 1"]
4955
Agent2["AI Agent 2"]
@@ -90,6 +96,14 @@ flowchart TB
9096
API3["External API 3"]
9197
end
9298
99+
%% Connections from Human Users
100+
User1 -->|Web Browser<br>Authentication| IdP
101+
User2 -->|Web Browser<br>Authentication| IdP
102+
UserN -->|Web Browser<br>Authentication| IdP
103+
User1 -->|Web Browser<br>HTTPS| Registry
104+
User2 -->|Web Browser<br>HTTPS| Registry
105+
UserN -->|Web Browser<br>HTTPS| Registry
106+
93107
%% Connections from Agents to Gateway
94108
Agent1 -->|MCP Protocol<br>SSE with Auth| RP
95109
Agent2 -->|MCP Protocol<br>SSE with Auth| RP
@@ -99,6 +113,7 @@ flowchart TB
99113
%% Auth flow connections
100114
RP -->|Auth validation| AuthServer
101115
AuthServer -.->|Validate credentials| IdP
116+
Registry -.->|User authentication| IdP
102117
RP -->|Tool discovery| RegistryMCP
103118
RP -->|Web UI access| Registry
104119
@@ -121,6 +136,7 @@ flowchart TB
121136
Lambda1 -->|Tool Connection| API3
122137
123138
%% Style definitions
139+
classDef user fill:#fff9c4,stroke:#f57f17,stroke-width:2px
124140
classDef agent fill:#e1f5fe,stroke:#29b6f6,stroke-width:2px
125141
classDef gateway fill:#e8f5e9,stroke:#66bb6a,stroke-width:2px
126142
classDef nginx fill:#f3e5f5,stroke:#ab47bc,stroke-width:2px
@@ -131,6 +147,7 @@ flowchart TB
131147
classDef dataSource fill:#e3f2fd,stroke:#2196f3,stroke-width:2px
132148
133149
%% Apply styles
150+
class User1,User2,UserN user
134151
class Agent1,Agent2,Agent3,AgentN agent
135152
class EC2_Gateway,NGINX gateway
136153
class RP nginx

0 commit comments

Comments
 (0)