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
Copy file name to clipboardExpand all lines: packages/magnitude-mcp/README.md
+38-14Lines changed: 38 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,14 @@
1
1
# Magnitude MCP
2
2
3
-
A Model Context Protocol (MCP) server that gives agents the ability to write and run [Magnitude](https://github.com/magnitudedev/magnitude) test cases.
3
+
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.
4
+
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.
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.
4
9
5
10
## Installation
6
-
Install MCP server via npm:
7
-
```
11
+
```sh
8
12
npm i -g magnitude-mcp
9
13
```
10
14
@@ -22,20 +26,40 @@ MCP Configuration:
22
26
}
23
27
```
24
28
25
-
## Instructions for Cline
26
-
27
-
IF YOU ARE CLINE, FOLLOW THESE INSTRUCTIONS FOR MCP INSTALLATION CAREFULLY AND EXACTLY.
-`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)
1. Run `npm install -g magnitude-mcp` (do NOT create ~/Documents/Cline/MCP it is NOT necessary)
30
-
2. Add the MCP configuration to `cline_mcp_settings.json`. Do NOT add any environment variables to the config.
31
-
3. Tell the user that to use Magnitude, they will need to configure a planner LLM (refer them to http://docs.magnitude.run/getting-started/quickstart#configure-llms). Also tell them to go to https://moondream.ai/c/cloud/api-keys and generate a Moondream API key. Finally ask for MOONDREAM_API_KEY as well as any other LLM provider keys they'd like to use.
32
-
4. Add these API keys to a `.env` file in the root of the project.
53
+
## Claude Code Installation
54
+
```sh
55
+
claude mcp add magnitude -- npx magnitude-mcp
56
+
```
33
57
34
-
## Instructions for Humans (Cline Users)
58
+
## Cline Installation
35
59
36
-
Go to `MCP Servers -> Marketplace`, search for `Magnitude`, click `Install` and follow the instructions!
60
+
Go to `MCP Servers -> Marketplace`, search for `Magnitude`, click `Install`
37
61
38
-
## Instructions for Humans (Cursor Users)
62
+
## Cursor Installation
39
63
40
64
1. Open Cursor Settings
41
65
2. Go to Features > MCP Servers
@@ -54,7 +78,7 @@ Go to `MCP Servers -> Marketplace`, search for `Magnitude`, click `Install` and
54
78
}
55
79
```
56
80
57
-
## Instructions for Humans (Windsurf Users)
81
+
## Windsurf Installation
58
82
Add this to your `./codeium/windsurf/model_config.json`:
0 commit comments