@agenteconomy/webmcp
v0.5.4
Published
Turn any website into an agent-ready MCP platform. Implements the WebMCP protocol so AI agents can interact with web content via HTML attributes. Part of the AI Agent Economy ecosystem.
Maintainers
Readme
@agenteconomy/webmcp
Turn any website into an agent-ready MCP platform. Part of the AI Agent Economy ecosystem.
Install
npm install @agenteconomy/webmcpFeatures
- WebMCP protocol — expose your site's actions via HTML
data-mcp-*attributes - Chrome 146 compatible — works with
navigator.modelContextnatively - Zero backend required — pure client-side implementation
- MCP standard — compatible with Claude, Cursor, any MCP client
Quick Start
<!-- Expose a button as an agent action -->
<button
data-mcp-action="submit-order"
data-mcp-description="Place the current order"
>
Place Order
</button>const { WebMCP } = require('@agenteconomy/webmcp');
const server = new WebMCP({ siteName: 'My Store' });
server.start();Migration from webmcp-sdk
npm uninstall webmcp-sdk
npm install @agenteconomy/webmcpEcosystem
See @agenteconomy/wallet for the full ecosystem.
