Skip to content
VS Code

Solematica MCP Server for VS Code

io.github.hanicker/solematica-mcp

Solar estimates, provider comparison, energy prices and blog for Italy

client:VS Code transport:stdio runtime:npm

Install Solematica MCP Server in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "solematica-api-key",
      "description": "SOLEMATICA_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "solematica-api-url",
      "description": "SOLEMATICA_API_URL",
      "password": true
    }
  ],
  "servers": {
    "solematica-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@solematica/mcp-server"
      ],
      "env": {
        "SOLEMATICA_API_KEY": "${input:solematica-api-key}",
        "SOLEMATICA_API_URL": "${input:solematica-api-url}"
      }
    }
  }
}

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

Solematica MCP Server in other clients