Skip to content
VS Code

NetLogo MCP for VS Code

io.github.razee4315/netlogo-mcp

Create, run, and analyze NetLogo agent-based models through natural conversation

client:VS Code transport:stdio runtime:pypi

Install NetLogo MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "netlogo-home",
      "description": "NETLOGO_HOME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "java-home",
      "description": "JAVA_HOME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "netlogo-gui",
      "description": "NETLOGO_GUI",
      "password": true
    }
  ],
  "servers": {
    "netlogo-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "netlogo-mcp"
      ],
      "env": {
        "NETLOGO_HOME": "${input:netlogo-home}",
        "JAVA_HOME": "${input:java-home}",
        "NETLOGO_GUI": "${input:netlogo-gui}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

NetLogo MCP in other clients