jiocloud_client
非公式 Jio AI Cloud Python SDK、CLI & AIエージェントツール
非公式プロジェクト。 Reliance Jio Infocomm Ltd. またはその子会社とは、提携、関連、承認、またはいかなる形でも公式に関連していません。「Jio」/「Jio AI Cloud」はそれぞれの所有者の商標であり、ここでは参照目的でのみ使用されています。
不安定なターゲット — 最終確認: 2026-08-25(26/26チェック合格)。 Jio AI Cloud には公開APIがありません。エンドポイントは予告なく変更され、いつでも壊れる可能性があります。2026-08-25 に本番環境で検証済み(26/26チェック)。機能はいつでも停止する可能性があります — 現在の状況は docs/KNOWN_ISSUES.md を確認してください。
Jio AI Cloud ストレージ向けの高性能・ゼロ依存の Python SDK、CLI、および AIエージェントツールサーバー — プロトコル知識は、所有者自身のアカウントのライブネットワークトラフィックからリバースエンジニアリングされました。個人データのポータビリティ、自分のアカウントのバックアップ、相互運用性、教育 のために厳密に構築されています — 使用前に docs/DISCLAIMER.md と docs/LEGAL.md を参照してください。
ドキュメントサイト: https://ns81000.github.io/jiocloud_client/
主な機能
領域 | 機能 |
カタログ化 | ストリーミング再帰ファイルウォーカー(2200+ファイルテスト済み)、ディレクトリ一覧(ファイル/フォルダ)、名前とバックアップソースパスにわたる全文検索 |
ダウンロード | チャンク分割アトミックダウンロード(進行状況コールバック付き)、サーバーハッシュに対するMD5検証、スキップ既存付きマルチスレッド一括同期 |
管理 | フォルダ作成、名前変更、移動、お気に入り/お気に入り解除、ゴミ箱、復元、バージョン履歴 |
共有 | 1つまたは複数のオブジェクト用の公開ユニバーサルリンク( |
ボード/アルバム | 一覧、作成、メンバー検査、ボード詳細取得、ボード退出 |
アカウント | プロフィール、クォータ内訳(ドキュメント/写真/動画/音声)、デバイス、プロモーション、アプリ設定 |
フィード | 最近のアクティビティフィード、スポットライト、自分が共有したもの、DigiLocker連携アプリオブジェクト、手動タグ |
AIエージェント | 16ツールJSONスキーマ(OpenAI/Anthropic function-calling互換)、厳密なJSONエンベロープディスパッチャー、破壊的操作確認ガード、MCPスタイルstdioサーバー |
堅牢性 | 429/5xx/ネットワーク障害時の指数バックオフ付きリトライ、型付き例外分類、バッチ |
依存関係 | なし — 純粋なPython 3.8+標準ライブラリ |
実装されたすべてのエンドポイントは本番環境に対してテスト済みです。途中で発見されたサーバーの癖については docs/KNOWN_ISSUES.md を、再現可能な26チェック検証マトリックス(2026-08-25時点ですべて合格)については tests/live_verify.py を参照してください。
Related MCP server: MCP Filesystem Server
サービスアーキテクチャ
graph TD
Client[Python SDK / CLI / Agent] -->|Auth, profile, quota| API[api.jioaicloud.com]
Client -->|Metadata, folders, trash, share| JAWS[jaws-api.jioaicloud.com]
Client -->|Direct binary streaming| CDN[jaws-dl.jioaicloud.com]
Client -->|Shared albums & boards| Boards[boards.jioaicloud.com]
Client -->|Address book| Contacts[jaws-contacts.jioaicloud.com]
Client -->|Promo banners| Msg[jaws-msg.jioaicloud.com]ディレクトリ構造
jiocloud_client/
├── README.md # This file
├── LICENSE # MIT + trademark/non-affiliation notice
├── CHANGELOG.md # Release history with verification stamps
├── CONTRIBUTING.md # Broken-endpoint reports, capture-based fixes
├── cli.py # Command-line interface (20 commands)
├── config.example.json # Credential template (placeholders only)
├── mkdocs.yml # Documentation site config (GitHub Pages)
├── llms.txt / llms-full.txt # LLM-oriented documentation indexes
├── jiocloud/ # Core SDK package
│ ├── client.py # JioCloudClient — 30+ methods, retry engine
│ ├── auth.py # JioCloudAuth — header construction
│ ├── agent_tools.py # AI-agent schema, bridge, MCP stdio loop
│ ├── models.py # Typed dataclasses
│ └── exceptions.py # Typed error taxonomy
├── docs/ # Also rendered at ns81000.github.io/jiocloud_client
│ ├── API_REFERENCE.md # Every verified endpoint + payloads
│ ├── AUTHENTICATION.md # Headers, token extraction, safety
│ ├── GET_CREDENTIALS.md # Credential walkthrough (console one-paste)
│ ├── DATA_MODELS.md # JSON schemas
│ ├── ERROR_CODES.md # Server error codes seen in production
│ ├── KNOWN_ISSUES.md # Verified server behaviors & gaps (contribute!)
│ ├── DISCLAIMER.md # Full legal disclaimers
│ └── LEGAL.md # Compliance summary
├── ai/ # AI integration assets
│ ├── skills/jio-cloud-manager/SKILL.md
│ ├── tools/openai-function-schema.json
│ ├── tools/anthropic-tools.json
│ ├── prompts/system-prompt.txt
│ └── examples/agent-conversation.md
├── examples/ # 01_quickstart ... 08_inventory_export (+ setup_credentials.py)
└── tests/
├── test_models.py # Offline unit tests
├── test_client.py # Live integration tests
└── live_verify.py # 26-check live verification matrixクイックスタート
1. 設定
最も簡単な方法: ブラウザのネットワークタブから1つのリクエストをcURLとしてコピーし(フィルター: domain:api.jioaicloud.com security/users -method:OPTIONS)、次を実行します:
python examples/setup_credentials.py --from-curlクリップボードからcURLを読み取り、セッションをライブで検証し、config.json を書き込みます。完全なウォークスルー(ブラウザコンソールワンペースト抽出器を含む): docs/GET_CREDENTIALS.md。
手動の代替: config.example.json を config.json にコピーし、自分のセッション資格情報を入力します:
{
"auth_token": "Basic YOUR_BASE64_SESSION_TOKEN_HERE",
"user_id": "YOUR_32_CHAR_USER_ID_HEX",
"device_key": "YOUR_DEVICE_KEY_UUID",
"api_key": "c153b48e-d8a1-48a0-a40d-293f1dc5be0e",
"app_secret": "ODc0MDE2M2EtNGY0MC00YmU2LTgwZDUtYjNlZjIxZGRkZjlj",
"client_details": "clientType:WEB; appVersion:86.0.1",
"device_type": "W",
"accept_language": "en-US,en;q=0.9"
}
api_key/app_secretは公開されたWebアプリ定数であり、秘密ではありません。config.jsonをコミットまたは共有しないでください。環境変数 (JIOCLOUD_AUTH_TOKEN、JIOCLOUD_USER_ID、JIOCLOUD_DEVICE_KEY)も使用できます。
2. Python SDK
from jiocloud import JioCloudClient, format_bytes
client = JioCloudClient.from_config("config.json")
profile = client.get_user_profile()
q = profile.quota
print(f"{profile.name}: {q.total_used_gb:.1f}/{q.total_allocated_gb:.0f} GB")
# Stream every file in the account
for f in client.stream_all_files():
print(f.object_name, f.human_size)
# Search everywhere, then download matches
for hit in client.search_files("invoice", filter_extension="pdf")[:5]:
client.download_file(hit.object_key, f"./{hit.object_name}")3. CLI
python cli.py info # account overview + usage bar
python cli.py list --limit 20 # list root files
python cli.py tree # recursive tree view
python cli.py search resume --ext pdf
python cli.py download <key> -d ./out/
python cli.py sync --dest ./backup --workers 6
python cli.py mkdir Reports
python cli.py rename <key> "new name.pdf"
python cli.py move <key> <folder-key>
python cli.py favorite <key>
python cli.py share <key> # public link
python cli.py versions <key> # version history
python cli.py recent # recent activity feed
python cli.py boards list|create|members
python cli.py contacts # address book summary
python cli.py promotions # storage promos
python cli.py trash <key> / restore <key> / trash-list4. AIエージェント統合
# Dump the 16-tool JSON schema into any LLM's tools parameter
python cli.py agent schema
# One-shot structured call (strict JSON envelope)
python cli.py agent call '{"tool":"search_files","arguments":{"query":"tax","extension":"pdf"}}'
# MCP-style stdio server loop for agent hosts
python cli.py agent serveエンベロープ契約:
// request
{"tool": "<name>", "arguments": {...}}
// response — success
{"ok": true, "result": ...}
// response — failure (never a raw traceback)
{"ok": false, "error": {"type": "...", "message": "..."}}
// destructive tools (download_file, download_all, move_to_trash,
// restore_from_trash, share_link) REQUIRE arguments.confirm === trueexamples/06_agent_integration.py と ai/examples/agent-conversation.md を参照してください。
5. AIアセットのインストール
アシスタントがこのSDKを操作するために必要なものはすべて ai/ に事前構築されています:
アセット | インストール先 |
Claude(スキル/プロジェクト知識として)、またはマークダウン指示ドキュメントを受け入れる任意のアシスタント | |
ChatGPT / OpenAI互換ホスト: APIリクエストで | |
Claude API: | |
任意のLLM: ツールスキーマと一緒にシステムプロンプトとして貼り付けます | |
URLからコンテキストを取得する任意のエージェント — 完全なドキュメントを1つのファイルに |
ローカルエージェントの場合、SDKをツールサーバーとして公開します:
python cli.py agent serve次に、MCPスタイルのホストを配線して、呼び出しごとに1つのJSON行を送信します:
{"tool": "...", "arguments": {...}} そして厳密なJSONエンベロープを1つ読み戻します。
検証
# Offline unit tests
python -m unittest discover -s tests
# FULL live matrix against production (requires config.json).
# Exercises every read endpoint plus a complete create→rename→favorite→
# trash→restore→trash cycle and a real small-file download.
python tests/live_verify.py最新の実行: 26/26合格(本番環境、2026-08-25)。
ドキュメント
サイト: https://ns81000.github.io/jiocloud_client/
資格情報の取得 — セッション値の抽出と検証
認証 — ヘッダー契約と資格情報の安全性
APIリファレンス — エンドポイント、パラメータ、ペイロード、レスポンス形状
データモデル — エンティティスキーマ
エラーコード — 本番エラー分類と処理
既知の問題 — サーバーの癖、ギャップ、修正の貢献方法
llms.txt / llms-full.txt — AIエージェント用
法的情報
LICENSE — MIT + 商標/非提携通知
DISCLAIMER.md — AS-IS保証、責任制限、個人バックアップ条項、プライバシー通知
LEGAL.md — コンプライアンス概要と削除依頼連絡先
概要: 独立した非公式ツール · 個人データのポータビリティと教育のみ · 保証なし · 自分のアカウントに関するJioの規約の遵守は自己責任 · 資格情報は公式の *.jioaicloud.com エンドポイントへのTLS接続以外ではマシンから送信されません · テレメトリなし。
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent file storage for AI agents via MCP and curl. Upload, download, and version files.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Related MCP Servers
- AlicenseAqualityAmaintenanceFilesystem MCP server for AI assistants. Search, read, edit, and manage local files in directories you choose.6141,895 npm32MIT
- AlicenseNot gradedqualityDmaintenanceProvides file system operations (list, read, write, search) via MCP, enabling an AI agent to manage files through natural language.1,834 npmMIT
- AlicenseNot gradedqualityDmaintenanceA lightweight, stdio-based MCP server enabling AI assistants to perform local file system operations like reading, writing, searching, and executing commands.6,734 npmMIT
- AlicenseNot gradedqualityDmaintenanceStdio MCP server for sandboxed file access — read files, search content, safely edit with checksums, and manage file structure.106 npmISC