mcp-server-ascom

mcp-server-ascom

Control telescopes, cameras, and focusers with AI through natural language, using any ASCOM Alpaca device.

Category
Visit Server

README

MCP Server for ASCOM

MCP Python PyPI Tests License

Control telescopes with AI. Works with any ASCOM device.

Documentation

v0.3.0 Updates

  • FastMCP 2.0 - Half the code
  • JSON logging - OpenTelemetry ready
  • Better errors - Protocol compliance built-in

Features

  • Works with any ASCOM telescope, camera, or focuser
  • Natural language control: "Point at the Orion Nebula"
  • Auto-discovers devices on your network
  • Async architecture - never blocks
  • Full test coverage and type safety

Installation

# Quick start
pip install mcp-server-ascom

# Or use uvx (no install)
uvx mcp-server-ascom

🚀 v0.4.0: Instant Connections!

No more waiting! Connect directly without discovery:

# Direct connection - no setup required!
telescope_connect device_id="seestar@192.168.1.100:5555"

Claude Desktop Setup

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "ascom": {
      "command": "uvx",
      "args": ["mcp-server-ascom"],
      "env": {
        "ASCOM_DIRECT_DEVICES": "telescope_1:localhost:5555:Seestar S50"
      }
    }
  }
}

Restart Claude Desktop to activate.

Usage

Quick Connect (No Configuration)

You: Connect to seestar@192.168.1.100:5555
AI: Connected to Seestar S50!

You: Point at the Orion Nebula  
AI: Slewing to M42... Done.

With Pre-Configured Devices

You: Connect to telescope_1
AI: Connected to Seestar S50!

Supported Equipment

Any ASCOM Alpaca device: telescopes, cameras, focusers, filter wheels, domes.

Available Tools

  • discover_ascom_devices - Find devices on network
  • telescope_connect / camera_connect - Connect to device
  • telescope_goto / telescope_goto_object - Point telescope
  • telescope_park - Park at home position
  • camera_capture - Take images

Event Streaming 🆕

Real-time event streaming from ASCOM devices (especially Seestar S50):

  • Event History: get_event_history - Retrieve past events with filtering
  • Event Types: get_event_types - List available event types
  • Event Stream: ascom://events/{device_id}/stream - Live event feed
  • Clear History: clear_event_history - Clear event buffer

Supported event types:

  • PiStatus - System status (battery, temperature)
  • GotoComplete - Movement completed
  • BalanceSensor - Device orientation
  • ViewChanged - View state changes
  • And more...

Development

git clone https://github.com/stellarpunk/mcp-server-ascom.git
cd mcp-server-ascom
uv venv && source .venv/bin/activate
uv pip install -e ".[dev]"

# Development with hot-reload
invoke dev --hot  # Auto-restarts on code changes

# Run tests
pytest

Hot-reload uses watchmedo to monitor Python files and restart automatically. See Development Guide for details.

Security

Local connections only by default. For remote access, enable OAuth in .env.

Troubleshooting

No devices found?

  • Check device is powered on and on same network
  • Allow UDP port 32227 through firewall
  • Test with: curl http://device-ip:11111/api/v1/description

Import errors? The alpyca package imports as alpaca.

See troubleshooting.md for more.

Documentation

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured