README.md (2345B)
1 2 Give your agent a persistent browser that you can access too. 3 4 ## Setup Guide 5 6 <a href="https://cloud.digitalocean.com/apps/new?repo=https://github.com/unitehenry/amish/tree/main"> 7 <img src="https://www.deploytodo.com/do-btn-blue.svg" alt="Deploy to DO"> 8 </a> 9 10 The one-click deploy will work out of the box - but here are some recommended ways to secure your deployment: 11 12 - [Guacamole Credentials](#guacamole-credentials) 13 - [Configure GitHub OAuth App](#configure-github-oauth-app) 14 15 ### Guacamole Credentials 16 17 Update the following `guacamole` environment variables: 18 19 - `USERNAME` 20 - `PASSWORD` 21 22 These will be used to remotely control your browser. 23 24 ### Configure GitHub OAuth App 25 26 Use GitHub OAuth to protect your MCP server. Navigate to your [developer settings](https://github.com/settings/developers) to create a GitHub OAuth App with the following settings: 27 28 - Homepage URL: `https://amish.you-app.com` (replace host with your deployment live URL) 29 - Callback URL: `https://amish.you-app.com/auth/callback` (replace host with your deployment URL) 30 31 Update the following `agent-browser-mcp` environment variables: 32 33 - `GITHUB_CLIENT_ID` - The client ID of your GitHub OAuth App. 34 - `GITHUB_CLIENT_SECRET` - The client secret of your GitHub OAuth App. 35 - `GITHUB_USERNAME` - This is the GitHub username to allow authentication to your MCP server. 36 - `BASE_URL` - `https://amish.you-app.com` (replace host with your deployment live URL) 37 38 ## Usage 39 40 ### Access your browser via browser 41 42 ``` 43 https://amish.your-app.com/guacamole 44 45 Default Credentials 46 Username: admin 47 Password: password 48 ``` 49 50 ### Use your browser via MCP 51 52 > [!NOTE] 53 > Update the `MCP_TRANSPORT` environment variable under `agent-browser-mcp` settings if you wish to use another [transport method](https://gofastmcp.com/servers/context#transport). 54 55 ``` 56 https://amish.your-app.com/sse 57 ``` 58 59 ## Architecture 60 61 ```mermaid 62 flowchart TD 63 client 64 guacamole 65 guacd 66 agent-browser-mcp 67 xpod-chromium 68 69 client-- /guacamole -->guacamole 70 client-- /sse -->agent-browser-mcp 71 72 guacamole-->guacd 73 guacd-- VNC -->xpod-chromium 74 75 agent-browser-mcp-- CDP -->xpod-chromium 76 ``` 77 78 ## Supporting Projects 79 80 - [Apache Guacamole](https://guacamole.apache.org) 81 - [xpod](https://github.com/unitehenry/xpod) 82 - [agent-browser-mcp](https://github.com/unitehenry/agent-browser-mcp/)