Skip to content
VS Code

PixInsight Connector for VS Code

io.github.mxcoppell/pixinsight-connector

Operate PixInsight from any MCP agent. Community project, not affiliated with Pleiades Astrophoto

client:VS Code transport:stdio runtime:npm

Install PixInsight Connector in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "pixinsight-bin",
      "description": "PIXINSIGHT_BIN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pixinsight-dir",
      "description": "PIXINSIGHT_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pixinsight-connector-packs",
      "description": "PIXINSIGHT_CONNECTOR_PACKS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pixinsight-connector-autostart",
      "description": "PIXINSIGHT_CONNECTOR_AUTOSTART",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pixinsight-connector-workspace",
      "description": "PIXINSIGHT_CONNECTOR_WORKSPACE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pixinsight-connector-state",
      "description": "PIXINSIGHT_CONNECTOR_STATE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "pixinsight-connector-log",
      "description": "PIXINSIGHT_CONNECTOR_LOG",
      "password": true
    }
  ],
  "servers": {
    "pixinsight-connector": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "pixinsight-connector"
      ],
      "env": {
        "PIXINSIGHT_BIN": "${input:pixinsight-bin}",
        "PIXINSIGHT_DIR": "${input:pixinsight-dir}",
        "PIXINSIGHT_CONNECTOR_PACKS": "${input:pixinsight-connector-packs}",
        "PIXINSIGHT_CONNECTOR_AUTOSTART": "${input:pixinsight-connector-autostart}",
        "PIXINSIGHT_CONNECTOR_WORKSPACE": "${input:pixinsight-connector-workspace}",
        "PIXINSIGHT_CONNECTOR_STATE": "${input:pixinsight-connector-state}",
        "PIXINSIGHT_CONNECTOR_LOG": "${input:pixinsight-connector-log}"
      }
    }
  }
}

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

PixInsight Connector in other clients