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