Skip to content
VS Code

MCP FactorialHR for VS Code

io.github.t4dhg/mcp-factorial

Full CRUD MCP server for FactorialHR: employees, teams, time off, projects, ATS, payroll.

client:VS Code transport:stdio runtime:npm

Install MCP FactorialHR in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "factorial-api-key",
      "description": "FACTORIAL_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "factorial-api-version",
      "description": "FACTORIAL_API_VERSION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "factorial-timeout-ms",
      "description": "FACTORIAL_TIMEOUT_MS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "factorial-max-retries",
      "description": "FACTORIAL_MAX_RETRIES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "debug",
      "description": "DEBUG",
      "password": true
    }
  ],
  "servers": {
    "mcp-factorial": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@t4dhg/mcp-factorial"
      ],
      "env": {
        "FACTORIAL_API_KEY": "${input:factorial-api-key}",
        "FACTORIAL_API_VERSION": "${input:factorial-api-version}",
        "FACTORIAL_TIMEOUT_MS": "${input:factorial-timeout-ms}",
        "FACTORIAL_MAX_RETRIES": "${input:factorial-max-retries}",
        "DEBUG": "${input:debug}"
      }
    }
  }
}

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

MCP FactorialHR in other clients