Medius Docs
Medius docs: the binary control protocol, device behavior, and the medius Rust library.
我該用這個嗎
品質與安全性
發現項目(1)
- LOW在 get_page 中
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"docs": {
"url": "https://medius.k4tech.net/mcp"
}
}
}遠端端點
https://medius.k4tech.net/mcpstreamable-http它能做什麼
工具清單
工具(5)
🟢list_pages
List every Medius documentation page (path, title, section). Start here to see what the docs cover.
輸入結構描述
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢get_page(path)
Return the full Markdown of one documentation page by its path, e.g. "/library/clip" or "/native/commands/inject".
輸入結構描述
{
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "Page path, with or without a leading slash or .md suffix."
}
},
"required": [
"path"
],
"additionalProperties": false
}🟢search_docs(query, limit)
Search the Medius site: docs and Guide pages and sections, the dashboard, firmware releases and device reports. Returns ranked results, each with its matching sentence. Call get_page on a result's path for the full Markdown.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search terms."
},
"limit": {
"type": "number",
"description": "Maximum results (default 10, max 50)."
}
},
"required": [
"query"
],
"additionalProperties": false
}🟢search(query)
Search the Medius docs for matching pages and sections. Pass a result's id to fetch to read its page.
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search terms."
}
},
"required": [
"query"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"text": {
"type": "string"
}
},
"required": [
"id",
"title",
"url",
"text"
]
}
}
},
"required": [
"results"
]
}🟢fetch(id)
Return the full Markdown of one docs page, by an id from search (a section's id returns its page).
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "An id returned by search (an address on the site)."
}
},
"required": [
"id"
],
"additionalProperties": false
}輸出結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"text": {
"type": "string"
},
"url": {
"type": "string"
},
"metadata": {
"type": "object"
}
},
"required": [
"id",
"title",
"text",
"url"
]
}建議的提示詞
search_docssearch_docsget_pageget_pagelist_pages社群
證據