Example of a tool call in action
mcp-ui passednatural language instructionThe tool call can be triggered and is extremely intuitive to use:
- Browser Automation::
- Enter a command in the chat box, such as "Open Google Search xAI".
- The AI calls the built-in browser tool to automatically perform the operation and return the result.
- Weather Enquiry::
- Enter "What is the weather in Beijing today" or "Weather forecast in Shanghai".
- The system will return real-time data via the integrated weather service API, presented in Markdown format.
caveat: Need to ensure that the MCP back-end service (npm run mcp:server
) is working and the API key is properly configured. Desktop users can also incorporate file manipulation commands (e.g. "read notes.txt") for more sophisticated local interactions.
This answer comes from the articlemcp-ui: a clean AI chat interface based on the MCP protocolThe