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"
]
}社群
證據