microsoft-edge-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@microsoft-edge-mcpOpen the Copilot sidebar"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Microsoft Edge MCP Server (microsoft-edge-mcp)
A native TypeScript/Node.js Model Context Protocol (MCP) server that provides low-level, high-performance control over the Microsoft Edge browser. Built using raw WebSockets (ws) to talk directly to Edge's Chrome DevTools Protocol (CDP) port, bypassing heavy automation layers like Playwright or Puppeteer.
Features
π Core CDP Capabilities
Full parity with chrome-devtools-mcp but optimized for Edge:
Navigation:
navigate_page(url, back, forward, reload)Interaction:
click,fill,fill_form(multi-field),hover,drag,press_key,type_textPage Management:
list_pages,new_page,select_page(reconnects active target),close_pageObservation:
take_screenshot(viewport/full page/element clip),take_snapshot(Accessibility Tree + lightweight DOM outline fallback)Execution:
evaluate_script(JS execution in page context)Console & Network:
list_console_messages,get_console_message,list_network_requests,get_network_request(captures response bodies)Tracing & Performance:
performance_start_trace,performance_stop_trace,performance_analyze_insight
π Edge-Exclusive Capabilities
Dedicated integration hooks exploiting Microsoft Edge's unique feature set:
edge_open_sidebarβ Opens specific sidebar panels (e.g., Copilot, Tools, Shopping) using internal Edge hooks or keyboard shortcuts.edge_toggle_ie_modeβ Toggles Internet Explorer mode for legacy compatibility testing.edge_list_sleeping_tabs/edge_wake_tabβ Exposes Edge's sleeping/discarded tab management states.edge_add_to_collectionsβ Adds the current page to the user's Edge Collections.edge_add_to_reading_listβ Integrates with Edge's reading list.edge_web_captureβ Triggers Edge's native web clipping tool (Ctrl+Shift+S).edge_open_settingsβ Direct deep-links to browser internal settings page (edge://settings/<path>).edge_check_compatβ Inspects the active document for IE/EdgeHTML compatibility meta tags and rendering modes.
Related MCP server: mcp-playwright
Enforced Design Principles (Ponytail senior dev style)
Zero Automation Wrappers: No Puppeteer, Playwright, or Selenium. Automation goes through raw CDP JSON-RPC over WebSockets.
Binary Search Sequence: Finds Edge by searching
EDGE_PATHenv var β‘οΈ OS Registry (Windows) β‘οΈ OS-specific default paths β‘οΈwhich msedge.Dynamic Port Allocation: Launches debugging on port
9222. If busy, it automatically increments to9223, using isolated port-specific user-data profiles to avoid locking conflicts.Best-Effort Edge Tools: Where Edge lacks native CDP hooks for UI features, fallback keyboard shortcut injections (
Input.dispatchKeyEvent) orRuntime.evaluatescripts are used, marked cleanly withponytail:comments mapping ceilings and upgrade paths.
File Structure
microsoft-edge-mcp/
βββ package.json
βββ tsconfig.json
βββ README.md
βββ src/
β βββ index.ts # MCP server entry, stdio transport, tool registrations
β βββ edge.ts # Binary detection + auto-launch + port scanning
β βββ cdp.ts # Raw WebSocket CDP client & connection utilities
β βββ tools/
β βββ navigation.ts # navigate_page
β βββ interaction.ts # click, hover, drag, press_key, type_text
β βββ capture.ts # take_screenshot, take_snapshot
β βββ evaluate.ts # evaluate_script
β βββ network.ts # list_network_requests, get_network_request
β βββ console.ts # list_console_messages, get_console_message
β βββ pages.ts # list_pages, new_page, select_page, close_page
β βββ forms.ts # fill, fill_form
β βββ perf.ts # performance_*
β βββ edge/ # Edge-exclusive tool handlers
β βββ sidebar.ts
β βββ ie_mode.ts
β βββ sleeping_tabs.ts
β βββ collections.ts
β βββ reading_list.ts
β βββ web_capture.ts
β βββ settings.ts
β βββ compat.ts
βββ self-check.ts # Dependency-free integration testsInstallation & Setup
Prerequisites
Node.js (Latest LTS recommended)
Microsoft Edge installed on the host machine
One-Line Auto-Install (Via GitHub)
To automatically download, compile, and configure this MCP server inside your Antigravity and Claude Desktop config files in a single command, run:
npx -y github:RawKnuck/microsoft-edge-mcp --installLocal Installation & Registration (Cloned)
If you have cloned the repository locally, you can build the project and auto-register it with both Antigravity and Claude Desktop by running:
npm run configureAlternatively, to manually build and test:
Install dependencies:
npm installCompile TypeScript:
npm run buildRun Automated Self-Checks:
node build/self-check.js
Agent Setup & Compatibility
This MCP server is built using standard Model Context Protocol stdio transport, ensuring compatibility with all major agentic platforms.
1. Antigravity (Google DeepMind Agentic IDE)
Automatic Configuration: Run the one-line install command above. It automatically registers the server in
~/.gemini/config/mcp_config.json.Manual Configuration: Open your
~/.gemini/config/mcp_config.json(or select "Manage MCP Servers" -> "View raw config" in the agent panel) and add:{ "servers": { "microsoft-edge-mcp": { "command": "npx", "args": ["-y", "github:RawKnuck/microsoft-edge-mcp"] } } }
2. Claude Desktop
Automatic Configuration: Run the one-line install command above. It automatically registers the server in your
claude_desktop_config.json.Manual Configuration: Add the following to your
claude_desktop_config.json:{ "mcpServers": { "microsoft-edge-mcp": { "command": "npx", "args": ["-y", "github:RawKnuck/microsoft-edge-mcp"] } } }
3. Cursor
Go to Settings > Features > MCP.
Click + Add New MCP Server.
Fill in the following fields:
Name:
microsoft-edge-mcpType:
commandCommand:
npx -y github:RawKnuck/microsoft-edge-mcp
Click Save.
4. Windsurf
Go to Settings > Advanced > MCP.
Click Add Server.
Fill in the following fields:
Name:
microsoft-edge-mcpType:
commandCommand:
npx -y github:RawKnuck/microsoft-edge-mcp
Click Save.
5. Cline / Roo Code (VS Code Extensions)
Open your extension settings file (e.g., cline_mcp_settings.json or roo_code_mcp_settings.json) and append:
{
"mcpServers": {
"microsoft-edge-mcp": {
"command": "npx",
"args": ["-y", "github:RawKnuck/microsoft-edge-mcp"]
}
}
}6. Aider
Create or update your .aider.conf.yml file to include:
mcp-servers:
microsoft-edge-mcp:
command: npx
args: ["-y", "github:RawKnuck/microsoft-edge-mcp"]7. Claude Code (CLI Agent)
Run the following command in your terminal to register the server:
/plugin add github:RawKnuck/microsoft-edge-mcpThis server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA Model Context Protocol server implementation that enables browser automation through standardized MCP clients, supporting features like navigation, element interaction, and screenshots across Chrome, Firefox, and Edge browsers.Last updated1,065MIT
- AlicenseBqualityCmaintenanceπ Active Fork of executeautomation/mcp-playwright This repository is an actively maintained continuation of the original MCP Playwright server: >π https://github.com/executeautomation/mcp-playwright A Model Context Protocol server that provides browser automation capabilities using Playwright.Last updated3222,3831MIT
- AlicenseBqualityCmaintenanceAn MCP server based on Puppeteer and Chrome DevTools Protocol for advanced browser debugging, performance analysis, and memory detection. It enables users to inspect DOM elements, monitor console errors, capture screenshots, and perform heap snapshot analysis through persistent browser connections.Last updated10411MIT
- AlicenseBqualityDmaintenanceA universal browser automation MCP server using Playwright, enabling programmatic control of Chrome with 63 tools for navigation, interaction, media control, and CDP-based diagnostics.Last updated63251MIT
Related MCP Connectors
MCP server for understanding Javascript internals from ECMAScript specification.
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automatiβ¦
Managed LinkedIn MCP server for AI agents: search, connect, message and enrich on accounts you own.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/RawKnuck/microsoft-edge-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server