WebMCP
2 days ago
- #AI Tools
- #LLM
- #Web Development
- WebMCP enables websites to share tools, resources, and prompts with client-side LLMs without sharing API keys.
- WebMCP allows a website to function as an MCP server, supporting any model.
- A widget can be added to websites to expose tools for LLMs, improving UX for users or agents.
- Users can connect to multiple websites simultaneously, with tools scoped by domain for organization.
- Setup involves using an npm command (npx -y @jason.today/webmcp@latest) with options for different MCP clients.
- Token-based authentication ensures secure connections between MCP clients and websites.
- The system uses a localhost-only WebSocket server for communication between MCP clients and websites.
- Tools and resources are requested and executed through a defined flow involving MCP clients, servers, and websites.
- Early project stage with a focus on security improvements to prevent prompt injection attacks.
- Includes additional features like a token generator and MCP Tool Definer for schema building.
- Docker support is available for deploying the WebSocket server, including a Dockerfile and docker-compose.yml.