starlink-blade-mcp

starlink-blade-mcp

Local-first Starlink dish monitoring and control via the Model Context Protocol. Talks directly to your dish over the local gRPC interface with no cloud dependency.

Category
访问服务器

README

starlink-blade-mcp

Local-first Starlink dish monitoring and control via the Model Context Protocol.

Talks directly to your dish over the local gRPC interface (192.168.100.1:9200) — no cloud API, no enterprise credentials, no internet dependency. Built on starlink-grpc-core, the same library that powers the Home Assistant Starlink integration.

Why this MCP?

starlink-blade-mcp starlink-enterprise-mcp mcp-spacex
Interface Local gRPC (dish hardware) Enterprise cloud API Public SpaceX API
Auth required None (LAN access only) OAuth2 enterprise credentials None
Works offline Yes No No
Residential dish Yes Enterprise fleet only N/A (satellite tracking)
Dish control Reboot, stow, unstow Read-only telemetry None
Obstruction map 12-wedge directional data Aggregate only None
Alert detail 22 flags with descriptions Basic status None
Token efficiency Statistical summaries Raw JSON Raw JSON

Tools

Read (no authentication required)

Tool Description
starlink_status Dish identity, state, connectivity, throughput, SNR, orientation
starlink_alerts Active alert flags (22 types) with human-readable descriptions
starlink_obstruction Obstruction fraction, 12-wedge directional map, timing
starlink_history Throughput/latency/power as min/avg/max summary (configurable window)
starlink_location GPS coordinates (requires opt-in in Starlink app)
starlink_diagnostics Hardware version, firmware, GPS satellites, alert count

Write (gated)

Tool Description
starlink_reboot Restart the dish (2-5 min downtime)
starlink_stow Stow dish face-down for storage/transport
starlink_unstow Resume normal satellite tracking

Write operations require dual gating:

  1. STARLINK_WRITE_ENABLED=true environment variable
  2. confirm=true parameter on each call

Quick Start

# Install
uv pip install starlink-blade-mcp

# Run (dish must be reachable at 192.168.100.1)
starlink-blade-mcp

# Or with uv
uvx starlink-blade-mcp

Claude Code

{
  "mcpServers": {
    "starlink": {
      "command": "uvx",
      "args": ["starlink-blade-mcp"],
      "env": {
        "STARLINK_WRITE_ENABLED": "false"
      }
    }
  }
}

Claude Desktop

{
  "mcpServers": {
    "starlink": {
      "command": "uvx",
      "args": ["starlink-blade-mcp"],
      "env": {
        "STARLINK_DISH_ADDRESS": "192.168.100.1:9200",
        "STARLINK_WRITE_ENABLED": "false"
      }
    }
  }
}

Configuration

Variable Default Description
STARLINK_DISH_ADDRESS 192.168.100.1:9200 Dish gRPC endpoint
STARLINK_TIMEOUT 10 gRPC timeout in seconds
STARLINK_WRITE_ENABLED false Enable reboot/stow/unstow
STARLINK_MCP_TRANSPORT stdio stdio or http
STARLINK_MCP_HOST 127.0.0.1 HTTP transport bind address
STARLINK_MCP_PORT 8770 HTTP transport port

Network Requirements

The Starlink dish exposes an unauthenticated gRPC server at 192.168.100.1:9200 on the local network. Requirements:

  • Device running the MCP must be on the Starlink LAN (or have a route to 192.168.100.1)
  • No credentials or API keys needed
  • GPS location requires opt-in: Starlink app > Settings > Advanced > Debug Data
  • The dish's 192.168.100.1 address is not configurable

Starlink router (default)

Works out of the box. The dish, router, and your devices are all on the same network.

Third-party router in bypass mode (UniFi, pfSense, etc.)

In bypass mode, the Starlink router hands its CGNAT WAN IP to your router's WAN interface. The dish management interface (192.168.100.1) sits on a separate /24 subnet on the WAN side — your router won't know how to reach it without a static route.

Static route configuration (UniFi example):

UniFi Network > Settings > Routing > Static Routes:

Field Value
Destination 192.168.100.0/24
Next Hop WAN interface (Starlink-facing port)
Distance 1

Some router firmware also requires a secondary IP on the WAN interface in the 192.168.100.0/24 range (e.g. 192.168.100.2/24) for traffic to egress on that subnet. This depends on whether your firmware handles interface-scoped routes correctly — UniFi has been inconsistent here across versions.

Once the route is in place, both 192.168.100.1:9200 (gRPC) and 192.168.100.1:80 (Starlink web UI) become reachable from your LAN.

Remote / headless sites

Run the MCP server on any host that can reach 192.168.100.1 — a local machine, a container on a NAS, or any device on the Starlink-connected network.

Security Model

  • No credentials stored or transmitted — the dish gRPC endpoint is unauthenticated by design
  • LAN-only access — the gRPC interface is not exposed to the internet
  • Write operations double-gated — environment variable + per-call confirmation
  • No telemetry or phone-home — all data stays local between the MCP server and the dish
  • No cloud API dependency — works during internet outages (ideal for monitoring them)

Token Efficiency

The starlink_history tool returns statistical summaries (min/avg/max per metric) rather than raw per-second samples. A 900-second window produces ~8 lines of output vs ~5,400 lines of raw data.

History Summary (last 60 samples, 1s intervals)

metric          min      avg      max   unit
--------------------------------------------
ping_drop     0.0000   0.0021   0.0150
latency         22.1     34.5     89.2     ms
down             0.5     45.2    120.3   Mbps
up               0.1      8.4     25.1   Mbps
power           48.2     52.1     58.9      W
snr              7.8      9.2     10.1     dB

Development

git clone https://github.com/groupthink-dev/starlink-blade-mcp
cd starlink-blade-mcp

# Install with dev dependencies
make install-dev

# Run quality checks
make check

# Run tests (mocked — no dish required)
make test

# Run e2e tests (requires live dish on LAN)
make test-e2e

# Run with coverage
make test-cov

Sidereal Marketplace

This MCP is available as a certified plugin in the Sidereal Marketplace. Install directly from Settings > MCPs in the Sidereal app.

The plugin manifest provides:

  • Credential-free setup (auto-discovers dish on LAN)
  • Write operation toggle in Settings UI
  • Connection test validation
  • Custom dish address for non-standard networks

Roadmap

  • [ ] Power save / sleep schedule control (read + set via dish_power_save proto)
  • [ ] Hardware self-test results (extended diagnostics from proto)
  • [ ] Webhook triggers for alert state changes (Sidereal event dispatch)
  • [ ] Firmware update tracking and notification
  • [ ] Multi-dish support (mesh network with multiple terminals)
  • [ ] Obstruction map visualization (SVG/image generation)

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选