OpenSolar MCP
v0.1.3Unofficial, self-hosted MCP server for the documented OpenSolar API.
Values you need
| Variable | What it is | |
|---|---|---|
OPENSOLAR_API_TOKEN | required secret | OpenSolar bearer token |
OPENSOLAR_ORG_ID | required | OpenSolar organisation ID |
OPENSOLAR_PROFILE | optional | Tool profile: agent (curated default) or full (every registered tool) Default: agent |
OPENSOLAR_READ_ONLY | optional | Hide every tool that can change OpenSolar data Default: false |
OPENSOLAR_PLAN | optional | OpenSolar access plan; api_access hides tools that need Raw Data API Access |
OPENSOLAR_TOOLSETS | optional | Comma-separated toolsets that replace the profile's tool selection |
OPENSOLAR_UPLOAD_ROOT | optional | Directory that create_private_file may read from; uploads stay disabled when unset |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add opensolar-mcp -e 'OPENSOLAR_API_TOKEN=<OPENSOLAR_API_TOKEN>' -e 'OPENSOLAR_ORG_ID=<OPENSOLAR_ORG_ID>' -- npx -y @alignco/opensolar-mcp@0.1.3Add to
claude_desktop_config.json{
"mcpServers": {
"opensolar-mcp": {
"args": [
"-y",
"@alignco/opensolar-mcp@0.1.3"
],
"command": "npx",
"env": {
"OPENSOLAR_API_TOKEN": "<OPENSOLAR_API_TOKEN>",
"OPENSOLAR_ORG_ID": "<OPENSOLAR_ORG_ID>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"opensolar-mcp": {
"args": [
"-y",
"@alignco/opensolar-mcp@0.1.3"
],
"command": "npx",
"env": {
"OPENSOLAR_API_TOKEN": "<OPENSOLAR_API_TOKEN>",
"OPENSOLAR_ORG_ID": "<OPENSOLAR_ORG_ID>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "OPENSOLAR_API_TOKEN",
"id": "opensolar-api-token",
"password": true,
"type": "promptString"
},
{
"description": "OPENSOLAR_ORG_ID",
"id": "opensolar-org-id",
"password": true,
"type": "promptString"
}
],
"servers": {
"opensolar-mcp": {
"args": [
"-y",
"@alignco/opensolar-mcp@0.1.3"
],
"command": "npx",
"env": {
"OPENSOLAR_API_TOKEN": "${input:opensolar-api-token}",
"OPENSOLAR_ORG_ID": "${input:opensolar-org-id}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.opensolar-mcp]
command = "npx"
args = ["-y", "@alignco/opensolar-mcp@0.1.3"]
env = { "OPENSOLAR_API_TOKEN" = "<OPENSOLAR_API_TOKEN>", "OPENSOLAR_ORG_ID" = "<OPENSOLAR_ORG_ID>" }For AI agents
- Ask the user for: OPENSOLAR_API_TOKEN, OPENSOLAR_ORG_ID. 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_projects, search_projects, get_project, get_project_snapshot, create_project, update_project, update_project_stage, update_project_usage, ….
- 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