SkyFi MCP Server
SkyFi Model Context Protocol (MCP) server for AI agent integration with geospatial data services.
Overview
SkyFi MCP enables AI agents to seamlessly interact with SkyFi's geospatial data services through a comprehensive RESTful API with Server-Sent Events (SSE) support. The server provides:
Order Management: Create, track, and manage geospatial data orders
Data Search: Iterative search and exploration of geospatial data catalogs
Pricing & Feasibility: Check order feasibility and get pricing estimates
Monitoring: Set up Area of Interest (AOI) monitoring with webhook notifications
Framework Integration: Native support for ADK, LangChain, and AI SDK
Quick Start
Prerequisites
Node.js >= 18.0.0
Docker and Docker Compose
PostgreSQL 15+ (or use Docker Compose)
Redis 7+ (or use Docker Compose)
Installation
Clone the repository:
Install dependencies:
Copy environment file:
Update
.envwith your configuration:Set
SKYFI_API_KEYwith your SkyFi API keyConfigure database and Redis URLs
Set security keys (JWT_SECRET, API_KEY_ENCRYPTION_KEY)
Start services with Docker Compose:
Run database migrations (when available):
Start the development server:
The server will be available at http://localhost:3000
Development
Scripts
npm run dev- Start development server with hot reloadnpm run build- Build TypeScript to JavaScriptnpm start- Start production servernpm test- Run testsnpm run test:watch- Run tests in watch modenpm run test:coverage- Generate test coverage reportnpm run lint- Run ESLintnpm run lint:fix- Fix ESLint errorsnpm run format- Format code with Prettiernpm run type-check- Type check without building
Project Structure
API Documentation
API documentation is available at /docs/api when the server is running.
Base URL
Development:
http://localhost:3000/v1Production:
https://api.skyfi-mcp.com/v1
Authentication
All API requests require an API key in the Authorization header:
Example Request
Testing
Run the test suite:
Run tests with coverage:
Docker
Build Image
Run Container
Docker Compose
Start all services:
Stop all services:
View logs:
Environment Variables
See .env.example for all available environment variables.
Key variables:
SKYFI_API_KEY- Your SkyFi API key (required)DATABASE_URL- PostgreSQL connection stringREDIS_URL- Redis connection stringJWT_SECRET- Secret for JWT tokensAPI_KEY_ENCRYPTION_KEY- Key for encrypting API keys
Framework Integration
ADK
See docs/integration/adk.md for ADK integration guide.
LangChain
See docs/integration/langchain.md for LangChain integration guide.
AI SDK
See docs/integration/ai-sdk.md for AI SDK integration guide.
Contributing
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'Add amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request
License
MIT License - see LICENSE file for details
Support
For support, please open an issue in the repository or contact support@skyfi.com
Status
🚧 In Development - This project is currently in active development. See the PRD and Architecture Documentation for more details.
Version: 1.0.0
Last Updated: January 2025
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Enables AI agents to interact with SkyFi's geospatial data services for ordering satellite imagery, searching data catalogs, checking pricing and feasibility, and monitoring areas of interest.