%% GeekMidst website MCP server
%% Implemented and tested by GeekMidst
flowchart TB
subgraph z0["Visitor's environment"]
host["AI host
any MCP-capable application"]
client["MCP client
SDK, Inspector or built into a host"]
end
subgraph z1["GeekMidst website (public, read-only)"]
endpoint["/mcp endpoint
origin check and rate limit"]
dispatch["JSON-RPC dispatcher
legacy and 2026-07-28 eras"]
audit["Anonymous request log
kept 90 days"]
selftest["Admin self-test
20+ protocol checks"]
tools["Read-only tools
six tools, all annotated read-only"]
resources["Resources
gm://page/{path} and site indexes"]
prompts["Prompts
six review and planning templates"]
pages["Published pages"]
calcs["Calculators and assessments"]
end
host -->|"tool and resource calls"| client
client -->|"HTTPS POST, JSON-RPC 2.0"| endpoint
endpoint -->|"accepted request"| dispatch
dispatch -.->|"request outcome"| audit
selftest -.->|"HTTP self-check"| endpoint
dispatch -->|"tools/call"| tools
dispatch -->|"resources/read"| resources
dispatch -->|"prompts/get"| prompts
tools -->|"search and read"| pages
tools -->|"run model"| calcs
resources -->|"page text"| pages
classDef data stroke:#2f8a3a,fill:#e9f6ea
class audit,pages,calcs data
classDef ai stroke:#5747AF,fill:#f6f4fd
class host,client ai
classDef integration stroke:#334155,fill:#eef2f6
class dispatch,tools,resources,prompts integration
classDef security stroke:#1f2937,fill:#f3f4f6
class endpoint security
classDef people stroke:#125BD8,fill:#ffffff
class selftest people