Provides tools for accessing SpaceX API data, including retrieving the latest launch information, listing upcoming launches, and fetching company details.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SpaceX MCPwhat was the last SpaceX launch?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
SpaceX MCP
SpaceX API verilerini MCP (Model Context Protocol) üzerinden sunan dinamik server uygulaması.
📋 Özellikler
Dinamik API çağrıları - SpaceX API'den canlı veri çeker
MCP Protocol desteği - STDIO üzerinden MCP protokolü
Çoklu tool desteği - En son fırlatma, yaklaşan fırlatmalar ve şirket bilgileri
Standart MCP mimarisi - Modern MCP server implementasyonu
🚀 Kurulum
Repoyu klonlayın:
git clone https://github.com/rftsngl/SpaceX-mcp.git
cd SpaceX-mcpSanal ortam oluşturun ve aktifleştirin:
python -m venv venv
# Windows
venv\Scripts\activate
# Linux/Mac
source venv/bin/activateBağımlılıkları yükleyin:
pip install -r requirements.txt📖 Kullanım
Lokal çalıştırma
python server.pyDocker ile çalıştırma
docker build -t spacex-mcp .
docker run spacex-mcpSmithery ile deployment
smithery deploy🛠️ Mevcut Tools
get_latest_launch - En son SpaceX fırlatma bilgilerini alır
get_upcoming_launches - Yaklaşan fırlatmaları listeler (limit parametresi ile)
get_company_info - SpaceX şirket bilgilerini getirir
📁 Proje Yapısı
spacex-mcp/
├── app.py # Ana uygulama logic'i ve SpaceX API sınıfı
├── server.py # MCP server implementasyonu (STDIO)
├── requirements.txt # Python bağımlılıkları
├── Dockerfile # Konteyner konfigürasyonu
├── smithery.yaml # Smithery deployment konfigürasyonu
└── README.md # Bu dosya🔧 Gereksinimler
Python 3.9+
requests
Internet bağlantısı (SpaceX API için)
📝 MCP Protocol
Bu server MCP (Model Context Protocol) STDIO implementasyonu kullanır:
Input: JSONRPC 2.0 formatında stdin
Output: JSONRPC 2.0 formatında stdout
Tools: SpaceX API endpoint'leri
📄 Lisans
Bu proje MIT lisansı altında lisanslanmıştır.