WebMCP is coming — so I’m building webmcp.js
WebMCP is a new approach to making websites more accessible for AI agents by providing structured tools directly from the page. The author is developing webmcp.js, a TypeScript-first layer to facilitate this process for developers. This project aims to enhance the developer experience by incorporating validation, permissions, and testing utilities.
- ▪WebMCP allows websites to expose structured tools for AI agents instead of relying on guesswork.
- ▪The author is building webmcp.js to provide a practical layer for developers to implement WebMCP tools effectively.
- ▪The project will be open source and aims to improve safety, validation, and user experience for developers.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3204011) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } beladevo Posted on May 25 WebMCP is coming — so I’m building webmcp.js #ai #javascript #opensource #webml The web was built for humans. AI agents are not humans. Today, many agents still use websites like a person would: read the page, inspect the DOM, guess which button to click, fill a form, and hope the UI did not change. That is useful. But it is also fragile. WebMCP points to a different future: websites can expose structured tools directly from the page.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).