Skip to content
VS Code

mcp server for VS Code

io.github.ui5/mcp-server

MCP server for SAPUI5/OpenUI5 development

client:VS Code transport:stdio runtime:npm

Install mcp server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "ui5-mcp-server-allowed-domains",
      "description": "UI5_MCP_SERVER_ALLOWED_DOMAINS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ui5-mcp-server-response-no-structured-content",
      "description": "UI5_MCP_SERVER_RESPONSE_NO_STRUCTURED_CONTENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ui5-mcp-server-response-no-resources",
      "description": "UI5_MCP_SERVER_RESPONSE_NO_RESOURCES",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ui5-log-lvl",
      "description": "UI5_LOG_LVL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "ui5-data-dir",
      "description": "UI5_DATA_DIR",
      "password": true
    }
  ],
  "servers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ui5/mcp-server"
      ],
      "env": {
        "UI5_MCP_SERVER_ALLOWED_DOMAINS": "${input:ui5-mcp-server-allowed-domains}",
        "UI5_MCP_SERVER_RESPONSE_NO_STRUCTURED_CONTENT": "${input:ui5-mcp-server-response-no-structured-content}",
        "UI5_MCP_SERVER_RESPONSE_NO_RESOURCES": "${input:ui5-mcp-server-response-no-resources}",
        "UI5_LOG_LVL": "${input:ui5-log-lvl}",
        "UI5_DATA_DIR": "${input:ui5-data-dir}"
      }
    }
  }
}

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 in other clients