> For the complete documentation index, see [llms.txt](https://metabob.gitbook.io/product-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://metabob.gitbook.io/product-docs/configure/cursor.md).

# Cursor

## Install Metabob

To get started, you need to install the Metabob CLI tool. If you don't have access to it yet, please request it by contacting <axel@metabob.com>.

#### Step 1: Download the latest version of metabob-cli

Download the current Metabob CLI release for your operating system.

#### Step 2: Move metabob-cli into your system PATH

Place the file in a directory included in your PATH, or another convenient execution location.

Make sure that the file is executable.

#### Step 3: Make the CLI executable (not needed on Windows)

On Mac/Linux:

```
chmod +x metabob-cli

## change metabob-cli to whatever name it is stored with in your computer

```

On Windows: use cmd. Assuming you downloaded the file to the default folder\
%userprofile%\Downloads\x.exe

```
cd /d %userprofile%
md .local\bin
copy Downloads\x.exe %userprofile%\.local\bin\metabob-cli.exe
set PATH %userprofile%\.local\bin;%PATH%
setx PYTHONUTF8 1
set PYTHONUTF8 1
metabob-cli versione it
REM ensure that you see the expected version here
REM Settings, Environment Variables, Path, prepend %userprofile%\.local\bin
REM in cmd, please cd back to your project root folder
REM do not use setx with Path
```

#### Step 4: Create .cursor/mcp.json file

Configure a custom Cursor MCP in the .cursor/mcp.json. Set up the following configuration:

```
{
  "mcpServers": {
    "metabob": {
      "command": "/usr/local/bin/metabob-cli", <--- path must match where metabob-cli is stored
      "args": ["mcp", "--transport", "stdio"],
      "env": {
        "METABOB_CONFIG_PATH": ".metabob-config.json"
      }
    }
  }
}
```

#### Step 5: Create .metabob/config.json file

Create a .metabob folder and create a config.json file in it. Set up the following configuration:

```
{
  "base_url": "https://ide.metabob.com",
  "api_key": "YOUR-API-KEY-HERE",
  "session_path": ".metabob",
  "include_paths": ["src/**/*.py", "**/*.js", "**/*.ts", "**/*.tsx", "**/*.py"],
  "exclude_paths": ["tests/**", "node_modules/**", "*.test.*", "dist/**"],
  "job_timeout_minutes": 10
}

```

Note: remember to change "YOUR-API-KEY-HERE" to your Metabob API key

#### Step 6: Restart Cursor

Close Cursor completely (Cmd/Ctrl +Q) and reopen

#### Step 7: Enable Metabob in the Cursor settings under Installed MCP Servers:

<figure><img src="/files/dBbIXH53jM1jraVZIM3A" alt=""><figcaption></figcaption></figure>

####

#### Step 8: Try using Metabob

Try using metabob by asking the agent:&#x20;

* Open AI chat on Cursor (Cmd/Ctrl + L)
* Ask: "What Metabob tools are available?"

If this works, next tell the agent:

* "Use Metabob to search for security issues"
* "What should I work on? Use get\_priority\_issues"

If you cannot get the Metabob MCP to work on Cursor, please contact <axel@metabob.com>.
