← Back to Plugins
MCP Server MCP

io.github.rfdez/pvpc-mcp-server

github By github 👁 1 views ▲ 0 votes

Retrieve daily PVPC electricity tariffs for 2.0 TD consumers, published by Red Eléctrica.

Homepage Verified source GitHub

Install

npx -y @rfdez/[email protected]

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@rfdez/pvpc-mcp-server",
      "version": "3.2.3",
      "runtimeHint": "npx",
      "transport": {
        "type": "stdio"
      },
      "packageArguments": [
        {
          "description": "Use stdio transport type for MCP server",
          "value": "stdio",
          "type": "named",
          "name": "--transport"
        },
        {
          "description": "ESIOS API key for authentication",
          "isRequired": true,
          "isSecret": true,
          "type": "named",
          "name": "--api-key"
        }
      ]
    },
    {
      "registryType": "npm",
      "registryBaseUrl": "https://registry.npmjs.org",
      "identifier": "@rfdez/pvpc-mcp-server",
      "version": "3.2.3",
      "runtimeHint": "npx",
      "transport": {
        "type": "streamable-http",
        "url": "http://127.0.0.1:8080/mcp",
        "headers": [
          {
            "description": "ESIOS API key for authentication",
            "isRequired": true,
            "isSecret": true,
            "name": "X-API-Key"
          }
        ]
      },
      "packageArguments": [
        {
          "description": "Use HTTP transport type for MCP server",
          "value": "http",
          "type": "named",
          "name": "--transport"
        },
        {
          "description": "Port for HTTP transport",
          "default": "8080",
          "type": "named",
          "name": "--port"
        }
      ]
    }
  ]
}
mcp model-context-protocol npm

Comments

Sign in to leave a comment

Loading comments...