Build interactive apps that live inside Claude's conversations.
Ask an AI assistant whether a meeting room is free and you usually get a sentence. With an MCP App, you get a card instead: the room, the next free half hour, and a Book button that works right there in the chat. MCP Apps for Claude shows you how to build that kind of interface, from the first tool to a listing in Claude's connector directory.
The book follows one real app, Snug, a meeting-room booking connector, from a text-only MCP server to a polished, tested app that runs in claude.ai, in Claude Desktop and in the Claude Android app. Every code example is cut from a real, tested file, and every screenshot was taken in Claude.
What you'll learn
- How MCP Apps work: tools,
ui:// resources, and the sandboxed card Claude shows in the conversation - How to build inline cards, carousels and fullscreen views that follow Claude's design guidelines
- How to take Claude's theme, fonts and colors, in light and dark mode, and design for phones
- How a card talks back to Claude:
updateModelContext, sendMessage, app-only tools and links - How to handle many copies of one card, large results and live data
- How the sandbox and content security policy work, and how to add sign-in with a threat model
- How to test a card without a browser, debug it inside Claude, and prepare it for the directory
Who this book is for
Web developers who know JavaScript or TypeScript and want to build interactive connectors for Claude. You don't need to know MCP already: Chapter 2 teaches the parts you need.
What you get
- 14 chapters, with diagrams, screenshots and exercises
- Runnable solutions to every exercise
- The complete companion code under the MIT License, with a copy of the app at the end of every chapter and a full test suite