MCP architecture template

How the Model Context Protocol connects an AI app to tools and data: host, client, MCP servers, and the systems behind them.

Use this templateFree, opens in your browser. No sign-up.

MCP architecture template
Host app
MCP architecture
The host app holds one MCP client per server; each server wraps one system and offers it as tools, resources and prompts.
You
Chat app or IDE
LLM picks a tool
MCP client, one per server
GitHub MCP server
Postgres MCP server
Filesystem MCP server
GitHub API
Orders database
Project files
Give each server least-privilege credentials: read-only unless writing is the point
What a server offers
Primitive
What it is
Example
Tools
Actions the model can call
create_issue, run_query
Resources
Data the app can read
schema://orders
Prompts
Templates the user picks
/review-pr
tool call
HTTP
stdio
stdio
The MCP architecture template as it opens in Kelvo: 10 boxes, 1 sticky note, 1 table and 9 links.

What's on the board

Host app
MCP client, one per server · Chat app or IDE · LLM picks a tool

Table columns: Primitive, What it is, Example.

Also on the board

  • Give each server least-privilege credentials: read-only unless writing is the point
  • GitHub MCP server
  • GitHub API
  • Postgres MCP server
  • You
  • Orders database
  • Filesystem MCP server
  • Project files
  • What a server offers

How to use this template

  1. Click Use this template. It opens in the Kelvo app as a new board, saved in your browser.
  2. Double-click any box to change its text. Replace the examples with your own content.
  3. Sketch, then convert. Draw boxes and arrows with the pen, select the strokes and click Convert sketch: they become real boxes and links.
  4. Ask Kelvo right on the board (Pro). With Pro, type @kelvo and what you want in any box or text, for example “@kelvo add error handling”, and press Enter. The change is made there and the request disappears; ⌘Z undoes it.
  5. Keep the prompt next to the diagram. Add a code block from the Insert (+) menu for prompts, schemas or config, right beside the boxes they belong to.

Good for

  • ai
  • llm
  • mcp
  • model context protocol
  • agents
  • architecture
  • Explaining an LLM feature's architecture to engineers and stakeholders
  • Deciding between prompting, retrieval and fine-tuning
  • Planning evaluations and risks before launch

Related templates

  • LLM agent loop template previewLLM agent loop

    How a tool-using agent plans, calls tools, observes results and updates memory until the goal is met, with guardrails.

  • LLM application architecture template previewLLM application architecture

    Production building blocks around a model: gateway, guardrails, orchestrator, cache, vector DB, tools and observability.

  • Multi-agent orchestration template previewMulti-agent orchestration

    An orchestrator agent splits a goal across specialist agents with their own tools, then a reviewer agent checks the result.

  • RAG pipeline template previewRAG pipeline

    Retrieval-augmented generation end to end: ingest and embed documents offline, then retrieve, rerank and answer with citations.

  • AWS three-tier web app template previewAWS three-tier web app

    A highly available web app on AWS: DNS and CDN, load balancer, auto-scaled app servers and Multi-AZ database in a VPC.

  • Azure web app architecture template previewAzure web app architecture

    A production web app on Azure: Front Door and WAF, App Service, Azure SQL, Redis, Service Bus and Functions, with a monthly cost estimate.

All ai and machine learning diagram templates · All templates

Use the MCP architecture template