taobao WebMCP
Browser tool configuration for taobao
Tools (1)
taobao_search()
Search for products on Taobao
Parameters
JavaScript Handler
(params) => {
// Navigate directly to search results in current tab
window.location.href = 'https://s.taobao.com/search?q=' + encodeURIComponent(params.keyword);
return { success: true, message: 'Searching: ' + params.keyword };
}
WebMCP clients
Use mcp-chrome, or fetch the same tools from the public API in your own browser automation runtime.
How to Use WebMCP
WebMCP tools are designed for browser extensions or automation frameworks. The browser extension matches the current URL against the pattern and executes the JavaScript handler when the tool is invoked.
API Endpoint:
GET /api/webmcp/match?url=https://www.taobao.com/...
Third-party clients can use the same endpoint as mcp-chrome. Execute the returned JavaScript handler in your own browser page context.