Pamela Fox
About me
Principal Cloud Advocate at Microsoft / GitHub
Formerly: UC Berkeley, Coursera,
Khan Academy, Google
| đź”— @pamelafox | |
| đź”— linkedin.com/in/pamela-s-fox | |
| GitHub | đź”— github.com/pamelafox |
| Website | đź”— pamelafox.org |
As of MCP 2026-07-28 spec, there is no initialization handshake. Each request declares its version and capabilities.
The host's MCP client sends requests to the server's /mcp endpoint (Streamable HTTP).
server/discover is optional for clients. They can call tools directly without initializing a session.
Older clients still use initialize → response → notifications/initialized. FastMCP 4 supports both flows.
image_search: MCP tool that returns imagesThe model decides to call image_search.
display_image_files: MCP tool that returns MCP appdisplay_image_files: who sees which part?generate_image is an MCP tool that the LLM or the App View can call. Here, the App View calls it.
You select 2 photos and click Make a collage (enabled for 2–5).
ui/update-model-context stores your selection, and the host adds it to your next message.
You select 2 photos and click Use in next message. Nothing shows up in the chat yet.
ui/message posts your question and selection as a new user message.
You select 2 photos, click Ask in chat…, type a question, and click Send to chat.
generate_image: one tool, two result shapesThe server checks client capabilities in the request's _meta (or initialize for legacy clients).
Yes, but as a 256px thumbnail for the model. The full PNG goes in _meta for the App View.
(Considering that some hosts send structuredContent to the model)
_meta. Resource links or blob URLs could work too.
display_image_files is listed for every client. Without Apps, it returns only text.
No. We trust declared capabilities, so “Ask in chat…” stayed hidden in VS Code until it declared message.
Slides: đź”— pamelafox.github.io/my-py-talks/mcp-images-apps
Code: đź”— github.com/Azure-Samples/image-search-aisearch
| đź”— @pamelafox | |
| đź”— linkedin.com/in/pamela-s-fox | |
| GitHub | đź”— github.com/pamelafox |
| Website | đź”— pamelafox.org |