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社区
证据