Skip to content
VS Code

oura mcp for VS Code

io.github.proscar87/oura-mcp

The Oura v2 API as an MCP server. Paginates, fixes the date range, warns when data is missing.

client:VS Code transport:stdio runtime:pypi

Install oura mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "oura-sandbox",
      "description": "OURA_SANDBOX",
      "password": true
    },
    {
      "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-credentials",
      "description": "OURA_CREDENTIALS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oura-pat",
      "description": "OURA_PAT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oura-pat-file",
      "description": "OURA_PAT_FILE",
      "password": true
    }
  ],
  "servers": {
    "oura-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-oura"
      ],
      "env": {
        "OURA_SANDBOX": "${input:oura-sandbox}",
        "OURA_CLIENT_ID": "${input:oura-client-id}",
        "OURA_CLIENT_SECRET": "${input:oura-client-secret}",
        "OURA_CREDENTIALS": "${input:oura-credentials}",
        "OURA_PAT": "${input:oura-pat}",
        "OURA_PAT_FILE": "${input:oura-pat-file}"
      }
    }
  }
}

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

oura mcp in other clients