RoxyAPI Docs MCP Server (keyless, for coding agents)
Keyless docs search so coding agents wire up RoxyAPI: every endpoint, param and SDK call.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"docs": {
"url": "https://roxyapi.com/mcp/docs"
}
}
}远程端点
https://roxyapi.com/mcp/docsstreamable-http它能做什么
工具清单
工具(1)
🟢search_docs(query, limit, compact)
Search the RoxyAPI knowledge base and get back ranked documentation snippets, each with a source URL. It covers API endpoints with their request and response fields, SDK usage for TypeScript, Python, PHP, C#, and Go, the WordPress plugin, authentication and API keys, UI components, and step by step integration guides. Call this first whenever you need to integrate RoxyAPI into an app: to find which endpoint or SDK method to use, what parameters a call takes, how to authenticate, or how to wire a feature end to end. Pass the user question verbatim as `query`. If the first results miss, rephrase once and retry.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "User question or keywords. Free text. The whole question works better than guessed keywords."
},
"limit": {
"type": "number",
"description": "Max hits to return. Default 10, capped at 25.",
"minimum": 1,
"maximum": 25
},
"compact": {
"type": "boolean",
"description": "Set true for the same data in a compact shape: arrays of same-shaped objects arrive columnar as {\"__cols\":[names],\"__rows\":[[values]]}. Lossless, typically 40 to 52 percent fewer tokens.",
"default": false
}
},
"required": [
"query"
],
"examples": [
{
"query": "how do I authenticate an API request"
}
]
}输出模式
{
"type": "object",
"properties": {
"hits": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"url": {
"type": "string"
},
"snippet": {
"type": "string"
},
"source_type": {
"type": "string",
"enum": [
"guide",
"agents",
"template",
"openapi",
"component"
]
},
"rank": {
"type": "number"
}
},
"required": [
"title",
"url",
"snippet",
"source_type",
"rank"
]
}
}
},
"required": [
"hits"
]
}社区
证据