Safie API MCP Server
Enables to retrieve device information, images, media, location, thumbnails, and events from the Safie API through MCP.
README
Safie API MCP Server
Safie APIを利用してデバイスの情報取得や操作を行うためのMCP (Model Context Protocol) サーバ
[!NOTE] 本実装はプレビュー版であり一部の機能のみを試験的に提供しています。 サポート対象外となりますのでご了承の上、お使いください。
Requirements
- Python 3.10+, uv or docker
Features
Tools
- list_devices
- デバイス一覧を取得します
- get_device_image
- 指定されたデバイスから画像を取得します
- list_device_media
- 指定されたデバイスで録画されている映像(メディア)の一覧を取得します
- get_device_location
- 指定されたデバイスの現在のGPS位置情報を取得します
- get_device_thumbnail
- 指定されたデバイスの最新サムネイルを取得します
- list_device_standard_events
- 指定されたデバイスの標準イベント情報一覧を取得します
Configuration
以下の環境変数のどちらかが設定されている必要があります
ACCESS_TOKEN: Safie Developers OAuth2認証アプリケーションで発行したOAuth2アクセストークンAPI_KEY: Safie Developers APIキー認証アプリケーションで発行したAPIキー
両方指定した場合、ACCESS_TOKEN が利用されます
Usage
With Claude Desktop
Using python/uv
Python 3.10+, uvが手元にインストールされている場合は以下の設定を追加することで利用できます
{
"mcpServers": {
"Safie API": {
"command": "uv",
"args": [
"run",
"--with",
"git+https://git@github.com/SafiePublic/safie-api-mcp-server.git",
"safie-api-mcp-server"
],
"env": {
"ACCESS_TOKEN": "******"
}
}
}
}
Using docker
Dockerを用いて利用する場合は、まず以下のようにイメージをビルドします
$ docker build -t safie-api-mcp-server .
その後、以下の設定を追加することで利用できます
{
"mcpServers": {
"Safie API": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"ACCESS_TOKEN",
"-e",
"API_KEY",
"safie-api-mcp-server"
],
"env": {
"ACCESS_TOKEN": "******"
}
}
}
}
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
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.