schema · evergreen

Host, client, server

The host is the app, it holds one client per connection, each client talks to one server.

Three roles, and they are easy to blur. The host is the application. It holds one client per connection. Each client talks to one server.

one client per server
Host · IDE, chat client, agentthe part you writestdioStreamable HTTPSQLHTTPSMCP client 1one connectionMCP client 2one connectionMCP serverfiles · localMCP serverissues · remoteDatabaselocal or remoteWeb APIsome remote serviceBackend4Database1Cloud1
RoleWho writes itWhat it owns
Hostthe app vendorthe model, the UI, the approval prompts
Clientthe SDKone connection, protocol bookkeeping
Serveryoucapabilities and the external system behind them

The server is the only piece most people write. It exposes capabilities and does the talking to whatever sits behind it — a local database, a web API, a filesystem.

#architecture #roles

See this note on the whiteboard →