switchai
mcpopen · packageio.github.US1929/switchai · v1.0.2
Compare Italian energy tariffs with AI. Analyzes bills, finds best offers, live market indices.
run it
on your own machines, one way per deploy methodgenerated from the record, not tested yet
A package that serves HTTP itself; the port comes from its URL template.
#!/usr/bin/env bash # switchai (io.github.US1929/switchai), recipe baremetal (generated). # Generated by Hub for toolset "my-agent"; started by mcp-my-agent-switchai.service. set -euo pipefail export HOST=127.0.0.1 PORT=8101 exec npx -y @us1929/[email protected] [Unit] Description=MCP server switchai (toolset my-agent), generated by Hub After=network-online.target Wants=network-online.target [Service] Type=simple User=mcp Group=mcp EnvironmentFile=/etc/mcp/my-agent.env Environment=HOME=/var/lib/mcp/switchai WorkingDirectory=/var/lib/mcp/switchai ExecStart=/opt/mcp/my-agent/bin/switchai.sh Restart=on-failure RestartSec=5 NoNewPrivileges=true ProtectSystem=strict ProtectHome=true PrivateTmp=true ReadWritePaths=/var/lib/mcp/switchai [Install] WantedBy=multi-user.target
connect to it
copy what your client needs{
"mcpServers": {
"switchai": {
"command": "CHANGE_ME",
"args": []
}
}
}
#!/usr/bin/env bash # Registers every server with Claude Code (run once; `claude mcp list` to check). set -euo pipefail set -a; [ -f .env ] && source .env; set +a claude mcp add switchai -- CHANGE_ME
{
"mcpServers": {
"switchai": {
"command": "CHANGE_ME",
"args": []
}
}
}
{
"servers": {
"switchai": {
"type": "stdio",
"command": "CHANGE_ME",
"args": []
}
}
}
name: my-agent target: local servers: - hub: io.github.US1929/switchai
- not probed yet: tools unpinned, ingest lists them
- a package that serves HTTP itself: pick a self-hosted target, not 'local'
tools
Probe result: faileddocker: the container exited: mit_subscription, get_subscription_status, get_subscription_form_schema, get_market_indices npm notice npm notice New major version of npm available! 10.9.9 -> 12.2.0 npm notice Changelog: https://<host>/npm/cli/releases/tag/v12.2.0 npm notice To update run: npm install -g [email protected] npm notice; baremetal: the container exited: mit_subscription, get_subscription_status, get_subscription_form_schema, get_market_indices npm notice npm notice New major version of npm …
runs · 1
the latest tests of this entry by the hub and its workers, newest first| date | worker | method | status | sandbox | reason |
|---|---|---|---|---|---|
| 2026-10-17 15:45 | local-mac-vm | docker | failed | gvisor | docker: the container exited: mit_subscription, get_subscription_status, get_subscription_form_schema, get_market_indices npm notice npm notice New major versio… |