Skip to content
VS Code

MaStR MCP Server for VS Code

io.github.ulircs/mastr-mcp-server

MCP server for the German Marktstammdatenregister (MaStR) energy market register

client:VS Code transport:stdio runtime:pypi

Install MaStR MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "mastr-user",
      "description": "MASTR_USER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mastr-token",
      "description": "MASTR_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "mastr-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mastr-mcp-server"
      ],
      "env": {
        "MASTR_USER": "${input:mastr-user}",
        "MASTR_TOKEN": "${input:mastr-token}"
      }
    }
  }
}

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

MaStR MCP Server in other clients