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)
Full-text search the Medius docs. Returns ranked pages with a snippet; follow up with get_page 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 documentation and return matching pages. Use the returned id with the fetch tool to read a 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)
Fetch the full Markdown of one documentation page by its id (the id returned by search).
輸入結構描述
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The page id returned by search (its path)."
}
},
"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社群
證據