Skip to content
VS Code

survey mcp server for VS Code

io.github.cyanheads/survey-mcp-server

MCP server for conducting dynamic, conversational surveys with structured data collection.

client:VS Code transport:stdio runtime:npm

Install survey mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mcp-log-level",
      "description": "MCP_LOG_LEVEL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "survey-definitions-path",
      "description": "SURVEY_DEFINITIONS_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "survey-responses-path",
      "description": "SURVEY_RESPONSES_PATH",
      "password": true
    }
  ],
  "servers": {
    "survey-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@cyanheads/survey-mcp-server"
      ],
      "env": {
        "MCP_LOG_LEVEL": "${input:mcp-log-level}",
        "SURVEY_DEFINITIONS_PATH": "${input:survey-definitions-path}",
        "SURVEY_RESPONSES_PATH": "${input:survey-responses-path}"
      }
    }
  }
}

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

survey mcp server in other clients