Mcp Aoai Web Browsing
A minimal Model Context Protocol 🖥️ server/client🧑💻with Azure OpenAI and 🌐 web browser control via Playwright.
Overview
Mcp Aoai Web Browsing is a project that implements a Model Context Protocol (MCP) server/client application utilizing Azure OpenAI to enable web browser control through Playwright.
To use the project, set up the server by configuring the Azure OpenAI parameters in the .env file, and run the chatgui.py script to launch the client interface that navigates to specified URLs.
- Integration of Azure OpenAI with custom server-client architecture. - Usage of Playwright for web testing and automation. - Ability to navigate and interact with web pages programmatically.
- Automating browser interactions for testing web applications.
- Interacting with dynamic web content based on AI-generated commands.
- Creating automated reports or summaries from web page content.
Add to your AI client
Use these steps to connect Mcp Aoai Web Browsing in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-aoai-web-browsing-kimtth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-aoai-web-browsing-kimtth"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-aoai-web-browsing-kimtth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-aoai-web-browsing-kimtth"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-aoai-web-browsing-kimtth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-aoai-web-browsing-kimtth"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-aoai-web-browsing-kimtth": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-aoai-web-browsing-kimtth"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-aoai-web-browsing-kimtth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-aoai-web-browsing-kimtth"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-aoai-web-browsing-kimtth": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-aoai-web-browsing-kimtth"
]
}
}
}FAQ
What is the Model Context Protocol (MCP)?
MCP is an open protocol that facilitates secure communication between AI applications and other resources.
Is there any specific Python version requirement?
It is advised to use Python with support for the required dependencies and libraries during setup.
How can I contribute to the project?
Contributors can check the official repository for guidelines on contributing and expanding functionalities.