mcpField
S
Safie API MCP Server

Safie API MCP Server

Local
github.com/SafiePublicDeveloper Tools7Updated 6w ago

About Safie API MCP Server

Safie API MCP Server exposes Safie camera device data and media operations to AI agents. Its tools retrieve device lists, images, recordings, locations, thumbnails, and standard events; the implementation is currently a preview.

Key features

  1. 01List camera devices
  2. 02Retrieve images and thumbnails
  3. 03List recorded media
  4. 04Query GPS locations
  5. 05Read standard events

Use cases

  1. 01Review connected Safie devices
  2. 02Retrieve a camera image or latest thumbnail
  3. 03Check recordings and device location
  4. 04Inspect standard device events

MCP support

As an MCP server, it provides MCP clients with tools for querying Safie devices and media. It requires a Safie OAuth2 access token or API key.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"safie-api": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"build"
]
}
}
}
Run commanddocker run -i --rm build

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
ocibuild

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project 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://[email protected]/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": "******"
      }
    }
  }
}

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.