feat: add Microsoft Edge AppleScript example for macOS#88
Open
ntindle wants to merge 2 commits intomodelcontextprotocol:mainfrom
Open
feat: add Microsoft Edge AppleScript example for macOS#88ntindle wants to merge 2 commits intomodelcontextprotocol:mainfrom
ntindle wants to merge 2 commits intomodelcontextprotocol:mainfrom
Conversation
Add a new Desktop Extension example that provides MCP tools for controlling Microsoft Edge browser on macOS through AppleScript API. Features: - Open URLs in new or current tabs - Get current tab information - List all open tabs - Close, switch, and reload tabs - Navigate browser history (back/forward) - Execute JavaScript in tabs with result capture - Retrieve page text content This extension demonstrates cross-browser MCP capabilities, extending the existing Chrome example to support Microsoft Edge. All functions have been tested and work correctly on macOS with Edge. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Update the examples documentation to include the new Microsoft Edge AppleScript example in the table of available examples. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
What's New
New example extension in
examples/edge-applescript/that provides MCP tools for Microsoft Edge automation through AppleScript.Features
Implementation Details
Testing
All 10 tools have been thoroughly tested:
✅ get_current_tab
✅ list_tabs
✅ open_url
✅ reload_tab
✅ go_back / go_forward
✅ close_tab
✅ get_page_content
✅ switch_to_tab (fixed tab indexing issue)
✅ execute_javascript (fixed result capture)
Notes
🤖 Generated with Claude Code