WebMCP is an open source JavaScript library that allows any website to integrate with the Model Context Protocol. It provides a small widget for users to connect to and interact with webpages via LLMs or agents.
Key features include:
- Tools that allow LLMs to perform specific actions on your website
- Prompts that serve as predefined templates for standardized interactions
- Resources that expose page data and content to be used as context for LLM interactions