Skip to content
VS Code

MCP Server for OSCAL for VS Code

io.github.awslabs/mcp-server-for-oscal

AI agent tools for Open Security Controls Assessment Language (OSCAL)

client:VS Code transport:stdio runtime:pypi

Install MCP Server for OSCAL in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "bedrock-model-id",
      "description": "BEDROCK_MODEL_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "oscal-kb-id",
      "description": "OSCAL_KB_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-profile",
      "description": "AWS_PROFILE",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-region",
      "description": "AWS_REGION",
      "password": true
    },
    {
      "type": "promptString",
      "id": "log-level",
      "description": "LOG_LEVEL",
      "password": true
    }
  ],
  "servers": {
    "mcp-server-for-oscal": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-server-for-oscal"
      ],
      "env": {
        "BEDROCK_MODEL_ID": "${input:bedrock-model-id}",
        "OSCAL_KB_ID": "${input:oscal-kb-id}",
        "AWS_PROFILE": "${input:aws-profile}",
        "AWS_REGION": "${input:aws-region}",
        "LOG_LEVEL": "${input:log-level}"
      }
    }
  }
}

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

MCP Server for OSCAL in other clients