Skip to content
Cursor

mcp server for Cursor

io.github.oilpriceapi/mcp-server

Source-timestamped energy data and reviewed OilPriceAPI product facts for MCP clients.

client:Cursor transport:stdio runtime:npm

Install mcp server in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "oilpriceapi-mcp"
      ],
      "env": {
        "OILPRICEAPI_KEY": "<OILPRICEAPI_KEY>",
        "OILPRICEAPI_MCP_SCOPE": "<OILPRICEAPI_MCP_SCOPE>",
        "OILPRICEAPI_MCP_PROFILE": "<OILPRICEAPI_MCP_PROFILE>",
        "OILPRICEAPI_MCP_CATEGORIES": "<OILPRICEAPI_MCP_CATEGORIES>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

mcp server in other clients