Skip to content
VS Code

ouramcp for VS Code

io.github.davidmosiah/ouramcp

Privacy-first, unofficial Oura MCP server for AI health, sleep, activity and heart-rate agents.

client:VS Code transport:stdio runtime:npm

Install ouramcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "oura-client-id",
      "description": "OURA_CLIENT_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oura-client-secret",
      "description": "OURA_CLIENT_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oura-redirect-uri",
      "description": "OURA_REDIRECT_URI",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oura-token-path",
      "description": "OURA_TOKEN_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oura-privacy-mode",
      "description": "OURA_PRIVACY_MODE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oura-cache",
      "description": "OURA_CACHE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oura-cache-path",
      "description": "OURA_CACHE_PATH",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oura-no-cache",
      "description": "OURA_NO_CACHE",
      "password": true
    }
  ],
  "servers": {
    "ouramcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "oura-mcp-unofficial"
      ],
      "env": {
        "OURA_CLIENT_ID": "${input:oura-client-id}",
        "OURA_CLIENT_SECRET": "${input:oura-client-secret}",
        "OURA_REDIRECT_URI": "${input:oura-redirect-uri}",
        "OURA_TOKEN_PATH": "${input:oura-token-path}",
        "OURA_PRIVACY_MODE": "${input:oura-privacy-mode}",
        "OURA_CACHE": "${input:oura-cache}",
        "OURA_CACHE_PATH": "${input:oura-cache-path}",
        "OURA_NO_CACHE": "${input:oura-no-cache}"
      }
    }
  }
}

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

ouramcp in other clients