SkyFi MCP Server
Enables AI agents to search, price, order, and monitor satellite imagery from the SkyFi platform through conversational tool calls.
README
SkyFi MCP Server
Official Model Context Protocol server for the SkyFi satellite imagery platform. Enables any AI agent to search, price, order, and monitor satellite imagery through conversational tool calls.
Quick Start (< 10 minutes)
1. Install
npm install skyfi-mcp@0.1.0
2. Configure
Create ~/.skyfi/config.json:
{ "api_key": "sk_your_skyfi_api_key" }
Or set the environment variable:
export SKYFI_API_KEY=sk_your_key
3. Run (Local STDIO)
npx skyfi-mcp
4. Connect
Claude Code / Claude Desktop:
{
"mcpServers": {
"skyfi": {
"command": "npx",
"args": ["skyfi-mcp"],
"env": { "SKYFI_API_KEY": "sk_your_key" }
}
}
}
Claude.ai (remote MCP — no install needed):
- Open Claude.ai → Settings → Integrations → Add MCP Server
- Enter the server URL:
https://skyfi-mcp.skyfi-xian.workers.dev/mcp - Add your SkyFi API key as a custom header:
X-SkyFi-API-Key: sk_your_key - Save — Claude will automatically exchange your key for a session token
Remote (any framework):
# First request: send your API key to get a session token
POST https://skyfi-mcp.skyfi-xian.workers.dev/mcp
Header: X-SkyFi-API-Key: sk_your_key
→ Response includes X-MCP-Token header
# All subsequent requests: use the session token
POST https://skyfi-mcp.skyfi-xian.workers.dev/mcp
Header: X-MCP-Token: mcp_sess_<your_token>
Your raw API key is only sent once. The session token has a 4-hour idle TTL (extends on each request) and 7-day max lifetime.
Standout Differentiators
- Reliability scorecard: generated operational snapshot at
mcp-docs/STATUS.md(npm run status:refresh) - Golden demo workflow: maritime monitoring showcase at
mcp-docs/GOLDEN_DEMO_MARITIME.md - Cost intelligence tool:
recommend_archive_purchaseranks options by price/quality strategy with budget filtering
Authentication
Token Exchange (Remote)
The remote server uses a token exchange model to protect your SkyFi API key:
- Initialize — Send
X-SkyFi-API-Keyon your first request. The server validates it and returns anX-MCP-Tokensession token. - Use — All subsequent requests use
X-MCP-Token. Your raw API key never appears in agent traffic again. - Expire — Session tokens expire after 4 hours idle or 7 days max. Re-send your API key to get a new one.
Service Tokens (Pipelines)
For automated pipelines that run unattended, create a long-lived service token:
# Call the create_service_token tool with an active session
→ Returns: mcp_svc_<token> (90-day lifetime, no idle expiry)
Service tokens support optional scopes (restrict which tools can be called) and budget caps (server-side spend limits).
Local (STDIO)
Local mode reads your API key from ~/.skyfi/config.json or SKYFI_API_KEY env var at startup. No token exchange needed.
Tools (19)
| Category | Tools |
|---|---|
| Geocoding | geocode, reverse_geocode, get_bounding_box |
| Discovery | search_archive, explore_open_data |
| Pricing | estimate_archive_price, estimate_tasking_cost, check_capture_feasibility |
| Cost Intelligence | recommend_archive_purchase |
| Ordering | quote_archive_order, execute_archive_order, quote_tasking_order, execute_tasking_order |
| History | get_order_status, list_orders, fetch_order_image |
| Monitoring | setup_aoi_monitoring, create_webhook_subscription, get_notification_status |
Order Safety
Orders use a two-step confirmation flow enforced server-side:
- Quote → returns price and
quote_id(valid 15 min) - Execute → requires
quote_id+user_confirmed: true+idempotency_key
The execute_* tools cannot be called without all three fields. This is enforced at the schema level and cannot be bypassed by prompt injection.
Security
- API key protection — Raw key sent once, exchanged for scoped token. Key encrypted at rest (AES-256-GCM) with derived keys (HKDF).
- Key hashing — Usage metrics use HMAC-SHA-256 with a separate derived key. Not reversible without the server secret.
- Per-request isolation — Each request creates an independent SkyFi client. No shared mutable auth state. One tenant's credentials cannot leak to another.
- Rate limiting — Per-key: 100 calls/min, 20/10s burst. Daily caps: 10 orders, $10K spend.
- Service token scoping — Optional tool restrictions and budget caps, enforced server-side.
- Prompt injection defense — All inputs treated as data. String length caps (500 chars). Control character stripping. Order confirmation enforced server-side, not in prompts.
Framework Support
| Framework | Transport | Guide |
|---|---|---|
| Google ADK | STDIO / HTTP+SSE | docs/integrations/google-adk.md |
| LangChain / LangGraph | STDIO / HTTP+SSE | docs/integrations/langchain.md |
| Vercel AI SDK | HTTP+SSE | docs/integrations/vercel-ai-sdk.md |
| Claude Web | HTTP+SSE | docs/integrations/claude-web.md |
| OpenAI | HTTP+SSE | docs/integrations/openai.md |
| Claude Code | STDIO / HTTP+SSE | docs/integrations/claude-code.md |
| Gemini | HTTP+SSE | docs/integrations/gemini.md |
Compatibility matrix and transport expectations: docs/integrations/COMPATIBILITY.md
Simulation Mode
Test the full order flow without placing real orders:
SKYFI_SIMULATE=true npx skyfi-mcp
Or per-request: pass "simulate": true in quote/execute tool calls.
Deployment
Cloudflare Workers (live):
https://skyfi-mcp.skyfi-xian.workers.dev/mcp
Self-deploy:
npx wrangler deploy
Docker:
docker compose up
Development
npm install
npm run build # Build with tsup
npm test # Run test suite
npm run typecheck # TypeScript check
npm run lint # ESLint
License
MIT
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。