import SetupEnv from './common/setup-env.mdx'; # MCP Server Midscene provides a MCP server that allows AI assistants to control browsers, automate web tasks and write automation scripts for Midscene. :::info MCP Introduction MCP ([Model Context Protocol](https://modelcontextprotocol.io/introduction)) is a standardized way for AI models to interact with external tools and capabilities. MCP servers expose a set of tools that AI models can invoke to perform various tasks. In Midscene's case, these tools allow AI models to control browsers, navigate web pages, interact with UI elements, and more. ::: ## Use Cases * Control browsers to execute automation tasks * Automatically generate Midscene automation scripts ### Examples > Generate Midscene test cases for the Sauce Demo site