Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ But, the MCP servers themselves are not robust secure production ready servers a
| Example | Type | Demonstrates |
| --------------------- | ------- | ---------------------------------------- |
| `hello-world-node` | Node.js | Basic MCP server with simple time tool |
| `chrome-applescript` | Node.js | Browser automation via AppleScript |
| `chrome-applescript` | Node.js | Chrome browser automation via AppleScript |
| `edge-applescript` | Node.js | Edge browser automation via AppleScript |
| `file-manager-python` | Python | File system operations and path handling |

## Usage
Expand Down
70 changes: 70 additions & 0 deletions examples/edge-applescript/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"$schema": "../../dist/dxt-manifest.schema.json",
"dxt_version": "0.1",
"name": "edge-applescript",
"display_name": "Control Edge with AppleScript",
"version": "0.1.0",
"description": "Control Microsoft Edge browser tabs, windows, and navigation",
"long_description": "This extension allows you to control Microsoft Edge browser tabs, windows, and navigation through Edge's AppleScript API on macOS. You can open URLs, manage tabs, execute JavaScript, and retrieve page content.\n\nThis extension is meant to be a demonstration of Desktop Extensions.\n\nThis extension is not affiliated with Microsoft or Edge.",
"author": {
"name": "Anthropic",
"email": "support@anthropic.com",
"url": "https://github.com/anthropics"
},
"server": {
"type": "node",
"entry_point": "server/index.js",
"mcp_config": {
"command": "node",
"args": ["${__dirname}/server/index.js"],
"env": {}
}
},
"tools": [
{
"name": "open_url",
"description": "Open a URL in Edge, either in a new tab or current tab."
},
{
"name": "get_current_tab",
"description": "Get information about the current active tab."
},
{
"name": "list_tabs",
"description": "List all open tabs in Edge."
},
{
"name": "close_tab",
"description": "Close a specific tab."
},
{
"name": "switch_to_tab",
"description": "Switch to a specific tab."
},
{
"name": "reload_tab",
"description": "Reload a tab."
},
{
"name": "go_back",
"description": "Navigate back in browser history."
},
{
"name": "go_forward",
"description": "Navigate forward in browser history."
},
{
"name": "execute_javascript",
"description": "Execute JavaScript in the current tab."
},
{
"name": "get_page_content",
"description": "Get the text content of the current page."
}
],
"compatibility": {
"platforms": ["darwin"]
},
"keywords": ["edge", "browser", "remote", "microsoft"],
"license": "MIT"
}
15 changes: 15 additions & 0 deletions examples/edge-applescript/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"name": "edge-applescript",
"version": "0.1.0",
"description": "Control Microsoft Edge browser tabs, windows, and navigation",
"type": "module",
"main": "server/index.js",
"scripts": {
"start": "node server/index.js"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^0.7.0"
},
"author": "Anthropic",
"license": "MIT"
}
Loading