Safie API MCP Server
OfficialClick 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., "@Safie API MCP Servershow me the list of my Safie devices"
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.
Safie API MCP Server
Safie APIを利用してデバイスの情報取得や操作を行うためのMCP (Model Context Protocol) サーバ
本実装はプレビュー版であり一部の機能のみを試験的に提供しています。 サポート対象外となりますのでご了承の上、お使いください。
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": "******"
}
}
}
}This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/SafiePublic/safie-api-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server