Cursor
This guide describes how to configure Mobb Vibe Shield (MVS) as an MCP (Model Context Protocol) server in Cursor.
Prerequisites
Setup Instructions
In your project root, create a file at `.vscode/mcp.json` (Cursor supports this path):
```json
{
"servers": {
"mobb-mcp": {
"type": "stdio",
"command": "npx",
"args": ["--yes", "mobbdev@latest", "mcp"],
"env": {
}
}
}
}
```
For single-tenant users, add the variables `API_URL` and `WEB_APP_URL` in the `env` section. You can also specify which modes are enabled using `TOOLS_ENABLED`:
```json
{
"servers": {
"mobb-mcp": {
"type": "stdio",
"command": "npx",
"args": ["--yes", "mobbdev@latest", "mcp"],
"env": {
"API_URL": "https://api-st-<YOUR_TENANT_NAME>.mobb.ai/v1/graphql",
"WEB_APP_URL": "https://<YOUR_TENANT_NAME>.mobb.ai",
"TOOLS_ENABLED": [ "fetch_available_fixes"]
}
}
}
}
```Deploying a Rulebook for Automated Security Scanning and Fixing
Deployment Instructions:
Troubleshooting
Last updated