Książki po angielsku · odkrywaj nowe historie

Obsługa klienta: kontakt@bookbuy.pl

Znajdź książkę po tytule, autorze lub numerze ISBN.

Okładka książki

Książka po angielsku

WebMCP in Practice

Sandeep Patel

Opis książki

An AI agent on your website works the way a screen reader does: it reads the page and guesses which button to press. WebMCP is the alternative. Your page hands the agent a list of things it can do (search this catalog, add this to the cart, set this address), described in your words and running your code, in the tab the visitor already has open.WebMCP in Practice is a short, hands-on guide for web developers. You build one small shop, Kiosk, and every runnable listing was run before it was written about. You start with a working tool from a few HTML attributes on a form you already have. Then you register tools in JavaScript, write descriptions and errors an agent can act on, make tools appear and disappear as the page changes, and test them.The part that matters most: a tool runs as the logged-in user, with no API key and no sandbox in between. Chapter 6 shows a prompt-injection attack on the book's own shop, step by step. Chapter 7 covers the annotations the platform offers, what they do not enforce, and how your page can ask the shopper before a consequential tool runs.WebMCP is a W3C Community Group draft with one implementation, behind an origin trial in Chrome (149 through 156) and a matching trial in Edge. This book is for someone who wants to build on it anyway, with their eyes open. Every claim that depends on a version carries the version and the date it was checked. The places where the shipping code disagrees with the spec are listed in an appendix. Where a number matters, the book gives you the command to check it yourself.What you'll learn- Turn an ordinary HTML form into a WebMCP tool with a few attributes, and see it in Chrome DevTools.- Register tools in JavaScript, and write descriptions, schemas, return values and errors an agent can act on.- Make tools appear and disappear as the page changes, so an agent is only offered what makes sense right now.- See how a poisoned product review can steer an agent, and how to narrow a tool so it cannot.- Use the three annotations, and ask the shopper before a consequential tool runs.- Test tools against the real platform, in jsdom and in a real Chrome, instead of a mock that hides failures.- Ship it: feature detection, origin-trial tokens, the polyfill, keeping the site working with every tool off, and what production adds.- Tell what is settled in this API from what is still open.Who this book is forA web developer who knows the DOM and can read JavaScript. You do not need to have used the Model Context Protocol or built an agent. You do not need an AI account or an API key, and no chapter calls a model. A skeptical reader is welcome: the book argues its case and shows the costs.

ISBN-13
9798176601985
Język
Angielski
Waga
204 g
Oprawa
Miękka
Wydawnictwo
Amazon Digital Services LLC - Kdp
Liczba stron
164
Rok wydania
2026
Kategoria
Nieprzypisana

Termin wysyłki jest obecnie niedostępny.

Wszystkie podane terminy wysyłki liczymy w dniach roboczych.
Cena brutto 213,75 zł
Zadaj pytanie o książkę Wróć do katalogu

Poznaj twórczość autora

Inne książki tego samego autora

6 książek

Odkryj kolejną lekturę

Podobne książki

0 książek

Kolejne propozycje pojawią się wraz z aktualizacją katalogu.