MinerYield
v1.0.2ASIC solar/battery profit.
Values you need
| Variable | What it is | |
|---|---|---|
MINERYIELD_API_KEY | required secret | Bearer API key created at https://mineryield.com/api while signed in. |
MINERYIELD_API_BASE_URL | optional | Optional API origin. Defaults to https://mineryield.com. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add mineryield-mcp -e 'MINERYIELD_API_KEY=<MINERYIELD_API_KEY>' -- npx -y mineryield-mcp@1.0.2Add to
claude_desktop_config.json{
"mcpServers": {
"mineryield-mcp": {
"args": [
"-y",
"mineryield-mcp@1.0.2"
],
"command": "npx",
"env": {
"MINERYIELD_API_KEY": "<MINERYIELD_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mineryield-mcp": {
"args": [
"-y",
"mineryield-mcp@1.0.2"
],
"command": "npx",
"env": {
"MINERYIELD_API_KEY": "<MINERYIELD_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "MINERYIELD_API_KEY",
"id": "mineryield-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"mineryield-mcp": {
"args": [
"-y",
"mineryield-mcp@1.0.2"
],
"command": "npx",
"env": {
"MINERYIELD_API_KEY": "${input:mineryield-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mineryield-mcp]
command = "npx"
args = ["-y", "mineryield-mcp@1.0.2"]
env = { "MINERYIELD_API_KEY" = "<MINERYIELD_API_KEY>" }Remote (hosted)
Run in a terminal
claude mcp add --transport http mineryield-mcp https://mineryield.com/mcp --header 'Authorization: <Authorization>'Add to
Settings → Connectors → Add custom connector (or claude_desktop_config.json via mcp-remote){
"mcpServers": {
"mineryield-mcp": {
"args": [
"-y",
"mcp-remote",
"https://mineryield.com/mcp",
"--header",
"Authorization: <Authorization>"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"mineryield-mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"url": "https://mineryield.com/mcp"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"mineryield-mcp": {
"headers": {
"Authorization": "<Authorization>"
},
"type": "http",
"url": "https://mineryield.com/mcp"
}
}
}Add to
~/.codex/config.toml[mcp_servers.mineryield-mcp]
command = "npx"
args = ["-y", "mcp-remote", "https://mineryield.com/mcp", "--header", "Authorization: <Authorization>"]For AI agents
- Ask the user for: MINERYIELD_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: list_miners, get_rigs, calculate_profitability, get_market, get_solar_forecast, get_difficulty_prediction, list_catalog_miners, list_mrr_rates, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json