You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Model Context Protocol (MCP) server that gives agents the ability to interact with the browser using the [Magnitude](https://github.com/sagekit/magnitude) framework.
3
+
A Model Context Protocol (MCP) server that gives agents the ability to interact with a browser using the [Magnitude](https://github.com/sagekit/magnitude) framework.
4
4
5
5
## Requirements
6
-
The agent using this MCP must be **visually grounded**. Generally this means Claude (Sonnet 3.7/4, Opus 4) or Qwen VL series. See [docs](https://docs.magnitude.run/core-concepts/compatible-llms) for more info.
6
+
Since Magnitude relies on vision-based browser interaction, the agent using this MCP must be **visually grounded**. Generally this means Claude (Sonnet 3.7/4, Opus 4) or Qwen VL series. See [docs](https://docs.magnitude.run/core-concepts/compatible-llms) for more info.
7
7
8
-
If the agent model is not Claude Sonnet 4, Sonnet 3.7, Opus 4, Qwen 2.5 VL, or Qwen 3 VL, it will probably not work with this MCP - because the vast majority of models cannot click accurately based on an image alone.
8
+
## Capabilities
9
+
10
+
Magnitude MCP enables the same browser actions as the Magnitude agent but for any MCP-compatible agent instead:
11
+
- 🖥️ Open a browser with a persistent profile
12
+
- 🖱️ Click, type, drag, etc. using pixel-based coordinates
13
+
- 👁️ Automatically see screenshot after each interaction
-`MAGNITUDE_MCP_PROFILE_DIR`: Stores cookies and local storage so that credentials can be re-used across agents using the MCP (default: `~/.magnitude/profiles/default`)
49
-
-`MAGNITUDE_MCP_STEALTH`: Add extra stealth settings to help with anti-bot detection (default: disabled)
Go to `MCP Servers -> Marketplace`, search for `Magnitude`, click `Install`
61
43
62
-
## Cursor Installation
44
+
## Cursor Setup
63
45
64
46
1. Open Cursor Settings
65
47
2. Go to Features > MCP Servers
@@ -78,7 +60,7 @@ Go to `MCP Servers -> Marketplace`, search for `Magnitude`, click `Install`
78
60
}
79
61
```
80
62
81
-
## Windsurf Installation
63
+
## Windsurf Setup
82
64
Add this to your `./codeium/windsurf/model_config.json`:
83
65
```json
84
66
{
@@ -91,4 +73,47 @@ Add this to your `./codeium/windsurf/model_config.json`:
91
73
}
92
74
}
93
75
}
94
-
```
76
+
```
77
+
78
+
79
+
## Configuration Options
80
+
81
+
The MCP can optionally be configured with a different persistent profile directory (for example if you want different projects to use their own browser cookies and local storage), to use stealth mode, or to change the default viewport dimensions.
-`MAGNITUDE_MCP_PROFILE_DIR`: Stores cookies and local storage so that credentials can be re-used across agents using the MCP (default: `~/.magnitude/profiles/default`)
102
+
-`MAGNITUDE_MCP_STEALTH`: Add extra stealth settings to help with anti-bot detection (default: disabled)
- Enable coding agents to see and interact with web apps as they build
110
+
- Interact with sites that don't have APIs
111
+
- Browse documentation that isn't accessible with fetch
112
+
- Improvised testing
113
+
- Or whatever else you find use for!
114
+
115
+
It's even suitable for non-engineering tasks if you just want an easily accessible browser agent.
116
+
117
+
## Troubleshooting
118
+
119
+
If the agent model is not Claude Sonnet 4, Sonnet 3.7, Opus 4, Qwen 2.5 VL, or Qwen 3 VL, it will probably not work with this MCP - because the vast majority of models cannot click accurately based on an image alone.
0 commit comments