Skip to content
VS Code

fleet mcp for VS Code

io.github.simplyminimal/fleet-mcp

An MCP server that provides tools for managing and monitoring your Fleet Device Management instance.

client:VS Code transport:stdio runtime:pypi

Install fleet mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "fleet-server-url",
      "description": "FLEET_SERVER_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fleet-api-token",
      "description": "FLEET_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fleet-readonly",
      "description": "FLEET_READONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fleet-allow-select-queries",
      "description": "FLEET_ALLOW_SELECT_QUERIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "fleet-verify-ssl",
      "description": "FLEET_VERIFY_SSL",
      "password": true
    }
  ],
  "servers": {
    "fleet-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "fleet-mcp"
      ],
      "env": {
        "FLEET_SERVER_URL": "${input:fleet-server-url}",
        "FLEET_API_TOKEN": "${input:fleet-api-token}",
        "FLEET_READONLY": "${input:fleet-readonly}",
        "FLEET_ALLOW_SELECT_QUERIES": "${input:fleet-allow-select-queries}",
        "FLEET_VERIFY_SSL": "${input:fleet-verify-ssl}"
      }
    }
  }
}

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

fleet mcp in other clients