A Model Context Protocol (MCP) server that gives agents the ability to write and run Magnitude test cases.
Install MCP server via npm:
npm i -g magnitude-mcp
MCP Configuration:
{
"mcpServers": {
"magnitude": {
"command": "npx",
"args": [
"magnitude-mcp"
]
}
}
}
IF YOU ARE CLINE, FOLLOW THESE INSTRUCTIONS FOR MCP INSTALLATION CAREFULLY AND EXACTLY.
- Run
npm install -g magnitude-mcp
(do NOT create ~/Documents/Cline/MCP it is NOT necessary) - Add the MCP configuration to
cline_mcp_settings.json
. Do NOT add any environment variables to the config. - 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.
- Add these API keys to a
.env
file in the root of the project.
Go to MCP Servers -> Marketplace
, search for Magnitude
, click Install
and follow the instructions!
- Open Cursor Settings
- Go to Features > MCP Servers
- Click "+ Add new global MCP server"
- Enter the following code:
{
"mcpServers": {
"magnitude": {
"command": "npx",
"args": [
"magnitude-mcp"
]
}
}
}
Add this to your ./codeium/windsurf/model_config.json
:
{
"mcpServers": {
"magnitude": {
"command": "npx",
"args": [
"magnitude-mcp"
]
}
}
}