<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/allow-ai-agents-to-interact-with-you-website-without-scrapping-shows-both-the-declarative-and-imper-u13yx0rxk" -->

---
title: Allow AI Agents to interact with you website without...
description: WebMCP is a new Chrome Canary feature that enables AI agents to interact with websites through structured APIs. It supports two approaches: declarative (HTML...
canonical: https://daily.dev/posts/allow-ai-agents-to-interact-with-you-website-without-scrapping-shows-both-the-declarative-and-imper-u13yx0rxk
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Allow AI Agents to interact with you website without scrapping. Shows both the declarative and imperative operations. | daily.dev
og:description: WebMCP is a new Chrome Canary feature that enables AI agents to interact with websites through structured APIs. It supports two approaches: declarative (HTML...
og:url: https://daily.dev/posts/allow-ai-agents-to-interact-with-you-website-without-scrapping-shows-both-the-declarative-and-imper-u13yx0rxk
og:image: https://api.daily.dev/og/posts/u13YX0RxK.png
og:image:alt: Allow AI Agents to interact with you website without scrapping. Shows both the declarative and imperative operations.
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Allow AI Agents to interact with you website without scrapping. Shows both the declarative and imperative operations.

**[Jd](https://daily.dev/sources/6b8sm5butuc0nmfkxai4s)** · [@nerdingio](https://daily.dev/nerdingio) · 0 upvotes · 0 comments

## Summary

WebMCP is a new Chrome Canary feature that enables AI agents to interact with websites through structured APIs. It supports two approaches: declarative (HTML attributes like tool-name and tool-description on form elements) and imperative (JavaScript execution with registered tools). The demo shows an AI agent controlling a kanban board and filling out a pizza order form by understanding available tools and their schemas, making autonomous decisions about DOM manipulation without traditional web scraping or excessive token usage.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=fgHRJzjSLP8>

## Similar posts on daily.dev

- [WebMCP: Optimize Your Website for AI Agents](https://daily.dev/posts/webmcp-optimize-your-website-for-ai-agents-3ewweawaw) · DebugBear · 1 upvotes · 0 comments
- [WebMCP turns any Chrome web page into an MCP server for AI agents](https://daily.dev/posts/webmcp-turns-any-chrome-web-page-into-an-mcp-server-for-ai-agents-t7se7hpwy) · The New Stack · 1 upvotes · 0 comments
- [WebMCP Explained: How Developers Can Prepare Websites for AI Agents](https://daily.dev/posts/webmcp-explained-how-developers-can-prepare-websites-for-ai-agents-yyokz9lqj) · SitePoint · 2 upvotes · 0 comments

---

Tags: [#ai](https://daily.dev/tags/ai), [#javascript](https://daily.dev/tags/javascript), [#automation](https://daily.dev/tags/automation), [#html](https://daily.dev/tags/html), [#google-chrome](https://daily.dev/tags/google-chrome)

[View this post on daily.dev](https://daily.dev/posts/allow-ai-agents-to-interact-with-you-website-without-scrapping-shows-both-the-declarative-and-imper-u13yx0rxk)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"DiscussionForumPosting","mainEntityOfPage":"https://daily.dev/posts/allow-ai-agents-to-interact-with-you-website-without-scrapping-shows-both-the-declarative-and-imper-u13yx0rxk","headline":"Allow AI Agents to interact with you website without scrapping. Shows both the declarative and imperative operations.","text":"Shared: WebMCP: Let AI Agents Control Your Website (Full Demo + Code)","url":"https://daily.dev/posts/allow-ai-agents-to-interact-with-you-website-without-scrapping-shows-both-the-declarative-and-imper-u13yx0rxk","datePublished":"2026-02-18T03:21:08.259Z","dateModified":"2026-02-18T03:21:43.781Z","author":{"@type":"Person","name":"Jd","url":"https://daily.dev/nerdingio","image":"https://media.daily.dev/image/upload/s--YdXcVFN7--/f_auto/v1726001464/avatars/avatar_6b8SM5ButuC0NmFkXaI4s","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":90}},"image":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"sharedContent":{"@type":"WebPage","url":"https://api.daily.dev/r/eB5SGojVq"},"isPartOf":{"@type":"WebPage","url":"https://daily.dev/sources/6b8sm5butuc0nmfkxai4s","name":"Jd"}}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Jd","item":"https://daily.dev/sources/6b8sm5butuc0nmfkxai4s"},{"@type":"ListItem","position":3,"name":"Allow AI Agents to interact with you website without scrapping. Shows both the declarative and imperative operations."}]}
```

