DeviceLink
Read and search folders on your own computer with explicit consent. Files are never uploaded.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"dlink": {
"url": "https://mcp.devicelink.ai/mcp"
}
}
}遠端端點
https://mcp.devicelink.ai/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢health
Simple health check — returns server status.
輸入結構描述
{
"type": "object",
"properties": {}
}🟢discover(workspace_id, device_id, directory_id, devices, directories, ...)
Discover workspaces, devices, shared folders, and available tools in one call. Call this first to understand what is available before invoking device_tool_call. Automatically selects workspace, device, or folder when only one option exists; returns a list of choices when disambiguation is needed.
輸入結構描述
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"minLength": 1
},
"device_id": {
"type": "string",
"minLength": 1
},
"directory_id": {
"type": "string",
"minLength": 1
},
"devices": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"basic",
"stat"
],
"default": "basic"
}
},
"additionalProperties": false
},
"directories": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"basic"
],
"default": "basic"
},
"preview_limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 20
}
},
"additionalProperties": false
},
"tools": {
"type": "object",
"properties": {
"mode": {
"type": "string",
"enum": [
"basic",
"digest",
"full"
],
"default": "basic"
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴device_tool_call(tool, args, workspace_id, device_id, directory_id, ...)
Execute a tool on a connected device. Use discover first to find available tool names, device IDs, and workspace IDs. When workspace_id, device_id, or directory_id are omitted, the server uses the unambiguous default if one exists.
輸入結構描述
{
"type": "object",
"properties": {
"tool": {
"type": "string",
"minLength": 1
},
"args": {
"type": "object",
"additionalProperties": {}
},
"workspace_id": {
"type": "string",
"minLength": 1
},
"device_id": {
"type": "string",
"minLength": 1
},
"directory_id": {
"type": "string",
"minLength": 1
},
"request_id": {
"type": "string",
"minLength": 1
}
},
"required": [
"tool"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢device_ping(workspace_id, device_id, echo)
Check that a device is reachable and how long a round trip takes. Reads no files, needs no shared folder and consumes no credit, so it is the safe way to prove a device is live.
輸入結構描述
{
"type": "object",
"properties": {
"workspace_id": {
"type": "string",
"minLength": 1
},
"device_id": {
"type": "string",
"minLength": 1
},
"echo": {
"type": "string",
"maxLength": 64
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據